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.