Extensionless URLs not working with ASP.NET MVC 2 on IIS 7/7
This post is mostly a self-serving bookmark, but if you somehow landed here and are having issues with ASP.NET MVC 2 URL Routing (or routing in web forms if you’re using it there!) and are running on IIS 7 or 7.5 then have a read through the KB article below. I found it after much head scratching and it fixed my issue :-)
https://support.microsoft.com/kb/2023146 : MVC 2 and ASP.NET 4 Web Forms applications that use URL routing might return HTTP 404 errors when they attempt to process extensionless URLs on IIS 7 and IIS 7.5
Comments
Anonymous
August 23, 2010
Thanks for the link. I'm going to be setting up a Windows Server 2008 VPS tonight with Rackspace and this may come in handy when setting up IIS/MVC2. Cheers!Anonymous
January 30, 2011
Thanks!