ASP.NET MVC Unable to start debugging on the web server. The web server could not find the requested resource.

04 Mar 2010

I was playing around with the project settings of an ASP.NET MVC project to get it working in IIS instead of using the built in Visual Studio web server when I started getting the message shown in the post title above whenever I started the project in debug mode.
After and hour of searching the internet for solution without success I decided to check IIS's Metabase.xml file and found for this particular virtual ASP.NET MVC application the wild card mapping was configured as below:


whereas all over ASP.NET MVC projects had the following configuration:


I am not entirely sure what it was that I did to create the issue but changing the 4 back to a 0 instantly solved the issue.
NB. To do this with IIS 6 running first open IIS manager, right click on the computer name node and select properties and check the Enable Direct Metabase Edit. Be warned; messing up this file could seriously damage the way IIS works so take a backup first. The Metabase.xml file can be found at c:\windows\system32\inetsrv

I found an article which gives the exact reason for the problem I was having. It seems that when the 'flag' is set to '4' it essentially means 'verify that the file exists before passing onto the scripting engine; if it doesn't then return an error'. To fix this in IIS manager simply highlight your wild card entry in the websites Configuration section of the Virtual Directory tab, click on edit and un-check the 'Verify file exists' checkbox.

Comments: 4



01 Sep 2013 - 11:30

The one hundred punods mark has been my goal too. I have 4 punods left to go.You have been doing great.I feel exactly the same about loose skin. Yes, it does tighten up somewhat.I read that if you eat a raw food diet you have less loose skin. Don't know if that is true.Good luck,marjie



08 Sep 2013 - 02:14

Thanks for the tip on Windows Media Player break up.I've been searching for this info since I got Windows 7.One thing heeovwr, on my machine it's Disable Sound Effects not Enhancements Thanks alot,Rick Daugherty [url=]scqyilgt[/url] [link=]jyuxbqu[/link]



04 Mar 2014 - 03:50

QuotesChimp insure for direct physical loss to the property described in Coverage C caused by a peril listed below unless the loss is excluded in Section I�Exclusions ... etc.



13 Nov 2017 - 04:10

Hey guys!!! designs and builds specialty lines of lead oxide production equipment, material handling systems, battery related process machinery, parts, and accessories for the battery, pigment, glass, and chemical industries. offers technical application and engineering services to help the customer acheive maximum benefit from their equipment and manufacturing processes.

Add comment