IIS7上传4M文件以上文件出现“Post大小超出允许的限制”错误解决方法

在web.config文件中的system.web节点中添加如下这句,即40M
    <system.web>
<httpRuntime maxRequestLength = "40960" useFullyQualifiedRedirectUrl="true"/>
    </system.web>