"Unable to start debugging on the web server" - How to get F5 debugging in visual studio + IIS7 -


many time have come across issue of not being able run debugging within visual studio hitting f5, , having resort attaching process.

for starters, lets assume following

  • visual studio running in administrative context,
  • iis7 installed iis6 management options , windows authentication enabled @ root level
  • you administrator on local machine.
  • you attempting debug web application running on said local iis instance. web application project settings (properties>web) has been setup url of site

hitting 'f5' results in error visual studio saying;

"unable start debugging on web server. iis worker process launched url not running."

i've come blank after couple hours trawling web answers, thought give stackoverflow go.

if many suggestions here thought idea start checklist (which turn wiki) of things 1 should try in order f5 debugging working.

"unable start debugging on web server. iis worker process launched url not running."

this error message means there no asp.net worker process running on host trying connect debugger cannot attached.

before hitting f5 make sure

  • you connect right host (a problem might 127.0.0.1 vs. host name)
  • there w3wp.exe process shown in task manager.

if worker process not running can start manually opening 1 of asp.net pages of application.


Comments

Popular posts from this blog

asp.net - repeatedly call AddImageUrl(url) to assemble pdf document -

java - Android recognize cell phone with keyboard or not? -

iphone - How would you achieve a LED Scrolling effect? -