Learning While Aging

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.

2 1 vote
Article Rating
5 Comments
Oldest
Newest Most Voted
Inline Feedbacks
View all comments
rkannan
rkannan
14 years ago

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

ramesh
ramesh
14 years ago

nice work… thanks for posting and solving the valuable issue

once again thanks

Rashmi Krishna
13 years ago

Thanx alot!!! 🙂

ram
ram
12 years ago

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

ParesH
ParesH
12 years ago

You are right. Stopping the EXE helps!