Click here to Skip to main content
15,891,708 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I am having Both visual studio 2005 and 2008 installed in my PC and i am using IIS 5.1 version, I tried as per the solutions find through Google but still the issue remain same



Unable to start debugging on Web server

The application you are trying to debug uses a version of the Microsoft .NET Framework that is not supported by the debugger.
The debugger has made an incorrect assumption about the Microsoft .NET Framework version your application is going to use.
The Microsoft .NET Framework version specified by you for debugging is incorrect

I am getting this issue when i create my application directly in local host and running, works well if my application is in directory, so can any one tell what to do to resolve this issue
Posted

Make sure that all your dotnet versions are registered with IIS using the ASP.NET IIS Registration Tool[^]
 
Share this answer
 
As Marcus Kramer says, but also Also, check the 'ASP.NET version' configured against the Website. You'll find this under the ASP.NET tab of the Web Site Properties. It should be 2.0.50727 or 4.0.30319 but could well be incorrectly set to 1.1.4322 which would have this effect.

Also, have a look the

Error: Unable to Start Debugging on the Web Server[^]

entry on MSDN. It could save you a lot of time over trying one solution at a time and coming back to repost...
 
Share this answer
 
v3
Comments
fjdiewornncalwe 8-Jul-11 10:31am    
Correct. I forgot to add that part.
demouser743 8-Jul-11 10:38am    
Ok after all change i am getting the following error Unable to start debug on web server Webserver is not configured properly

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900