Solved ASP Component-less upload error: request object error 'asp 0104: 8080' no operation allowed

Source: Internet
Author: User
ASP 0104: 80004005
Win2003 asp upload size limit

Solve the ASP Component-less upload error: the request object error 'asp 0104: 66661' is not allowed to operate-80004005 Server

Symptoms:
When uploading files to Windows 2003 Server + IIS 6.0 server, the following error occurs:
Request object error 'asp 0104: 8080'
Operation prohibited
/Upload. asp, line 40

Cause:
Iis6.0 prohibits uploading files larger than kb. Therefore, you need to modify the default settings of IIS.

Technical Background
In IIS 6.0, the aspmaxrequestentityallowed attribute specifies the maximum number of bytes that an ASP request can use. if the request length contained in the Content-Length header exceeds the value of aspmaxrequestentityallowed, IIS returns a 403 error message.
This attribute value is similar to maxrequestentityallowed, but is for ASP requests. if you know that your ASP application only needs to process a small amount of request data, you can set the global maxrequestentityallowed attribute at the World Wide Web Hing Service (WWW producer service) level to 1 MB, set aspmaxrequestentityallowed to a smaller value.

Solution
Open metabase. XML in c: \ windows \ system32 \ inetsrv, and modify aspmaxrequestentityallowed for the value you need (such as 51200000, 50 MB ).

Note: If the IIS service is not stopped before editing the file, the modified file cannot be saved.

If you want to modify the configuration file When IIS is running, open the IIS manager, open the Internet information service attribute panel, and select "allow directly edit the configuration database, allows you to edit the IIS configuration database configuration file When IIS is running 」

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.