Notice: This website is an unofficial Microsoft Knowledge Base (hereinafter KB) archive and is intended to provide a reliable access to deleted content from Microsoft KB. All KB articles are owned by Microsoft Corporation. Read full disclaimer for more details.

You receive a "File already in use" error message when you open a database on a server in Access 2000


View products that this article applies to.

Symptoms

When you try to open a database that is located on a server, you may receive the following error message:
Couldn't use <filename>; file already in use.

↑ Back to the top


Cause

If a user opens a database and doesn't have create rights for the folder in which the database is located, the Microsoft Jet database engine can't create the locking information file (*.ldb) that is necessary for multiple users to open the database. Therefore, a user who doesn't have create rights opens the database exclusively if a corresponding .ldb file does not already exist.

↑ Back to the top


Resolution

To prevent this behavior, you must make sure that all users who open the database have read, write, and create rights for the folder in which the database is located.

If you are using a security-enhanced Access database, you must make sure that the users who open the database also have Read permission and Write permission on the folder that contains the workgroup information (.mdw) file.

↑ Back to the top


More information

In order to open a database in shared mode, the Microsoft Jet database engine must be able to create a locking information file (*.ldb) in the same folder as the database itself.

For additional information about .ldb files, click the following article number to view the article in the Microsoft Knowledge Base:
208778 Introduction to .ldb files in Access 2000

↑ Back to the top


For additional information, click the following article number to view the article in the Microsoft Knowledge Base:
210178 Contents of the Readme file for Access 2000

↑ Back to the top


Keywords: KB202171, kb3rdparty, kbprb, kberrmsg

↑ Back to the top

Article Info
Article ID : 202171
Revision : 2
Created on : 7/28/2004
Published on : 7/28/2004
Exists online : False
Views : 264