Issue
I have a .net 4.0 Web Application running in visual studio 2012, every time I go to debug the site i'm receiving the following error:
The Web Server Could Not Find the Requested Resource
What I've tried
I've followed microsoft's website with solutions: msdn
- From a command prompt window, run the following command:
systemroot\Microsoft.NET\Framework\ versionNumber \aspnet_regiis -i
- I've also attempted to remove the .csproj.user files
- Since we use Source Control i've deleted all items, the site and apppool and reconfigured from scratch.
- AppPool is set to allow 32-bit applications
All to no avail...Anyone have a solution that might solve this visual studio debugging nightmare for me?
I had the same symptoms but a completely different problem. I had attempted to install Url Scan and it didn't seem to work correctly as I could not find the .ini file to edit settings within. I had forgotten that I had installed it, but it appears by default it will prevent debugging from working.
Uninstalling Url Scan solved the issue for me. To uninstall it I had to right-click on the .msi file and choose Uninstall. Url Scan did not show up under the "Add or remove programs" section.
Steps:
I was getting the same error when i was running the ASP.NET project from the IIS. I resolved this issue by configuring IIS.