ERROR

Failed to delete selected object(s). Cannot acquire a schema lock because of an existing lock

Last Published: April 25, 2020

Error Message

** Fixed at ArcGIS 8.2 **

Attempting to delete a geometric network that has recently had a trace performed on it in ArcMap returns:

"Failed to delete selected object(s)
Cannot acquire a schema lock because of an existing lock.
You attempted to open a database that is already opened exclusively by user 'username' on machine 'machinename'. Try again when the database is available."

This error still occurs even when a new document is opened in ArcMap.

Cause

The trace task you performed earlier is still holding a lock on the geometric network.

Solution or Workaround

This problem has been addressed in ArcGIS Version 8.2.

If a previous version of ArcGIS is being used, close ArcMap before deleting a geometric network on which a trace was performed.

Article ID:000003005

Software:
  • ArcMap 8 x

Receive notifications and find solutions for new or common issues

Get summarized answers and video solutions from our new AI chatbot.

Download the Esri Support App

Discover more on this topic

Get help from ArcGIS experts

Contact technical support

Download the Esri Support App

Go to download options