I do not have custom routes in my application, only by default. If I try to open localhost/myapp/controller/action/bla.bla , it works fine on my machine (Windows 7 x32, both Cassini and IIS), but the server crashes (2008 R2 x64). Found a similar question , but the solution does not work. Also, I found this article where Eilon says that it is a special symbol for MVC, and it is “by design”. Why is there a difference between my machine and the production box and how to fix it?
Update : the problems site has ExtensionlessUrl-ISAPI-4.0_64bit and ExtensionlessUrl-Integrated-4.0 is enabled and displayed on "*.". There are no managed handlers in web.config. The patch mentioned by Dmitry is “not applicable to your computer”, probably because it is already installed with Service Pack 1 (SP1). I can confirm that 404 is being reported by ASP.NET MVC, not IIS, because I can see the request in Application_PreSendRequestHeaders. Moreover, if I attach a descendant of MvcRouteHandler with an overloaded GetHttpHandler () that registers all RouteData, it shows that "id" is correctly mapped to "bla.bla". Any ideas?
source share