Unable to start debugging on the web server. The IIS worker process for the launched URL is not currently running

jaffa picture jaffa · May 8, 2011 · Viewed 30.9k times · Source

I have a web site (not a solution) type project in VS2010. I also have this folder configured as a web site in IIS7. I can browse to my site fine when I navigate to http://myproject.local

This proves IIS is serving the site ok.

Now when I try and run the project from VS2010 so I can debug, I get the following error:

Unable to start debugging on the web server. The IIS worker process for the launched URL is not currently running.

I have the site properties set to invoke the custom server (IIS) at the correct URL. What is the reason for Visual Studio implying that the IIS work process for the launched URL is not running, when clearly IIS is server the site.

Answer

Sangram Nandkhile picture Sangram Nandkhile · Nov 26, 2015

This is a very intermittent behavior. I usually get this issue once or twice a month. Following steps would resolve the problem easily.

Before trying anything else, try iisreset

Step 1: >> Open Run (Ctrl +R) >> type iisreset

If this doesn't work, then try step 2.

Step 2: Open task manager >> Processes >> select Process and right click >> end task. This should kill IIS worker process.

enter image description here

If step 2 doesn't work for you then go to step 3.

Step 3: Task manager >> Services and restart the IISADMIN.

Some of you might not have IISADMIN service so If you can see IISADMIN, right click and restart.

enter image description here