Monday, May 22, 2017

HTTP Error 403.14 - Forbidden The Web server is configured to not list the contents of this directory.

Solution:


<system.webServer>
    <defaultDocument>
      <files>
        <add value="WebForm1.aspx" />
      </files>
    </defaultDocument>
    <directoryBrowse enabled="false" />
  </system.webServer>

In place of WebForm1.aspx you need to put your webform name.

No comments:

Followers

Link