Category - IIS

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:


19 Sep 2008

Discovered this handy feature that works with ASP.NET 2.0 (and above) sites.
If you drop a file called app_offline.htm into the root directory of your ASP.NET website it immediately stops the application and any requests to your site will be served with the app_offline.htm page. This will continue until the app_offline.htm file is removed at whichpoint your web application will restart and begin serving web requests.
Very handy if you need to get a "Site under maintena