Select to view content in your preferred language

add rule - utility network fail

100
9
15 hours ago
GeorgeJonesRIGOV
Regular Contributor

addRuleFial.png

Hello, i have no idea what is going wrong when I try to add a rule to the utility network. I have editing turned off for all layers, so I know that's not the case. There are no other editors editing the data also. Any advice? thanks George.

0 Kudos
9 Replies
RobertKrisher
Esri Regular Contributor

Is this in an ArcGIS Enterprise environment? If so, services place schema locks on the dataset so you'll need to turn off the corresponding services (or disable schema locking and remember to restart the services after making changes).

More info: Utility network management tasks—ArcGIS Pro | Documentation

0 Kudos
GeorgeJonesRIGOV
Regular Contributor

Yes, but it's directly pulling from a geodatabase.  It's not officially published as a service. 

 

thanks George

0 Kudos
Brian_McLeer
MVP Regular Contributor

Hello @GeorgeJonesRIGOV, do you have a service published that locks the database schema enabled? 

GeorgeJonesRIGOV
Regular Contributor

no -other than maps and apps in AGOL and portal. 

0 Kudos
Brian_McLeer
MVP Regular Contributor

If you have this checked on under parameters for any services even with map service only enabled it will probably cause a schema lock.

Brian_McLeer_0-1777916261649.png

 

GeorgeJonesRIGOV
Regular Contributor

where do I find that? I'm relatively new to this. 

0 Kudos
Brian_McLeer
MVP Regular Contributor

This article provides a very good overview of performing schema changes and how locks effect them from Map Services. You'll just have to pick Windows/Linux and what version of Enterprise you are on. 

https://enterprise.arcgis.com/en/server/latest/administer/linux/disabling-schema-locking-on-a-map-se...

RobertKrisher
Esri Regular Contributor

@GeorgeJonesRIGOV if you disable schema locking on your service, you need to make sure you manually restart that service after you make any schema changes (utility networks, fields, anything). Otherwise, the service itself may not reflect the changes you've made which can result in some unpredictable behavior.

0 Kudos
ErikRose
Occasional Contributor

If this is a network that you have "up and running", you have likely published it as a service so that you can access and edit it through the feature service. If this feature service is running, you won't be able to add or update any attribute rules until the service is suspended. Stop the service in Server Manager while you perform the update. You can manually break the locks to enable a quick change, but if you have active services, they will reacquire quickly.