Last post May 08, 2012 07:22 AM by Dino He - MSFT
May 06, 2012 01:52 AM|mcleanap|LINK
I just published my first MVC application to a shared host. Of course, everything works fine on my own development client and server machines.
The specific error is this: The Web server is configured to not list the contents of this directory
I don't want to enable directory browsing, but I tired it anyway to see if it would work, and the file contents of the root were displayed.
May 06, 2012 02:05 AM|Bimalvv|LINK
Provide readonly access to the folder.
May 06, 2012 02:07 AM|mcleanap|LINK
To which folder?
May 06, 2012 03:19 AM|mcleanap|LINK
With the help of the host admins, they suggested using <modules runAllManagedModulesForAllRequests="true">
This did enable the website to work now, but I am a little hesitant on using this.
Would there be any other alternatives?
May 08, 2012 07:22 AM|Dino He - MSFT|LINK
In your server do you have the .net framework version on you dev machine?
You can try this:
How to fix “HTTP Error 403.14 – Forbidden The Web server is configured to not list the contents of this directory”
Hope it helpful.