Unable to attach to application ‘WebDev.WebServer.EXE’

I was working on an ASP.NET project today, and suddenly this error came up after I click “Debug”:

Unable to attach to ‘WebDev.WebServer.EXE’ (PID: xxxx) using ‘ComputerName’. A debugger is already attached. Do you want to continue anyway?

WebDev_WebServer_Error

If I click Yes, my browser becomes loading forever.

The cause I believe is that the built-in ASP.NET development server in Visual Studio is crashed, but somehow the process is still attached to the debugger. I tried to close the development server by right-clicking the icon in the taskbar area, but no menu popped up for me to close it, so, I had to close the process in Task Manager.

WebDev_WebServer_Process

After I killed the process, the error went away.

5
Leave a Reply

avatar
5 Comment threads
0 Thread replies
0 Followers
 
Most reacted comment
Hottest comment thread
5 Comment authors
ParesHramRashmi Krishnarameshrkannan Recent comment authors
  Subscribe  
newest oldest most voted
Notify of
rkannan
Guest
rkannan

Unable to attach to ‘WebDev.WebServer.EXE’ (PID: xxxx) using ‘ComputerName’. A debugger is already attached. Do you want to continue anyway?

ramesh
Guest
ramesh

nice work… thanks for posting and solving the valuable issue

once again thanks

Rashmi Krishna
Guest

Thanx alot!!! 🙂

ram
Guest
ram

Thanks for sharing and double thanks for explaining the cause of the error

ParesH
Guest
ParesH

You are right. Stopping the EXE helps!

Close Bitnami banner
Bitnami