加入收藏 | 设为首页 | 会员中心 | 我要投稿 李大同 (https://www.lidatong.com.cn/)- 科技、建站、经验、云计算、5G、大数据,站长网!
当前位置: 首页 > 编程开发 > asp.Net > 正文

ASP.NET调试与IIS超时

发布时间:2020-12-15 19:05:11 所属栏目:asp.Net 来源:网络整理
导读:最后打破了寻求帮助,我的客户端/ iis(不知道哪个)通常在约30s – 1分钟后超时,而在调试(逐步通过代码),这不仅导致我失去了我的位置,必须重新开始更快,造成更多错误),但是IIS Debug会话完全关闭,我必须再次预热整个会话。 什么是最好的方式来获得更多
最后打破了寻求帮助,我的客户端/ iis(不知道哪个)通常在约30s – 1分钟后超时,而在调试(逐步通过代码),这不仅导致我失去了我的位置,必须重新开始更快,造成更多错误),但是IIS Debug会话完全关闭,我必须再次预热整个会话。

什么是最好的方式来获得更多的时间在调试会话?

在IIS 7.5 Classic Pipeline上调试vanilla 3.5网站(而不是应用程序)

解决方法

如果将其设置为足够高,则设置连接限制有效。我想永远不会再被这个烦扰。 Here是我做的:

这假设您已经在IIS管理器中选择了IIS应用程序池

…In the Advanced Settings dialog box,locate the Process Model section,and perform one of the following actions:

  1. Set Ping Enabled to False.
  2. Set Ping Maximum Response Time to a value that is larger than 90 seconds.

Setting Ping Enabled to False stops IIS from checking whether the worker process is still running and keeps the worker process alive until you stop your debugged process. Setting Ping Maximum Response Time to a large value allows IIS to continue monitoring the worker process.

(编辑:李大同)

【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容!

    推荐文章
      热点阅读