Article ID: 306441 - View products that this article applies to.
This article was previously published under Q306441
When you use ActiveX Data Objects (ADO) and ODBC to try to connect to a Microsoft Access database, you may receive the following error message:
Microsoft OLE DB Provider for ODBC Drivers error '80004005'
[Microsoft][ODBC Microsoft Access 97 Driver] Couldn't lock file.
This error message occurs because you do not have the correct permissions to create the lock file (.ldb) for a Microsoft Access database. By default, a lock file is created in the same folder as the Microsoft Access .mdb file.
To resolve this problem, follow these steps:
For additional information, click the article numbers below to view the articles in the Microsoft Knowledge Base:
(http://support.microsoft.com/kb/174943/EN-US/ )PRB: 80004005 "Couldn't Use '(unknown)'; File Already in Use"
Article ID: 306441 - Last Review: August 11, 2006 - Revision: 4.1
Contact us for more help
Connect with Answer Desk for expert help.