English

How To: Increase timeout settings on ArcGIS Server .NET to enable Workflow Manager replication

Summary

Instructions provided describe the steps to increase the timeout settings for ArcGIS Server processes.

Increasing the timeout settings on ArcGIS Server .NET is sometimes needed for long-running processes. An example of this is when running Workflow Manager replication for large repositories.

Procedure

  1. Stop IIS. See the Microsoft technical article, Start or stop the Web Server (IIS7).
  2. Navigate to the web server root directory and open the web.config file using a text editor. The default installation location of this file is C:\inetput\wwwroot\arcgis\services.
  3. Search for the System.web tag and look for this code section:
    <httpModules>
    <add type=" ESRI.ArcGIS.WebServices.ModuleRewriter, ESRI.ArcGIS.WebServices, Version=10.0.0.0, Culture=neutral, PublicKeyToken=8fc3cc631e44ad86" name="ESRI-Services-BaseHttpModule" />
    </httpModules>        
    Immediately following that code, revise the following line as shown below:
    <httpRuntime executionTimeout="21600" />
    Note:
    The default timeout is 110 seconds, so a timeout of 21,600 seconds means that services can run for up to 6 hours. This number is just a recommendation and should be determined based on the types of web sites hosted or the duration of the longest server process.
  4. Restart IIS.

Related Information