ASP upload file Error Request object wrong ASP 0104:80,004,005 does not allow operation

Source: Internet
Author: User
Tags metabase

First turn off the IIS Admin service in the service and locate the metabase located in C:/windows/system32/inetsrv. XML Open, find aspmaxrequestentityallowed change him to the desired value (such as 5120000 or 5M), default to 204800, or 200K, and then restart the IIS Admin service.

Note: Sometimes even if the IIS service is stopped, you are prompted not to save the file (reason.) I do not know, you can solve this problem, set the IIS Manager Web site properties, check "Allow direct edit configuration database" (as if such a few words, the specific I can not remember). Start the IIS server after the configuration file is set up, "Allow direct editing of the metabase" This property is best changed back again.

"Technical Background"

In IIS 6.0, the AspMaxRequestEntityAllowed property specifies the maximum number of bytes that can be used by an ASP request (request). If the Content-length header information contains a request that is longer than the aspmaxrequestentityallowed value, IIS returns a 403 error message.

This property value is similar to maxrequestentityallowed, but is requested for ASP. If you know that your ASP application only needs to handle very little request data, you can set the global MaxRequestEntityAllowed property to 1MB at the world Wide Web Publishing Service (WWW Publishing services) level and separate Set the aspmaxrequestentityallowed to a smaller value.

Related Article

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.