ASP.NET调试与IIS超时

前端之家收集整理的这篇文章主要介绍了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.f2er.com/aspnet/254292.html

猜你在找的asp.Net相关文章