Click here to Skip to main content
15,112,662 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I have deployed my mvc4 application on server but instead of pages its showing directory listing of pages.Please help me this application is Working perfect on local server but not on server. PLEASE HELP!!!!
Are you sure your hosting package supports ASP.NET or mod_mono? :-)
Did you try to talk to your hosting provider?
Jacks Raise 14-Jan-15 2:59am
yes it supports mvc and

There are few checks that you can perform.
1) Check the .net framework setting. It should be 4.0 or higher on pleask settings for your hosted website.
2) Put one index.html page & Default.aspx (i know your application is mvc. but put it for testing only) page on root directory of you application. run both pages in browser. e.g. http://yourdomain/Default.aspx. If it runs properly then your website is proper. If it gives error then correct error that it shows.
3) In case your website gives error make sure the custom error mode is off in web.config.

In case you still face problem please provide url to you application/website.

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

CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900