Prevent ArcGIS Server 10.1 Services From Placing Locks On Your Data.

A lot of uses at ArcGIS Server 10 would have been used to going into their service config files and updating the SchemaLockEnabled tag to false, this stops AGS creating locks on your data. 

At 10.1 this and a lot of other admin tasks can be done directly on the rest endpoint as described below.

By default, ArcGIS Server map services use schema locking to prevent other users from altering the geodatabase schema while the service is running. If the schema locks are impeding your workflow, you can disable them by using the ArcGIS Server Administrator Directory.

To disable schema locking for a service, perform the following steps:

  1. Navigate to http://<server name>:6080/arcgis/admin.
  2. Click services.
  3. Click the service for which you want to disable schema locking.
  4. Click edit.
  5. Add the “schemaLockingEnabled” = “false” property within the service JSON, as in the following example:

    …………………………………………………..

    "maxImageHeight": "2048",

    "schemaLockingEnabled": "false",

    "maxRecordCount": "1000",

    …………………………………………………..

  6. Click Save Edits.

  1. jiriteach reblogged this from djmapper and added:
    Prevent ArcGIS Server 10.1 Services From Placing Locks On Your Data
  2. djmapper posted this
Short URL for this post: http://tmblr.co/ZXwmGyNMBVCT