Vista and Visual Studio: Error: Web site worker process has been terminated by IIS

"The web server process that was being debugged has been terminated by Internet Information Services(IIS).  This can be avoided by configuring Application Pool ping settings in IIS."

 

  Very easy fix by following these instructions….

  1. Open the Administrative Tools window.

  2. Click Start and then choose Control Panel.

  3. In Control Panel, choose Switch to Classic View, if necessary, and then double-click Administrative Tools.

  4. In the Administrative Tools window, double-click Internet Information Services (IIS) Manager.

  5. In the Internet Information Services (IIS) Manager window, expand the <computer name> node.

  6. Under the <computer name> node, right-click Application Pools.

  7. In the Application Pools list, right-click the name of the pool your application runs in, and then click Advanced Settings.

  8. In the Advanced Settings dialog box, locate the Process Model section and chose one of the following actions:

    1. Set Ping Enabled to False.

      —or—

    2. Set Ping Maximum Response Time to a value greater 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.

  9. Click OK.

  10. Under the Services and Applications, click Services.

    A list of services appears in the right-side pane.

  11. In the Services list, right-click Terminal Services and then click Properties.

  12. In the Terminal Services Properties window, locate the General tab and set Startup type to Manual.

  13. Click OK to close the Advanced Settings dialog box.

    Close the Internet Information Services (IIS) Manager window and Administrative Tools window.

This entry was posted in .NET. Bookmark the permalink.

6 Responses to Vista and Visual Studio: Error: Web site worker process has been terminated by IIS

  1. Keith says:

    Thanks!

  2. Nate says:

    Nice, thanks!Works in Longhorn, too

  3. Kevin says:

    I followed you up till step 9. Step 10 – 13 doesn\’t apply to the debug error, but rather terminal services.

  4. Michael says:

    I think Kevin is correct. I don\’t see why steps 10 – 12 have to do with this.

  5. David says:

    You are correct…you can ignore 10-13

  6. Abhishek says:

    Thanks for solving the issue!

Leave a comment