Increasing application timeout for asp.net application
asp.net, c#, iis
Solution
Have you tried setting the shutdownTimeout value in the httpRuntime section? The default shutdown time of an idle application is 90 seconds.
<httpRuntime maxRequestLength="2147483647" shutdownTimeout="360" executionTimeout="3600"/>
MSDN Reference: HttpRuntimeSection.ShutdownTimeout Property
Problem
In my application, I make A service call which may take upto 2 mins To return value. (process Take Place across multiple databases). Upon calling this method the application times out. I have set the following in web config. still i am getting the error when hosted in IIS ``` <system.web> <compilation debug="true" targetFramework="4.0" /> <sessionState timeout="40"></sessionState> <httpRuntime maxRequestLength="2147483647" executionTimeout="3600"/> </system.web> ``` I have set the same execution timeout in service web.config as well please help me in increasing the time out for the application.