I have developed a website using Razor (Microsoft WebMatrix) and now I want to make it available on an intranet. My server is running Windows Server 2008 Standard. The problem is that when I try to access the website I get the following error: HTTP Error 403.14 – Forbidden, The web server is configured to not list the contents of this directory.
If anyone have seen this error before or knows how to fix it, please tell me. I have found a lot of similar problems on forums but none of the solutions worked for me.
It’s working, I just had to add the next lines to the web.config: