微信公众号搜"智元新知"关注
微信扫一扫可直接关注哦!

ASP.NET调试与IIS超时

最后打破了寻求帮助,我的客户端/ 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.

原文地址:https://www.jb51.cc/aspnet/254292.html

版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 dio@foxmail.com 举报,一经查实,本站将立刻删除。

相关推荐