Select to view content in your preferred language

Add Rule Tool throws ERROR 000464 in Single User environment.

924
3
Jump to solution
03-05-2024 05:03 PM
rohanrajan_hms
Regular Contributor

I am trying to migrate a Geometric Network dataset to Utility Network. I got errors 36,9 in the dirty area. I had to Add a new Rule to enable my Junction Edge Connectivity.

I am working with a local gdb. NOT AN ENTERPRISE GEODATABASE.

I am the only user accessing the Utility Network.

Steps followed in this sequence:

1. Stop Edits

2. Close all active maps

3. Disable Topology

4. Add Rule

ERROR 000464: Cannot get exclusive schema lock. Either being edited or in use by another application or service.

What could be causing the schema lock. Or am I doing something wrong.

rohanrajan_hms_0-1709686475167.png

 

0 Kudos
1 Solution

Accepted Solutions
CashEddy
Occasional Contributor

Greetings @rohanrajan_hms,

 

Try the following:

 

  1. Save Edits, then Save & Close ArcGIS Pro
  2. Navigate in Windows File Explorer to the root project folder
  3. Right click > Properties
  4. Uncheck the Read-Only box
  5. Click Apply
  6. Open ArcGIS Pro (Run as administrator)
  7. Open the Add Rule GP tool again
  8. In the Input Utility Network parameter, navigate into the FGDB to select the UN

 

I've been able to resolve the same error with the above workaround a few times, but there could also be something else causing the issue.

 

Hope this helps!

 

Respectfully,

-Cash

 

View solution in original post

3 Replies
CashEddy
Occasional Contributor

Greetings @rohanrajan_hms,

 

Try the following:

 

  1. Save Edits, then Save & Close ArcGIS Pro
  2. Navigate in Windows File Explorer to the root project folder
  3. Right click > Properties
  4. Uncheck the Read-Only box
  5. Click Apply
  6. Open ArcGIS Pro (Run as administrator)
  7. Open the Add Rule GP tool again
  8. In the Input Utility Network parameter, navigate into the FGDB to select the UN

 

I've been able to resolve the same error with the above workaround a few times, but there could also be something else causing the issue.

 

Hope this helps!

 

Respectfully,

-Cash

 

rohanrajan_hms
Regular Contributor

This worked for me. As you have already stated, the root cause need to be found.

Thank you. @CashEddy 

0 Kudos
RobertThomson
Frequent Contributor

Had this exactly same problem while adding rules to a Sanitary Utility Network I am building.  The only answer for me was to close the ArcGIS Pro project  associated with the Utility and open another project.  Then run "Add Rule" worked without any problems.

Still have no idea why I was getting this issue.

0 Kudos