Site menu:

 

十一月 2006
    十二 »
 12345
6789101112
13141516171819
20212223242526
27282930  

分类目录

最近文章

最近评论

Site search

标签

文章

Links:

IIS 突破只能上传或者生成100K 文件的限制

windows2003的IIS有限制文件上传大小问题wndows2003的IIS有限制文件上传大小问题
超过200K的文件就传不上去了,大家可要注意了,以后要是用IIS6.0做服务器可就要注意了
Win2003的IIS 6.0对asp的上传文件大小为200k限制,aspx的上传程序没有影响。在IIS6.0中,默认设置是特别严格和安全的,最大只能传送 204,800 个字节,这样可以最大限度地减少因以前太宽松的超时和限制而造成的攻击。IIS 6 出于安全考虑, 默认最大请求是200K(也即最大提交数据限额为200KByte,204800Byte)。(在 IIS 6.0 之前的版本中无此限制)。
解决办法:
1. 关闭 IIS Admin Service 服务
2. 打开 %WinDir%\system32\inetsrv\metabase.xml
3. 修改 AspMaxRequestEntityAllowed 的值为自己需要的, 默认为 204800
4. 启动 IIS Admin Service

Comments

Comment from fobbing fusion
Time 2007年10月18日 at 8:44 下午

Paramount among the responsibilities of a free press is the duty to prevent any part of the government from deceiving the people — Hugo Black, Supreme Court Justice

Comment from dread-bolted means
Time 2007年10月23日 at 9:16 下午

If electricity comes from electrons, does that mean that morality comes from morons? — Unknown

Write a comment