0

I'm trying to delete a feature class from a personal geodatabase using ArcCatalog but the file is locked because it's opened exclusively by me. The process fails to get a schema lock. Well of course it is, I'm trying to edit the PGDB. How do you delete a feature class without opening the PGDB in ArcCatalog?

Edit: To make it clear, the PGDB is ONLY open in ArcCatalog. I even rebooted to make sure there was no residual locking.

enter image description here

  • 1
    Which type of geodatabase is it? personal, file, sde? if personal or file gdb is it on a network share? which ArcGIS version? – Rich Wawrzonek Jul 2 '15 at 18:29
  • Personal GDB on a network drive, ArcGIS 10.3.1 – KMWPJPL Jul 2 '15 at 18:47
  • 2
    File and personal geodatabases aren't really meant to be operated on over a network, and people have had a host of locking issues when doing so. It could be an Arc process and some sort of time delay lag introduced because of the network, or it could be a completely unrelated process such as a virus scanner. After reboot, before starting Arc anything, check the network folder for a lock file and delete if present - they don't always go away like they should. Failing that either introduce delay between steps (such as waiting for preview regen), or copy the mdb locally, edit, and copy back. – Chris W Jul 2 '15 at 19:13
  • Two related questions: gis.stackexchange.com/questions/109502 and gis.stackexchange.com/questions/80861 – Chris W Jul 2 '15 at 19:15
0

Try right clicking on the feature class then clicking on manage, then locks, and try disconnecting the user.

  • Locks isn't one of the options in the Manage menu. Must be a different version. I'm on 10.3.1. There are several greyed out entries and the usable ones are: Add Global Ids and Create Attachments – KMWPJPL Jul 2 '15 at 19:15
  • 1
    The manage item is only available for an enterprise geodatabase – Rich Wawrzonek Jul 2 '15 at 23:03

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.