ERROR
When using UNC pathnames to access data in a personal geodatabase opened by another user or application, the following error message may be encountered:
"Failed to connect to database."
"Cannot acquire a schema lock because of an existing lock."
"Could not use <filename>; file already in use."
Trying to open the MDB file through a UNC path in Microsoft Access raises a similar error:
"Could not lock file. (Error 3050)"
This error may occur due to any number of actions or workflows in ArcGIS; all of which involve opening the personal geodatabase when the following conditions are met:
- The personal geodatabase is already open.
- A UNC path is used to access the data in the personal geodatabase during the connection that is raising the error.
- The correct Sharing privileges are not granted on the folder containing the personal geodatabase.
When these three conditions are met, the operating system does not allow the Microsoft Jet Engine to create an .ldb file to lock the MDB file for access, which causes the error to be raised.
Get help from ArcGIS experts
Download the Esri Support App