Mark's Blog About Search Activity

IIS killing worker process during debugging

Windows 7 runs IIS 7.5 and introduces a few changes in debugging. One issue that comes up is if your code hit some breakpoint and if you leave the program in ‘break’ mode for more than 90 seconds, Visual Studio shows the following message:

As help indicates you can either set Ping Enabled=False or increase the Ping Maximum Response Time from the default of 90s:

  1. Open Internet Information Services (IIS) Manager.

  2. From the server tree (the item with the name as the server name), choose Application Pools.

  3. Choose the Application Pool corresponding to your testing IIS website (typically DefaultAppPool)

  4. Click Advanced Settings.

  5. From the Process Model node, change the the Ping Enabled property to False** or increase **Ping Maximum Response Time (seconds) (900s = 15 min).

The server keeps pinging the worker process and waits for a response. When in debugging mode, the worker process is effectively suspended, which results in the ping not being responded.

If you liked this post, you can share it with your followers or follow me on Twitter!
comments powered by Disqus