English

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

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.