How to increase request timeout in IIS? How to increase request timeout in IIS? asp.net asp.net

How to increase request timeout in IIS?


Add this to your Web Config

<system.web>    <httpRuntime executionTimeout="180" /></system.web>

https://msdn.microsoft.com/en-us/library/e1f13641(v=vs.85).aspx

Optional TimeSpan attribute.

Specifies the maximum number of seconds that a request is allowed to execute before being automatically shut down by ASP.NET.

This time-out applies only if the debug attribute in the compilation element is False. To help to prevent shutting down the application while you are debugging, do not set this time-out to a large value.

The default is "00:01:50" (110 seconds).


In IIS Manager, right click on the site and go to Manage Web Site -> Advanced Settings. Under Connection Limits option, you should see Connection Time-out.


To Increase request time out add this to web.config

<system.web>    <httpRuntime executionTimeout="180" /></system.web>

and for a specific page add this

<location path="somefile.aspx">    <system.web>        <httpRuntime executionTimeout="180"/>    </system.web></location>

The default is 90 seconds for .NET 1.x.

The default 110 seconds for .NET 2.0 and later.