[no0000117] visual studio debug webform display HTTP error 403.14 – Forbidden web server is configured not to list the contents of this directory.

Don’t panic in case of data tilt, teach you to easily obtain the slope of table tilt>>>

The debugging interface is as follows:

Solution 1: right click to set the start page

Impact documents:

Solution 2: add default page configuration in web.config

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

If there is no default page, you can set the permission to open the directory

<system.webServer>
    <directoryBrowse enabled="true" />
</system.webServer>

Of course, you can set the above configuration at the same time:

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

Similar Posts: