通过webconfig设置iis上传大小限制

2018-08-22 16:40:02 5491

通过webconfig设置iis上传大小限制


使用requestFiltering字节设置大小
使用httpRuntime executionTimeout设置时间

代码实例如下

<?xml version="1.0" encoding="UTF-8"?>
<configuration>
    <system.webServer>
        <security>
            <requestFiltering>
                <requestLimits maxAllowedContentLength="4294967295" />
            </requestFiltering>
        </security>
    </system.webServer>
    <system.web>
        <httpRuntime executionTimeout="1800" />
    </system.web>
</configuration>


提交成功!非常感谢您的反馈,我们会继续努力做到更好!

这条文档是否有帮助解决问题?

非常抱歉未能帮助到您。为了给您提供更好的服务,我们很需要您进一步的反馈信息:

在文档使用中是否遇到以下问题: