Loading ...

The web server process that was being debugged has been terminated by Internet Information Services | CodeAsp.Net

The web server process that was being debugged has been terminated by Internet Information Services

 /5
0 (0votes)

Yesterday I was working locally and I set IIS as the default webserver for running my local application. While debugging my application I was continuously getting encountered with this error "The web server process that was being debugged has been terminated by Internet Information Services" . I have to close my application then again start it so as to work. But again I faced the same issue while debugging.



The reason I found was that IIS7 app pool by default only can only have 90 seconds window for a non-responsive application. So while working with developement side, we may need to change  “Ping Maximum Response Time” to a time much longer, or turn off “Ping Enabled” setting. I decided to disable the "Ping Enabled" setting as I was at development end. Let's see how we can disable it.

Just go to IIS server.






In the Edit Application Pool section click "Advanced Settings" link.



Now in "Advance Settings" window find the "Ping Enabled" setting in "Process Model" section.




Turn that setting to "False" from "True".



That's it we are done with it. Now you won't face that issue while you are on debugging state for a long time.

Do let me know your feedback, comments.

 

Comments (1)

   
user813870
Raghav, what to do if one wants to just use the Development Server built into Visual Studio?

Robert Werner
Vancouver, BC
1/23/2011
 · 
by

Top Posts