2

I purchased a windows hosting and a domain now when i build my code and upload it to server and try to access that then following list appears

enter image description here

and i cannot view the website . What could be the problem . Please guide me and thanks

Smartboy
  • 986
  • 6
  • 22
  • 37
  • 2
    Contact the hosting provider. They deal with questions like this all the time and should be able to give you the right answer. – Mike Trusov Jan 24 '13 at 04:56
  • 1
    possible duplicates: [Is there a way that I can run a ASP.NET MVC Project on godaddy.com shared web hosting?](http://stackoverflow.com/questions/266205) [How to deploy ASP.NET MVC application in a shared hosting without losing the beautiful uri?](http://stackoverflow.com/questions/2446907), [How to deployed Mvc Application on shared-hosting Server?](http://stackoverflow.com/questions/2735185) – mellamokb Jan 24 '13 at 04:58
  • possible duplicate of [How to deploy ASP.NET MVC application in a shared hosting without losing the beautiful uri?](http://stackoverflow.com/questions/2446907/how-to-deploy-asp-net-mvc-application-in-a-shared-hosting-without-losing-the-bea) – hjpotter92 Jan 24 '13 at 07:19

3 Answers3

1

Setup your project to send out MVC specific DLL's (do not come with .NET framework)

  • Rightclick your mvc web project
  • Click on Add Deployable dependencies
Dave Alperovich
  • 32,320
  • 8
  • 79
  • 101
1

Try adding the file name to the URL in your browser's address line. If that works, then the server is not recognizing that as the default file name. You can set up the server to do that.

Default.aspx is normally the default file name for asp.net. If you don't have a file named that, you can either rename one or append the file name to the URL.

xpda
  • 15,585
  • 8
  • 51
  • 82
0

Open IIS and Disable Directory Browsing

Syed Salman Raza Zaidi
  • 2,172
  • 9
  • 42
  • 87