1、ii. System.web下修改节点HttpRuntime为

 <system.web>
    <compilation debug="true" targetFramework="4.5.2" />
    <httpRuntime maxRequestLength="2097151" executionTimeout="3600" useFullyQualifiedRedirectUrl="true" />
  </system.web>

 

2、Configuration节点下

<system.webServer>
    <security>
      <requestFiltering>
        <!--单位为字节 maxAllowedContentLength-->
        <requestLimits maxAllowedContentLength="2097151000"/>
      </requestFiltering>
    </security>
</system.webServer>

 

相关文章:

  • 2021-11-12
  • 2022-12-23
  • 2021-09-01
  • 2021-08-27
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2021-06-19
  • 2022-12-23
  • 2022-12-23
  • 2021-11-12
相关资源
相似解决方案