A family of Microsoft relational database management systems designed for ease of use.
Hi @Wright Kenia
Thank you for reaching out to the Microsoft Q&A Forum and sharing your issue.
Based on my research, this error usually indicates that Access believes the database is already in use or has been left in a locked state, even though it is stored locally. This can happen if a lock file remains, or if the database was not closed properly.
Here are some steps you can try:
1.Close Access completely
-Make sure all Access windows are closed.
-Open Task Manager and check whether MSACCESS.EXE is still running.
-If it is, select it and choose End Task.
2.Delete the lock file (.laccdb)
-Go to the folder where the database is stored.
-Look for a file with the same name as your database but ending in .laccdb.
-Delete it, then try opening the database again.
3.Restart your computer
If you do not see MSACCESS.EXE running but the lock persists, restarting Windows can clear any remaining background sessions.
After rebooting, try deleting the lock file again and opening the database.
4.Compact and Repair the database
-Open Access > Database Tools > Compact and Repair Database
This can fix corruption or leftover locking issues.
5.Check if the form/query is causing the freeze
-Try opening the query directly in Datasheet View
-If it also freezes, the query may be too complex or referencing a missing table/link.
6.Test in a new blank database
-Import the affected form/query into a new database file
This helps confirm whether the issue is file-level corruption.
7.Ensure the database is not opened in Exclusive mode
File > Options > Client Settings > Advanced > Default Open Mode should normally be Shared
I hope this helps.
If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.