HTTP Request Length and Execution Timeout

Workflow Manager 2016

You can specify the maximum file upload size supported by ASP.NET, and the maximum time that a request is allowed to execute before being automatically shut down by ASP.NET. To do this, you modify the maxRequestLength and maxAllowedContentLength settings in the web.config file.

The default value of these settings in web.config are:

<httpRuntime maxRequestLength="629145600" executionTimeout="2400" requestValidationMode="2.0" />

<requestLimits maxAllowedContentLength="629145600" />

To modify these settings:

1. Open the wwwroot directory of the Workflow Manager installation and open web.config in a text editor.
2. Locate the maxRequestLength portion of this file:

<httpRuntime maxRequestLength="629145600" executionTimeout="2400" requestValidationMode="2.0" />

3. To specify the maximum file upload size supported by ASP.NET, edit the value for maxRequestLength. This limit can be used to prevent denial of service attacks caused by users posting large files to the server. By default, the value is 629145600.
4. To specify the maximum number of seconds that a request is allowed to execute before being automatically shut down by ASP.NET, edit the value for executionTimeout. By default, the value is 2400.
5. Locate the maxAllowedContentLength portion of the web.config file.

<requestLimits maxAllowedContentLength="629145600" />

6. To specify the maximum file size, edit the value for maxAllowedContentLength. By default, the value is 629145600.