步骤1:
停止IIS服务。
修改win2003上传限制,找到windows\system32\inetsrv\metabase.xml文件
将其中的 aspmaxrequestentityallowed= 的值改为1073741824 (1G)

步骤2:

在<system.web></system.web>标签中添加配置

<httpruntime maxrequestlenth="1048576" executiontimeout="3600"/>

其中maxrequestlenth表示能上传的最大文件

executiontimeout表示上传的超时时间

 

posted on 2010-08-28 21:33  aparche  阅读(559)  评论(0编辑  收藏  举报