<?xml version="1.0" encoding="UTF-8" ?>
<rss version="2.0">
<channel>
<title><![CDATA[gOxiA=苏繁=SuFan Blog]]></title> 
<link>https://sufan.maytide.net/index.php</link> 
<description><![CDATA[gOxiA,苏繁,sufan,Microsoft MVP]]></description> 
<language>zh-cn</language> 
<copyright><![CDATA[gOxiA=苏繁=SuFan Blog]]></copyright>
<item>
<link>https://sufan.maytide.net/read.php/782.htm</link>
<title><![CDATA[IIS6上传文件尺寸太小解决办法]]></title> 
<author>gOxiA &lt;sufan_cn@msn.com&gt;</author>
<category><![CDATA[Microsoft IIS]]></category>
<pubDate>Fri, 30 Jul 2004 07:22:00 +0000</pubDate> 
<guid>https://sufan.maytide.net/read.php/782.htm</guid> 
<description>
<![CDATA[ 
	IIS 6 出于安全考虑, 默认最大请求200K(也即最大提交数据限额为200KByte, 204800Byte).<br/><br/>解决办法: <br/><br/><div class="code">1. 关闭 IIS Admin Service 服务 <br/><br/>2. 打开 \Windows\system32\inesrv\metabase.xml <br/><br/>3. 修改 ASPMaxRequestEntityAllowed 的值为自己需要的, 默认为 204800 <br/><br/>4. 启动 IIS Admin Service</div><br/><br/>Addon: 解决方法2<br/><br/>1. 新建文本文件：<br/><div class="code">'use VBS <br/>set obj1=GetObject(\&quot;winmgmts:/root/MicrosoftIISv2\&quot;) <br/>set obj2=obj1.get(\&quot;IIsWebVirtualDirSetting='W3SVC/1/ROOT'\&quot;) <br/>'Output default value <br/>WScript.Echo \&quot;AspMaxRequestEntityAllowed Default Value: \&quot; &amp; obj2.AspMaxRequestEntityAllowed <br/>'Reset the value <br/>obj2.AspMaxRequestEntityAllowed=1024000 ' set to 1mbyte, u can set to other what you want :) <br/>' Save data <br/>obj2.Put_() <br/>'Output new value <br/>WScript.Echo \&quot;AspMaxRequestEntityAllowed New Value: \&quot; &amp; obj2.AspMaxRequestEntityAllowed</div><br/><br/>2. 保存为<div class="code">requestchange.vbs</div><br/><br/>3. 进入命令行, 运行: <br/><div class="code">cscript [path]requestchange.vbs</div>
]]>
</description>
</item>
</channel>
</rss>