Geographic Information Systems Stack Exchange is a question and answer site for cartographers, geographers and GIS professionals. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

My ArcGIS Server services are locking tables in SDE. This is a problem if I need to edit or overwrite them. Unfortunately the locks don't go away upon stopping the services. The only solution I have found is to restart the Linux arcsde service, which has many implications. Is there a better way to lose these phantom locks?

share|improve this question
up vote 9 down vote accepted

Tell ArcGIS Server not to make those locks.

In your service cfg files, add this:


ESRI does not recommend this practice, but it should work for you. I did this for a bunch of really big services that required a massive (thousands of layers) data update while still running.

For more info, refer to the ESRI docs.

share|improve this answer
It worked! Restarting map services + SDE was not enough for the changes to take effect. I also had to restart AGS + IIS. (Not sure whether AGS or IIS was the problem, but I figure either one could be caching the XML content.) – nw1 Jul 30 '10 at 14:56

At the UC ESRI was in fact recommending the use of the tag, so long as you carefully consider the "Use caution..." paragraph in the documentation.

share|improve this answer

Are spatially-enabled views an option? They've worked well for me in cases where I can't have a table locked.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.