=================================================================================
正文:
QUOTE:
解决 ASP 最大输入为 200KB 字节的问题/Request object error ’ASP 0104 : 80004005’ By Stabx
有时会有一大堆资料要录入, 大于 200KB 就会遇到类似于下面的问题:
CODE:
放狗找了一下, IIS 的贱窝说 ASP 默认只接受字节为 204,800 bytes/200KB 以内的数据.
还好, 可以改变, 最大为 1,073,741,824 bytes/1GB 字节.
这是我的更改, 设置为 10 MB:
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
Request object error ’ASP 0104 : 80004005’
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
============================================================================================
Request object error ’ASP 0104 : 80004005’
Sample PDshop Error: |
Request object error ’ASP 0104 : 80004005’ Operation not Allowed /admin/savefile.asp, line 51 |
Solution/Workaround: |
This is a server side issue related to the settings related to the IIS service. When you received this error, the amount of data that can be received in the "request object" is likely restricted, some servers have a restriction as low as 200 KB. To work around this issue, you should contact your web Administrator or use 3rd party FTP software to upload larger files. There are some technical workarounds, related to the metabase.xml, such as modifying these settings: Change AspMaxRequestEntityAllowed="204800" to AspMaxRequestEntityAllowed="10238976" However, we do not provide support for server side modifications such as this. |