Error: Request object error “ASP 0104 : 80004005"

分类:服务器| 发布:camnprbubuol| 查看: | 发表时间:2011/9/8
Error:
Request object error
’ASP 0104 : 80004005’ Operation not Allowed
 
Reason:
IIS6.0 prevents the upload of files more than +200Kb. So you need to make some changes in the default IIS settings first.
 
Background:
For IIS6.0 users, the AspMaxRequestEntityAllowed property specifies the maximum number of bytes allowed in the entity body of an ASP request. If a Content-Length header is present and specifies an amount of data greater than the value of AspMaxRequestEntityAllowed, IIS returns a 403 error response. This property is related in function to MaxRequestEntityAllowed, but is specific to ASP request. Whereas you might set the MaxRequestEntityAllowed property to 1 MB at the general World Wide Web Publishing Service (WWW Service) level, you may choose to set AspMaxRequestEntityAllowed to a lower value, if you know that your specific ASP applications handle a smaller amount of data.
 
Solution:
Open your metabase.XML which is located in c:\Windows\System32\Inetsrv find the line "AspMaxRequestEntityAllowed" and change it to "1073741824". This is 1GB - of course you can enter another value to suite your needs. NOTE: Before you edit the file, be sure to stop the IIS service first or else you won’t be able to save the file.


http://dmxready.helpserve.com/index.php?_m=knowledgebase&_a=viewarticle&kbarticleid=23&ratingconfirm=1

 

=================================================================================

 

正文: 
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.
365据说看到好文章不转的人,服务器容易宕机
原创文章如转载,请注明:转载自郑州网建-前端开发 http://camnpr.com/
本文链接:http://camnpr.com/archives/418.html