在web.config里配置
<system.web>
<compilation debug="true" targetFramework="4.5"/>
<httpRuntime maxRequestLength="1024000000" executionTimeout="200" enable="true"/>
<pages controlRenderingCompatibilityVersion="4.0"/>
</system.web>
<system.webServer>
<security>
<requestFiltering >
<requestLimits maxAllowedContentLength="1024000000" ></requestLimits>
</requestFiltering>
</security>
</system.webServer>










网友评论