Tuesday, December 2, 2008

Unable to attach to application 'WebDev.WebServer.EXE'







Unable to attach to application 'WebDev.WebServer.EXE' is one of the worst errors that I've encountered recently.


There are three work arounds for this error:

1. Reboot your machine.
2. Add paths to Norton Anti-Virus.
3. If you have a copy of two web projects in the same solution change the port and the file name.

Our solution contained a copy of two web projects. Both web projects were configured to use a specific port. We have a test harness that posts XML to a web page that required a specific port. Somewhere along the line, Visual Studio was confused; when one project was run, it actually tried to debug the old project.

Hopefully this information helps someone.

1 comment:

Anonymous said...

I had been struggling for a solution for this problem. It turned out that there are 2 Web project in the same solution both using same port. I noticed that only after i read your post (point 3).

Thanks you saved me lot of headache.