Last post Feb 01, 2010 02:01 PM by jkard883
Jan 06, 2010 08:45 PM|jkard883|LINK
I have been banging my head on this issue today and am at my wits end. Hopefully one of you knows the resolution.
I have a 2005 Visual Studio C# project that will not run locally on my LocalHost web server. It keeps giving me the error "Unable to start debugging on the web server. The web server could not find the requested resource." This only happens when I change
the project properties to run on http://localhost/<website>. If I run from Visual Studio Development Server, it runs fine.
I have tried the following:
I even built a brand new empty project with only a Default.aspx page in it, and it fails for same reason.
Windows Vista Ultimate SP 2
Visual Studio 2005
I really have tried every Bing/Google article I have come across today. My head is hurting from pounding it against my desk, any help is appreciated.
IIS 7 Unable to Start Debugging
Jan 07, 2010 04:32 AM|d4daud|LINK
You can try following: navigate to the root folder of your web application and find file that has ".csproj.user" extension ad delete it. Then hit F5. Otherwise hit CTRL+ALT+P and attach to w3wc.exe process. Hope it helps.
Jan 07, 2010 05:49 PM|jkard883|LINK
Thanks, tried that but didn't even let me F5 without a error. I attached the screenshot of what popped up.
Jan 26, 2010 06:19 AM|dude_123|LINK
Jan 28, 2010 03:58 AM|jitendramcu|LINK
u r using VS2005 and framework is 4.0 or something else so first register iis for the correct version.
run again aspnet_regiis it will solve your problem.
C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\ aspnet_regiis.exe -u
C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\ aspnet_regiis.exe -i
Refer to this link..
Feb 01, 2010 02:01 PM|jkard883|LINK
Thanks jitendramcu, this fixed my issue!!