Win2003 Uploads Cannot Do more than 200K solutions (VBS script program method, manual modification method) -2006-6-24-1

xiaoxiao2021-04-09  333

Win2003 can not exceed 200K solutions under Win2003

Cause: In IIS 6.0, the default settings are especially stringent and secure, which minimizes attacks caused by the previous timeout and limitations. Configuring the maximum ASP post size implementation of database properties is 204,800 bytes, and the individual fields are limited to 100 KB. In the version before IIS 6.0, there is no post limit. This caused the document to be uploaded more than 200K, and in fact, the data cannot be more than 200K, you can send a long post to try, there will be this error Solution: New a text file, the content is as follows: set provikebobj = GetObject ( "winmgmts: / root / MicrosoftIISv2") set vdirObj = providerObj.get ( "IIsWebVirtualDirSetting = 'W3SVC / 1 / ROOT'") 'output current value: WScript.Echo "Before:" & vdirObj.AspMaxRequestEntityAllowed' set properties: vdirobj.aspMaxRequestentityAllowed = 10000000 'Save the property to the configuration database: vdirobj.put_ ()' Output changes WScript.echo "now:" & vdirobj.aspmaxrequestentityAllowed then saved as .vbs file, such as filename.vbs then In command line mode, execute the CScript file path and file name, such as CScript c: /filename.vbs, this ASP post size is changed to the top of the 10000000 above settings may not solve the problem, then use this method first in the service Close IIS Admin Service Service Find meetabase.xml under Windows / System32 / InetSRV /, open, find AspMaxRequestentityAllowed to modify him to the required value, then restart IIS Admin Service service

转载请注明原文地址:https://www.9cbs.com/read-133023.html

New Post(0)