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

步骤2:

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

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

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

executiontimeout表示上传的超时时间

 

相关文章:

  • 2022-01-16
  • 2022-12-23
  • 2022-01-26
  • 2021-06-21
  • 2022-12-23
  • 2022-01-25
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2022-01-02
  • 2022-12-23
  • 2022-01-09
  • 2022-01-14
相关资源
相似解决方案