把以下内容加在web.config的<system.webServer>节点

<security>
<requestFiltering >
<requestLimits maxAllowedContentLength="1024000000" ></requestLimits>
</requestFiltering>
</security>

上述中maxAllowedContentLengt是以字节为单位,1024000000差不多就是1G

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2021-11-10
  • 2021-07-12
  • 2022-02-19
猜你喜欢
  • 2021-06-19
  • 2021-06-22
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案