How to prevent execution timeout with Asp.net application

There is two solutions :

  • Execute your page with Visual Studio (there will never be any timeout).
  • Add this into your web.config (under the system.web tag) :
<httpRuntime executionTimeout="300" />

In this case the execution timeout is set to 300 seconds (so 5 minutes).


Published 10th Mar 2012 // #dotnet




comments powered by Disqus