In Windows2003 system, when uploading large files, the "request object error 'asp 0104: 66661'" error occurs.
Change the size of ASP files to 6.0 kb for IIS In win2003. Program No effect. In iis6.0, the default settings are especially strict and secure. Up to 204,800 bytes can be transferred, which can minimize attacks caused by too many loose timeouts and restrictions. For security reasons, IIS 6 sets the default maximum request value to 200 KB (that is, the maximum data submission quota is 200 Kbyte and 204800 bytes ). (This restriction is not available in versions earlier than IIS 6.0)
Solution
Method 1:
Step 1: Modify IIS settings to allow you to directly edit the configuration database. Open, Internet Information Service
Step 2: first disable the IIS Admin Service in the service and find metabase under windows \ system32 \ inetsrv. XML, open, find aspmaxrequestentityallowed and change it to the expected value. The default value is 204800, that is, 200 K. For example, change it to 51200000 (50 m ).
Restart the IIS Admin Service.
Method 2:
Create a text file with the following content:
'----------------------------------------------------
Set providerobj = GetObject ("winmgmts:/root/microsoftiisv2 ")
Set vdirobj = providerobj. Get ("iiswebvirtualdirsetting = 'w3svc/1/root '")
Wscript. Echo "before:" & vdirobj. aspmaxrequestentityallowed
Vdirobj. aspmaxrequestentityallowed = 51200000
Vdirobj. Put _()
Wscript. Echo "now:" & vdirobj. aspmaxrequestentityallowed
'----------------------------------------------------
Save it as a. vbs file, for example, VF. vbs.
Then, in command line mode, execute the cscript file path and file name, for example:
Cscript D: \ VF. vbs
In this way, the asp upload size is changed to the 51200000 bytes (50 MB) set above)