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.
Program.X Sep 13 '12 at 15:57 2012-09-13 15:57
source share