Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Multi users on Access Databases

Status
Not open for further replies.

ysommer

Programmer
Feb 26, 2001
45
0
0
I built a asp.net application that uses an Access DB.
The application is suppose to work with a couple of users that insert and delete info from the DB. When the connection is open by a user to the DB and another is trying to connect to the DB, the computer throws a exception. How do I avoid that?
 
Hi ysommer,

Have you made sure that you are not openning the Access Database in exclusive mode and have you set record level locking? You do this from the Tools/Options menu within Access.

Geoff.
 
Access has known limitations with multi-user access. If you're running on a perfect network (zero dropped frames) and your program never crashes, you can do it. But otherwise you'll be rebuilding corrupt databases all the time.

You'd be better off with MSDE (which is a free download to all Visual Studio owners if it didn't already come in your box). It's the desktop edition of MS SQL Server, and it can handle 10 active connections at a time, which if you structure your application correctly (don't hold onto database connections) you can get 40 or 50 users on it.

Chip H.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top