You receive a "You do not have exclusive access to the database at this time. If you proceed to make changes, you may not be able to save them later." error message when you try to open database objects in Access (839782)
The information in this article applies to:
- Microsoft Office Access 2003
- Microsoft Access 2002
- Microsoft Access 2000
Novice: Requires knowledge of the user interface on single-user computers.
This article applies only to a Microsoft Access database (.mdb).
SYMPTOMSWhen you open a Microsoft Access database object, such as a form, a report, a macro, or a module in Design view, you may receive the following error message: You do not have exclusive access to the database at this time. If you proceed to make changes, you may not be able to save them later. This error message occurs even if there is only one user in the database. CAUSEIf the database file and the workgroup information file have the same name and are located in the same folder, two record-locking information files (.ldb) are created when an Access object is opened. This causes the error message that is mentioned in the "Symptoms" section.
Note By default, the record-locking information file is created with the same file name as the workgroup information file. The record-locking information file is also created in the same folder as the workgroup information file. The record-locking information file has an .ldb file name extension.WORKAROUNDTo work around this problem, use one of the following methods: - Rename the database file to make sure that only one .ldb file is in the folder that contains the database file and the workgroup information file.
- Move the database file to another folder.
- Open the database exclusively.
REFERENCES
For additional information, click the following article numbers to view the articles in the Microsoft Knowledge Base:
225938
"You do not have exclusive access..." message appears more than once when editing module
200290 Exclusive lock required for saving design changes to Access objects
305541 Understanding the role of workgroup information files in Access security
Modification Type: | Minor | Last Reviewed: | 7/28/2006 |
---|
Keywords: | kbSecurity kbDatabase kberrmsg kbprb KB839782 kbAudDeveloper kbAudEndUser |
---|
|