Link to home
Start Free TrialLog in
Avatar of Gary Davis
Gary DavisFlag for United States of America

asked on

VS2010 Error: "Unable to start debugging on the web server"

I get error message "Unable to start debugging on the web server" in Visual Studio 2010. I clicked the Help button and followed the related suggestions without success.

This happens with a newly created local ASP.Net project when modified to use IIS instead of Cassini (which works for debugging). It prompts to set debug="true" in the web.config and then immediately pops up the error. Nothing shows up in the Event Viewer.

I am able to attach to w3wp to debug. It works but is not as convenient as F5.

I also have a similar problem with VS2008 on the same PC. Debugging used to work for both.

I have re-registered Framework 4 (aspnet_regiis -i). I ran the VS2010 repair (this is the RTM version). I am running on a Windows Server 2008 R2 x64 box.

I do have Resharper V5 installed.

There must be some configuration setting or registry value that survives the repair causing the problem.

I'd appreciate any ideas.

Thanks, Gary Davis (garyd@webguild.com)
Avatar of Mohamed Osama
Mohamed Osama
Flag of Egypt image

UAC related perhaps ?
are you running Visual studio as administrator?
Avatar of Gary Davis

ASKER

Running as adiministrator did not help. I have UAC disabled, too.
ASKER CERTIFIED SOLUTION
Avatar of Gary Davis
Gary Davis
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial