Click here to Skip to main content
13,044,766 members (44,726 online)
Rate this:
Please Sign up or sign in to vote.
See more:
I've just deployed a previously (on my local IIS) working MVC4 app to IIS 7.5 on the dev server. After tweaking this and that - one knows how these things get forgotten - the app finally launches, but shows a directory listing of the app root. Clicking on most links there works, opening the directory listing of the subdirectory.

Elmah logs no errors and /elmah.asd also gives a 404. The site has an appropriate localhost binding in the hosts file. I can find nothing wrong. MVC is installed on the server, as another MCV app works fine
Posted 13-Feb-13 0:38am
Sandeep Mewara 13-Feb-13 11:57am
Did you set the startup/default page for web application?
Brady Kelly 14-Feb-13 3:04am
Sandeep, you have some catching up to do. An ASP.NET MVC application doesn't have a startup/default page. It has a default route, which is set in code in the application, not in IIS.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
Top Experts
Last 24hrsThis month

Advertise | Privacy | Mobile
Web02 | 2.8.170713.1 | Last Updated 13 Feb 2013
Copyright © CodeProject, 1999-2017
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100