Server error in Application "HMW121197"
Error summary
HTTP Error 403.14-forbidden
The WEB server is configured to not list the contents of this directory.
Detailed error message module Directorylistingmodule
Notify Executerequesthandler
Handler Staticfile
Error code 0x00000000
The most probable cause:
No default document is configured for the requested URL, and directory browsing is not enabled on the server.
Actions you can try:
If you do not want to enable directory browsing, make sure that you have configured the default document and that the file exists.
Use IIS Manager to enable directory browsing.
Open IIS Manager.
In the features view, double-click Directory Browsing.
On the Directory browsing page, in the actions pane, click Enable.
Confirm that the Configuration/system.webserver/[email protected] attribute in the site or application configuration file is set to True.
Solution:
The first step: check that the. NET version of the server is already consistent with the version of the MVC program that was published.
Step Two: see if the system.web configuration section of Web. config has this sentence:
<modules runallmanagedmodulesforallrequests= "true" ></modules>
No, plus try.
Module Directorylistingmodule Notification Executerequesthandler handler staticfile error code 0x00000000 when publishing an MVC project to the server