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 thoughts on “Unable to attach to application ‘WebDev.WebServer.EXE’

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

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>