19 June 2017

HTTP Error 403.14 - Forbidden

When I published my web application this morning, I got this Error:

HTTP Error 403.14 - Forbidden

The Web server is configured to not list the contents of this directory.

Luckily, I remembered the one-liner script that I added to web.config 2 years ago when I experienced the same error when I published and deployed my ASP.NET MVC application for one of my clients.

Okay, to fix this error, simply add the script below to your web.config file:

    <directoryBrowse enabled="true" />

No comments:

Post a Comment