ASP.NET MVC 4 on IIS 7.5 returns 404. Something related to routing maps without extension

I installed the MVC 4 website on a Windows 2008 R2 server with IIS 7.5..NET 4.5 installed on the server.

The site works perfectly in place. All routing is working fine. However, when I put it on the server, nothing works. I confirmed that DNS / binding works by putting a static text file on the site, and it works.

Here are a few things I've tried:

  • The default route / return is 403.13 - indicates that directory browsing is disabled (correct). Should this necessarily appear in / home / index?
  • Any route (e.g. / Organization, Organization / Index) simply returns 404.
  • Make sure all my dll files are copied (according to http://haacked.com/archive/2008/11/03/bin-deploy-aspnetmvc.aspx )

I have tried / confirmed:

Am I missing something? My next digression is to install the full ASP.NET MVC 4 stack, including Visual Studio Express, SQL Express, etc., to see if it works. Which I really don't want to do. This is a production server!

Update: I have to add that the same site runs on the equivalent configuration at its own level on the intermediate server.

+14
asp.net-mvc-4
Sep 13 '12 at 15:57
source share
1 answer

I had the same problem. There is a fix you should try: http://support.microsoft.com/kb/980368 This fixed the problem for me.

+17
Sep 20 '12 at 22:26
source share



All Articles