修改配置文件Web.config
<httpRuntime targetFramework="4.5" maxRequestLength="2147483640" executionTimeout="300" />
<system.webServer>
<validation validateIntegratedModeConfiguration="false" />
<modules runAllManagedModulesForAllRequests="true" />
<security>
<requestFiltering>
<requestLimits maxAllowedContentLength="2147483647"></requestLimits>
</requestFiltering>
</security>
</system.webServer>
文件上传大小被限制的解决方案。,码迷,mamicode.com
时间: 2024-12-14 18:48:09