Dead link image
When you are debugging, IIS will not serve any other requests until you finish your code. This includes the ping request that IIS sends itself. Since IIS does not hear from itself, it decides to shut itself down, which quickly stops your debugging.
The solution is to increase the maximum Ping response time in the application pool settings from its default value of 90 seconds. Set it to something high enough to give you enough time to debug your code (e.g. 300 seconds).
Microsoft has a long entry here , or you can just take a look at the pretty picture.
-
Edit: Others suggested setting the โPing Enabledโ parameter to false. There are several reasons why I prefer to keep it in place, just at a wide interval, but most importantly, you (most likely) should do pinging processing for on-the-job processing, and you should strive to develop and debug the configuration as close as possible to production. If you do not use ping for production, be sure to disable it locally.
Portman Sep 19 '09 at 15:22 2009-09-19 15:22
source share