Sunday, August 1, 2010

ASP.NET MVC in IIS6.0 vs 7.0

When an ASP.NET MVC Web application runs in IIS 7.0, no file name extension is required for MVC projects. However, in IIS 6.0, the handler requires that you map the .mvc file name extension to the ASP.NET ISAPI DLL.


Make sure HTTP Redirection feature is enabled for IIS
Routing won't work if HTTP Redirection is not installed.

Open Control Panel / Programs / Turn Windows Features on or off. Look under World Wide Web Services / Common HTTP Features

Check HTTP Redirection
http://blogs.msdn.com/b/rjacobs/archive/2010/06/30/system-web-routing-routetable-not-working-with-iis.aspx

No comments: