IIS publishing Web site error Resolution

Source: Internet
Author: User

1. First Class error (Web server is configured to not list contents of this directory)

The problem does not set the default document for the requested URL, and in the IIS "default document" add a default document name that you want to access, such as: Default.aspx.

2, the second type of error (the content of the request appears to be a script, so there will be no static file handlers to handle)

This occurs because the framework is installed first, after IIS is installed;

Workaround:

The mapping for ASP. NET 4.0 is missing from the handler mappings and needs to be added.

How to: Open the command line as an administrator and run the following command:

C:\Windows\Microsoft.NET\Framework\v4.0.30319\aspnet_regiis-i

Where v4.0.30319 is the. NETFramework version number

IIS publishing Web site error Resolution

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.