Asp.net page request timeout

*爱你&永不变心* 提交于 2019-12-25 18:18:07

问题


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

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!