当前位置: 首页 > 图文教程 > 操作系统 > Windows > 解决IIS 6.0 中无法上传超过200K以及无法下载超过4M 的附件

Windows
Windows Server 2008网络中顺畅访问“邻居”
Windows Server 2008使用软件授权管理工具
Windows HPC Server 2008背后的中国团队
九种方式打造安全的Win Server 2008
Windows Server 2008下的自助安全防御
Windows Server 2008之数据安全保护
Windows Server 2008下利用Diskpart管理磁盘
Windows Server 2008添加Hyper-V组件
自我挖掘,Windows Server 2008数据备份有门道
Windows Server 2008 Core下如何安装Hyper-V
Windows Server 2008的节能降耗
Windows Server 2008 蓝牙驱动安装方法
Windows Server 2008 防火墙配置
Windows Server 2008 网络管理技巧
Tech Ed 2008:HPC Server 2008讲解
调教Windows server 2008系统菜单
Windows Server 2008系统10个意外惊喜
让你的Windows server 2008 更安全
Windows Server 2008下 驾驭拨号上网
Windows Server 2008服务器系统数据安全

Windows 中的 解决IIS 6.0 中无法上传超过200K以及无法下载超过4M 的附件


出处:互联网   整理: 软晨网(RuanChen.com)   发布: 2010-01-16   浏览: 124 ::
收藏到网摘: n/a

在 IIS 6.0 中,默认设置是特别严格和安全的,最大只能传送 204,800 个字节,这样可以最大限度地减少因以前太宽松的超时和限制而造成的攻击。(在 IIS 6.0 之前的版本中无此限制)

解决办法
1、先在服务里关闭 iis admin service 服务
2、找到 windows\system32\inetsrv\ 下的 metabase.xml 文件。
3、用纯文本方式打开,找到 ASPMaxRequestEntityAllowed 把它修改为需要的值(可修改为10M即:10240000),默认为:204800,即:200K。
4、存盘,然后重启 iis admin service 服务


在 IIS 6.0 中,无法下载超过4M的附件时,可以按以下步骤解决
1、先在服务里关闭 iis admin service 服务
2、找到 windows\system32\inetsrv\ 下的 metabase.xml 文件。
3、用纯文本方式打开,找到 AspBufferingLimit 把它修改为需要的值(可修改为20M即:20480000)。
4、存盘,然后重启 iis admin service 服务