I'm trying to convert one of my Models over to run through a File Geodatabase, however i keep getting schema locks on classes/objects that i'm trying to write over.
The LOCK files are present in the folder & when i try to compress/uncompress the FGDB, i get the following error message:
Saving of data file to File GDB has failed (Unspecified error; (code 80004005)
File: .\sources\GpSdcCompressFGDBDataFunction.cpp, line: 320)
File: .\sources\GpSdcCompressFGDBDataFunction.cpp, line: 325
Cannot acquire a schema lock because of an existing lock.
Failed to execute (CompressFileGeodatabaseData_2).
I cannot get these files to delete, be it manually or through ArcCatalog. I've tried:
- Deleting the feature class
- Renaming/Deleting the entire geodatabase
and all seem to be locked up. Is there any way to get this silly thing unlocked?
I'm pretty new to the File Geodatabase thing & have been setting up some of my processes in here to help manage overall filesize on nightly processes (.mdb files tend to get big over time), however these problems are convincing me to go back (leave well enough alone - you know?).
Thanks for any suggestions