在WIN2003,IIS6下 adodb.stream 的问题。

maskzha 2004-06-21 11:18:37
当文件大于1K时就会出现如下错误。
提示
Request 对象 错误 'ASP 0104 : 80004005'
不允许操作
文件为几十K的时候正常。
上传文件夹WEB共享属性也设置为写入,IIS匿名访问的角色设置为作者,还是不行。


...全文
114 5 打赏 收藏 转发到动态 举报
写回复
用AI写文章
5 条回复
切换为时间正序
请发表友善的回复…
发表回复
maskzha 2004-06-21
  • 打赏
  • 举报
回复
up
gzsxy8013 2004-06-21
  • 打赏
  • 举报
回复
更改metabase.xml文件,
看看 AspMaxRequestEntityAllowed
IIS 6.0 默认是 204,800 bytes。
对的

就是这样
arrowy 2004-06-21
  • 打赏
  • 举报
回复
up
正在学习 2004-06-21
  • 打赏
  • 举报
回复
http://blog.joycode.com/ghj/posts/9943.aspx
因为iis默认设置中最大只能接受200K的内容。是这里造成的原因。
IIS6 可以做以下调整。

先在服务里关闭iis admin service服务
找到windows\system32\inesrv\下的metabase.xml,
打开,找到ASPMaxRequestEntityAllowed 把他修改为需要的值,默认为204800,即200K
然后重启iis admin service服务

把它修改为51200000(50M)

IIS5.0/4.0 在注册表内
Description of the MaxClientRequestBuffer Registry Value
http://support.microsoft.com/?id=260694
Run the Registry Editor (Regedt32.exe).
Locate the following key in the registry:
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\w3svc\parameters

From the Edit menu, select Add Value, and then add the following registry value:
Value Name: MaxClientRequestBuffer
Data Type: REG_DWORD

In the DWORD Editor dialog box, under Radix, select Decimal. In the Data text box, type the number of bytes for the maximum URL request size.

Note You must restart the IIS service for the changes to take effect.

ceocio 2004-06-21
  • 打赏
  • 举报
回复
更改metabase.xml文件,
看看 AspMaxRequestEntityAllowed
IIS 6.0 默认是 204,800 bytes。

28,390

社区成员

发帖
与我相关
我的任务
社区描述
ASP即Active Server Pages,是Microsoft公司开发的服务器端脚本环境。
社区管理员
  • ASP
  • 无·法
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧