标题: 解决 ASP 最大输入为 200KB 字节的问题/error 'ASP 0104 : 80004005' By Stabx
正文:
QUOTE:
解决 ASP 最大输入为 200KB 字节的问题/Request object error 'ASP 0104 : 80004005' By Stabx
有时会有一大堆资料要录入, 大于 200KB 就会遇到类似于下面的问题:
CMD 下输入:
cscript %systemdrive%/Inetpub/AdminScripts/adsutil.vbs set w3svc/ASPMaxRequestEntityAllowed 10,485,760
显示结果:
有时会有一大堆资料要录入, 大于 200KB 就会遇到类似于下面的问题:
CODE:
放狗找了一下, IIS 的贱窝说 ASP 默认只接受字节为 204,800 bytes/200KB 以内的数据.
还好, 可以改变, 最大为 1,073,741,824 bytes/1GB 字节.
这是我的更改, 设置为 10 MB:
CODE:
shawl.qiu<shawl.qiuATgmail.com>
绿色学院 | http://blog.csdn.net/btbtd/
2006-6-4
CMD 下输入:
cscript %systemdrive%/Inetpub/AdminScripts/adsutil.vbs set w3svc/ASPMaxRequestEntityAllowed 10,485,760
显示结果:
CODE:
Microsoft (R) Windows Script Host Version 5.6
Copyright (C) Microsoft Corporation 1996-2001. All rights reserved.
ASPMaxRequestEntityAllowed : (INTEGER) 10485760
Copyright (C) Microsoft Corporation 1996-2001. All rights reserved.
ASPMaxRequestEntityAllowed : (INTEGER) 10485760
Request object error 'ASP 0104 : 80004005'
Operation not Allowed
/./include/top.asp, line 52
Operation not Allowed
/./include/top.asp, line 52
CODE:
附:
1,073,741,824
//1 GB
10,485,760
//10 MB
主文件:
D:/WINDOWS/system32/inetsrv/MetaBase.xml
查找: AspMaxRequestEntityAllowed
MS 的详细解述:
http://support.microsoft.com/kb/327659/en-us
1,073,741,824
//1 GB
10,485,760
//10 MB
主文件:
D:/WINDOWS/system32/inetsrv/MetaBase.xml
查找: AspMaxRequestEntityAllowed
MS 的详细解述:
http://support.microsoft.com/kb/327659/en-us