首页 > Web开发 > 详细

IIS: 配置web.config解决Maximum request length exceeded错误

时间:2015-10-13 15:19:38      阅读:394      评论:0      收藏:0      [点我收藏+]

In system.web

<httpRuntime maxRequestLength="1048576" executionTimeout="3600" />

And in system.webServer

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

IMPORTANT : Both of these values must match. In this case, my max upload is 1024 megabytes.

maxRequestLength has 1048576 KILOBYTES, and maxAllowedContentLength has 1073741824 BYTES.

IIS: 配置web.config解决Maximum request length exceeded错误

原文:http://www.cnblogs.com/ilovewindy/p/4874630.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!