I have a .NET 3.5 Web application on VS 2008 SP1 running on Vista Ultimate 32 SP1. I created an Application under the Default Web Site. So the url to the app is \"http://localho
One more common problem is that site or application path is not started.
Installing Urlscan and changing the urlscan.ini with these changes solved the problem.
In ALLOWEXTENSIONS Section add .aspx and in ALLOWVERBS Section add DEBUG.
Don't forget to restart IIS.
I had same problem and solved it. You can try following: navigate to the root folder of your web application and find file that has ".csproj.user" extension ad delete it. Close all instances of Visual Studio and start again. Then hit F5. Otherwise hit CTRL+ALT+P and attach to w3wc.exe process. Hope it helps.
For those encountering this with Visual-Studio 2012 or 2013 and/or Windows 8 or 10 do the following.
You have to add .Net 3.5 (or 4.5) to your Turn Windows Features on or off window. You get to it via:
Control Panel -> Programs -> Turn Windows Features on or off
Click the Asp.Net 3.5
and the Asp.Net 4.5
check box in the IIS > WWW Service > Application Development Features
folder.
open IIS7 (run > inetmgr) and go to the Feature view. Open the ISAPI and CGI Restrictions section and check if your .Net version has the correct restriction (for example, if you're working with 4.0 is should be on "Allowed")
I had the same problem with XP sp3 and I have been struggling for days. Adding .aspx and DEBUB to urlscan.ini solved the problem.
Thanks guys.