Request object error ASP 0104: 80004005 operation not allowed

Source: Internet
Author: User
Tags website server
The website Server is a win2003 system. When a 0104 K attachment is uploaded today, the system prompts: The request object error 'asp 80004005: 100' is not allowed to operate/up/upload. asp, line 20. Strange, is it Program If an error occurs, test Windows XP on the Local Computer and check whether it is normal. It should be a problem with the server win2003.

 

The operating system of the server is Windows 2003 Server + IIS 6.0 server. Cause: iis6.0 prohibits uploading files larger than kb. Therefore, you must modify the default settings of IIS.

 

To disable the IIS Admin Service in the service, locate metabase in c: \ windows \ system32 \ inetsrv. open XML and find aspmaxrequestentityallowed to change it to the required value (for example, 5120000 is 5 m). The default value is 204800, that is, 200 K, and then restart the IIS Admin Service.

 

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 direct editing of the configuration database, allows you to edit the IIS configuration database configuration file When IIS is running ".

 

[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 Publishing Service) level to 1 MB, set 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.