: MVC4 App opens with directory listing and gives a 404 for any direct URL's entered in the browser I've just deployed a previously (on my local IIS) working MVC4 app to IIS 7.5 on the dev
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 sub-directory.
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.
More posts by @Hamaas447
1 Comments
Sorted by latest first Latest Oldest Best
I see this error very often and here's the solution that we always provide to our customer. Please take a look at
www.smarterasp.net/support/KB/search.aspx?categoryid=0&search=mvc+404&type=0
The top 2 solution should fix your needs. And yes, I do work at smarterasp.net as a technical support staff in case you wonder.
Terms of Use Create Support ticket Your support tickets Stock Market News! © vmapp.org2024 All Rights reserved.