文件上传大小限制
web.config文件
<system.web> <httpRuntime targetFramework="4.5" maxRequestLength="204800" useFullyQualifiedRedirectUrl="true" minFreeThreads="8" minLocalRequestFreeThreads="4" appRequestQueueLimit="100" enableVersionHeader="true" executionTimeout="6000" /> </system.web>
<system.webServer> <security> <requestFiltering> <requestLimits maxAllowedContentLength="2097152000" maxQueryString="5000" maxUrl="8000"></requestLimits> </requestFiltering> </security> </system.webServer>