IIS 6 出于安全考虑, 默认最大请求200K(也即最大提交数据限额为200KByte, 204800Byte).
解决办法:
Addon: 解决方法2
1. 新建文本文件:'use VBS set obj1=GetObject("winmgmts:/root/MicrosoftIISv2") set obj2=obj1.get("IIsWebVirtualDirSetting='W3SVC/1/ROOT'") 'Output default value WScript.Echo "AspMaxRequestEntityAllowed Default Value: " & obj2.AspMaxRequestEntityAllowed 'Reset the value obj2.AspMaxRequestEntityAllowed=1024000 ' set to 1mbyte, u can set to other what you want :) ' Save data obj2.Put_() 'Output new value WScript.Echo "AspMaxRequestEntityAllowed New Value: " & obj2.AspMaxRequestEntityAllowed
2. 保存为requestchange.vbs 3. 进入命令行, 运行: cscript [path]requestchange.vbs