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 」