Change the Win2003 IIS 6.0 for the upload file size of the ASP is 200K, and the uploading program of the ASPX has no effect. In IIS6.0, the default settings are especially stringent and secure, and only 204,800 bytes can be transmitted, which minimizes attacks caused by the previous timeout and restrictions of too loose. IIS 6 is for security reasons, the default maximum request is 200K (i.e., the maximum submission data limit is 200kbyte, 204800byte). (None This limit in IIS 6.0) Solution 1: New a text file, the content is as follows: '------------------------- --------------------------- set providerobj = getObject ("Winmgmts: / root / microsoftiisv2") set vdirobj = proviDerobj.get ("IisWebVirtualDirseTing = 'W3SVC / 1 / ROOT' ") WScript.Echo" Before: "& vdirObj.AspMaxRequestEntityAllowed vdirObj.AspMaxRequestEntityAllowed = 51200000 vdirObj.Put_ () WScript.Echo" Now: "& vdirObj.AspMaxRequestEntityAllowed '------- -------------------------------------------- then save it to .vbs Files, such as: vf.vbs, in command line mode, execute the CScript file path and file name, such as: CScript D: /VF.vbs This ASP upload size is changed to the above: 51200000 bytes (50 megabits) Undeced test)
Solution 2: Win2003's IIS6 limits the Upload size of the ASP is 200K, and the ASPX uploader does not affect 1. First check the options in IIS settings:
IIS Server Properties -> Allow Direct Edit Configuration Database
2, close the IIS Admin Service service in the service
3, find Metabase.xml under Windows / System32 / Inesrv / under, open, find AspMaxRequestentityAllowed to modify him to the required value, default is 204800, 200K, then restart IIS Admin Service service