"The web server process that was being debugged has been terminated..." Error while debugging


While debugging a web application hosted in IIS often we get the error "The web server process that was being debugged has been terminated by Internet Information Service(IIS)..." This can be solved by following few steps and the debug can be run smoothly.

While debugging a web application hosted in IIS often we get the error
"The web server process that was being debugged has been terminated by Internet Information Service(IIS)...".
At that time we need to re-attach the IIS Process again to debug the application. This can be solved by following few steps and the debug can be run smoothly.

This is the error we get while debugging the application.

IIS Debug Error

Few easy steps will fix this issue.

Step 1
Open IIS and go to the 'Application Pool' which the application is using.

Step 2
Select the pool and right click -> Advanced Settings..

IIS Debug Error

Step 3
Set 'Ping Enabled' to 'False' under 'Process Model' section.

IIS Debug Error

That's it. Now the error will not appear while debugging. Do the same for other application pools if necessary.


Comments

No responses found. Be the first to comment...


  • Do not include your name, "with regards" etc in the comment. Write detailed comment, relevant to the topic.
  • No HTML formatting and links to other web sites are allowed.
  • This is a strictly moderated site. Absolutely no spam allowed.
  • Name:
    Email: