REST service throws an exception when first accessed

Discussion created by agauch on Oct 16, 2010
Latest reply on Nov 2, 2011 by shaningesri
When accessing a map service REST endpoint the first time after a long time (several hours), it throws an exception:
Service 'xxx' of type 'MapServer' does not exist or is inaccessible.

And in the log file: Server Context creation failed on machine xxx

This error occurs in fact every morning, and then the services are working fine for the rest of the day.

This problem only occurs when the data are on an ArcSDE geodatabase. The map services based on file geodatabases or on personal geodatabases are not throwing this error.

Is there something to configure on ArcSDE for these map services to work?