在web.config中的system.web 节点下添加如下代码:

第2行的maxRequestLength="8192",这里限制最大为8MB,可以自行设置。executionTimeout="800",executionTimeout预设(即默认)是 90 秒
1 <system.web>
2         <httpRuntime  maxRequestLength="8192" executionTimeout="800"/>
3     </system.web>

相关文章:

  • 2021-05-31
  • 2021-07-01
  • 2022-12-23
  • 2021-11-07
  • 2022-12-23
  • 2021-07-06
猜你喜欢
  • 2021-09-16
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-07-18
  • 2022-12-23
  • 2021-11-25
相关资源
相似解决方案