控制上传大小

  <httpRuntime requestValidationMode="2.0" maxRequestLength="524288000" useFullyQualifiedRedirectUrl="false" executionTimeout="3600"  maxQueryStringLength="102400"/>

<system.webServer>
<security>
<requestFiltering>
<requestLimits maxAllowedContentLength="1048576000" maxQueryString="102400" />
</requestFiltering>
</security>     
</system.webServer>
<system.webServer>

 

 

maxAllowedContentLength=xxxxxx 单位k

 

 

转载:https://www.cnblogs.com/pukua/p/12598091.html

 

posted @ 2020-04-14 16:02  绯颜旧雨  阅读(145)  评论(0编辑  收藏  举报