This article is a mirror article of machine translation, please click here to jump to the original article.

View: 20808|Reply: 3

[Web] iis7 posts mvc HTTP error 403.14 - Forbidden web server is configured not to list this directory...

[Copy link]
Posted on 9/8/2015 11:06:24 PM | | | |


Error posted on IIS 7 for MVC: 403.14 - Forbidden web server is configured not to list the contents of this directory

After tossing for a long time, the solution in the prompt is:

If you do not want to enable directory browsing, make sure that the default document is configured and that the file exists.
Use IIS Manager to enable catalog browsing.
Open IIS Manager.
In the Features view, double-click Catalog Browse.
On the Catalog Browse page, click Enable in the Actions pane.
Verify that the configuration/system.webServer/directoryBrowse@enabled property in the site or application configuration file is set to True.
After changing according to this method, I found that the web page running interface became a directory structure, and later I found that after changing the configuration section of the configuration file web.config configuration file, the website can be used normally, record it.

<system.webServer>
<modules runAllManagedModulesForAllRequests="true" />
</system.webServer>

The <modules>value of the section to be set to true does not actually affect whether directory browsing is enabled or disabled.





Previous:. Net's MD516-bit encryption for uppercase and lowercase letters
Next:In addition to the Garden Expo, what else can Wuhan people participate in in September?
Posted on 6/17/2016 5:58:05 PM |
HTTP Error 403.14 - Forbidden
The web server is configured not to list the contents of this directory.
Detailed error information
Module DirectoryListingModule
ExecuteRequestHandler
handler StaticFile
Error code 0x00000000
Requested URL http://192.168.2.116:80/
Physical path E:\wwwroot
Login method anonymously
Logged in users anonymously
Most likely causes:
No default documentation is configured for the requested URL, and directory browsing is not enabled on the server.
What to try:
If you do not want to enable directory browsing, make sure that the default document is configured and that the file exists.
Use IIS Manager to enable catalog browsing.
Open IIS Manager.
In the Features view, double-click Catalog Browse.
On the Catalog Browse page, click Enable in the Actions pane.
Verify that the configuration/system.webServer/directoryBrowse@enabled property in the site or application configuration file is set to True.
Posted on 6/17/2016 6:00:47 PM |

If you can't complete these two steps, then try to register the .NET framework again, of course, this step can also be ranked first.

32-bit Windows:
---------------------------------------------------------------------------
1. Run->cmd

2. cd  C:\Windows\Microsoft.NET\Framework\v4.0.30319

3. aspnet_regiis.exe -i



64-bit Windows:
---------------------------------------------------------------------------
1. Run->cmd

2. cd  C:\Windows\Microsoft.NET\Framework64\v4.0.30319

3. aspnet_regiis.exe -i
 Landlord| Posted on 8/2/2017 1:46:50 PM |
mvc Directory Listing Denied This Virtual Directory does not allow contents t...
http://www.itsvse.com/thread-3877-1-1.html
(Source: Architect)
Disclaimer:
All software, programming materials or articles published by Code Farmer Network are only for learning and research purposes; The above content shall not be used for commercial or illegal purposes, otherwise, users shall bear all consequences. The information on this site comes from the Internet, and copyright disputes have nothing to do with this site. You must completely delete the above content from your computer within 24 hours of downloading. If you like the program, please support genuine software, purchase registration, and get better genuine services. If there is any infringement, please contact us by email.

Mail To:help@itsvse.com