问题
I am working on asp.net application which had page request timeout, I increased the timeout in HttpRuntime executionTimeout =181 , but still its not working. Please help
回答1:
How did you set it?
The common way is to write it in the web.config:
<system.web>
<httpRuntime executionTimeout="181">
</system.web>
<compilation debug="false" />
Debug must be set to false otherwise the timeout will be ignored.
Don't forget to restart your AppPool or IIS.
回答2:
Are you seeing the site stop while debugging / stepping through? If so, you can turn ping to disabled (i.e. Ping Enabled = False) for the application pool in IIS, which will allow you to pause / debug indefinitely.
来源:https://stackoverflow.com/questions/8680018/asp-net-page-request-timeout