Access on a Network - Cannot open file - Opened exclusively by an.

J

JSG@C4

Access 2002 & 2003 database on a network of 20 users. Tables are on one
machine acting as a server. Database on each user machine with linked tables
to the server. Sometimes a user when opening database gets the following
message. "The Microsoft Jet database engine cannot open the file "\\ path &
file name for linked tables" It is already opened exclusively by another
user, or you need permission to view it's data". On some occasions an
additional footnote says that access is denied because the maximum number of
users allowed has been reached.
Is there a limit to the number of users accessing a database in this
configuration??
How can this problem be solved??
 
T

Tony Toews

JSG@C4 said:
Access 2002 & 2003 database on a network of 20 users. Tables are on one
machine acting as a server. Database on each user machine with linked tables
to the server. Sometimes a user when opening database gets the following
message. "The Microsoft Jet database engine cannot open the file "\\ path &
file name for linked tables" It is already opened exclusively by another
user, or you need permission to view it's data".

This could be a permissions problem.

This is probably a permissions problem on the directory in which the
backend is installed. The users must have create/delete privileges
to that directory. What is happening is that Access can't create the
..ldb file which allows multiple users to update the MDB. So Access
only allows one user at a time.

One simple way of testing this is to ensure the users can create and
delete a file in the network share. Any file, even using notepad, is
enough to test this. I simply don't trust all those permissions screen
within the OS. You never quite know whats lurking behind the advanced
button. So test this yourself.

Sometimes it could only be one user who does not have create
privileges to cause problems who just happens to be the first user
into the MDB at that moment in time. Then all the other Access users
can't access the file because the first user is in exclusively.

"I found that I could keep the permissions set to Change, but had to
ensure that the directory in which the db resides was set to not
inherit permissions from it's parent. It seemed that every time a new
user logged onto a given machine, it got messed up."

See ACC: Determining Which User Has Opened Database Exclusively
(Q169648)
http://support.microsoft.com/default.aspx?scid=kb;en-us;Q169648
Essentially you must use tools on the server to determine who has
locked the file.

For MS info see ACC: Introduction to .ldb Files (95/97) [Q136128]. Or
the version appropriate for your version of Access.
On some occasions an
additional footnote says that access is denied because the maximum number of
users allowed has been reached.
Is there a limit to the number of users accessing a database in this
configuration??

The additional footnote sounds like you're hitting the maximum of ten
connections allowed on a Windows non server OS. Thus you need to
consider installing a server OS such as Windows 2003 Server.

Tony
--
Tony Toews, Microsoft Access MVP
Please respond only in the newsgroups so that others can
read the entire thread of messages.
Microsoft Access Links, Hints, Tips & Accounting Systems at
http://www.granite.ab.ca/accsmstr.htm
 
Top