話不多說,隨小編一起看看下面代碼吧
i. Configuration節點下
<system.webServer>
<security>
<requestFiltering>
<!--單位為字節 maxAllowedContentLength-->
<requestLimits maxAllowedContentLength="2097151000"/>
</requestFiltering>
</security>
</system.webServer>
ii. System.web下修改節點HttpRuntime為
<!--單位為KB maxRequestLength-->
<httpRuntime maxRequestLength="2097151" executionTimeout="3600" useFullyQualifiedRedirectUrl="true" />
以上就是本文的全部內容,希望本文的內容對大家的學習或者工作能帶來一定的幫助,同時也希望多多支持幫客之家!