Wednesday, October 13, 2004

 

Unable to start debugging on the web server

I recently installed Microsoft Visual Studio 2005 Beta and the .Net Framework 2.0 beta on my home machine. A few days later I was attempting to debug an existing client's ASP.NET application in Microsoft Visual Studio 2002, but I ran into a problem. I would hit the F5 key and an error message similar to the following would pop up:

Unable to start debugging on the web server

What could this mean? I never had a problem debugging before. I tried to debug several other existing applications and all of them would compile, but none would allow me to run in debug mode by pressing the F5 key. I had to think back to what had changed recently with my system. Ding, ding, ding...I suddenly rememberd that I had a similar problem at the office when I installed Microsoft Visual Studio 2005 beta along with the .Net Framework 2.0 beta. A new ASP.NET tab was added to the virtual directory's property window in IIS.

Installing the .Net Framework 2.0 defaults all of your IIS applications to the 2.0 framework setting. Simply changing the drop down back to 1.1 and clicking OK fixed my problem.

I hate the simple fixes that take forever to find.

Comments:
Hey, thanks dude!! I just started getting the same error on my home machine and was expecting it to be caused by one of the other myriad combinations that makes the debugger fall over; I completely forgot I put the Vs2005 Beta on my machine a couple of weeks back. I'm so glad I happened onto your blog or I would never have fixed it...you rock! All best, from Brett in Melbourne Australia
 
Post a Comment

Links to this post:

Create a Link



<< Home
Content copyright ©2003-2006 Tod Birdsall