IIS 6.0 large file upload restrictions

Source: Internet
Author: User

Author: George Petrov
Link: asp? NewsId = 5424 & offset = 5 "target = _ blank> http://www.dmxzone.com/ShowDetail.asp? NewsId = 5424 & offset = 5
Translation: SiC

Symptoms:
When uploading files to Windows 2003 server + IIS 6.0 server, the following error occurs:
Request object error ASP 0104: 80004005
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 Publishing Service) level to 1 MB, set AspMaxRequestEntityAllowed to a smaller value.

Solution
Open metabase. XML in C: WindowsSystem32Inetsrv, and modify AspMaxRequestEntityAllowed for the value you need (for example, "1073741824", 1 GB ).

Note: Stop the IIS service before editing the file. Otherwise, the modified file cannot be saved.

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.