Module Directorylistingmodule Notification Executerequesthandler handler staticfile error code 0x00000000 when publishing an MVC project to the server

Source: Internet
Author: User

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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.