I have a problem with a new installation of ArcGIS Server. The installation is ArcGIS 10 on Windows Server 2008r2 with IIS 7. I have followed this guide to configure the IIS ArcGISServicesAppPool: http://support.esri.com/en/knowledgebase/techarticles/detail/36887 I did this because my cache wouldn't work without it.

The problem I have is that regularly the REST services stop working. The url to /arcgis/rest/services still lists all my services but when I want to open one, I get an error that the service is not available. Also when I want to go to the ArcGIS/rest/admin/ I cannot log in.

I can solve this problem by recycling the ArcGISServicesAppPool in IIS. Then I can log in to the rest admin. But then I still need to clear the ArcGIS rest cache before my services work again.

One thing I've changed was to set the Idle time-out in IIS for the ArcGISServicesAppPool to 0, because I noticed that every time after that time out, my rest services didn't work anymore (same problem). So after this change, the services will run much longer, but still after a day or so, I need to recycle and clear the cache.

I've done some more checks and I notice that every time the ArcGISServiceAppPool automaticly recycles (via settings in IIS) the services stop being available. The solution again is to manually recycle the application pool and then clear the rest cache again.

I've solved my problem by adding ArcGISWebservices user to the Administrators group. Don't find it a clean solution, but it's a solution. Can there be other problems with this? Security?

  • 1
    Have you looked at the log files? Aug 29 '11 at 12:44
  • 1
    I think you can also schedule the recycle and cache clear.
    – Brad Nesom
    Aug 29 '11 at 13:36
  • This exact same thing happened to me, and I ended up reinstalling the software. It was strange, the services would be available and then, not. I even did a support call with ESRI and they were unable to determine what exactly was causing the services to become unavailable. I had also followed the steps from the link in your question. Aug 29 '11 at 22:03
  • @kirkk What log files do you mean? The IIS log files in inetpub\logs are empty.
    – tmske
    Aug 30 '11 at 6:53
  • @bradn I'm trying that now, I'll see what the results are. Although it is hard to check it, because the failure doesn't happen at stricked times.
    – tmske
    Aug 30 '11 at 6:56