Friday, July 23, 2010

ArcGIS Server Context Usage Timeout Interval error

An application that uses ArcObjects was throwing an exception and after some digging, everything was pointing to a problem on ArcGIS Server 9.3.1. The logs showed the error:

"The context has been automatically released because the context usage timeout interval has elapsed"

This KB article indicated that I had to modify the
EngineContextTimeout setting in the server.dat file. For some reason, the value in the file was 5, instead of the default 600. It would certainly be nice if the exceptions thrown by ArcGIS Server contained useful information.

No comments: