asp.net fileupload上传大文件错误问题
利用ajax和fileupload上传大文件时错误问题总结:
asp.net上传文件限制主要是iis的限制,修改限制的方法主要是在web.config设置进行设置,第一:
<system.web>
<httpRuntime maxRequestLength="2097151" maxQueryStringLength="2097151" maxUrlLength="2097151" executionTimeout="3600"/>
</system.web>
第二:
<system.webServer>
<security>
<requestFiltering>
<requestLimits maxAllowedContentLength="2147483647"></requestLimits>
</requestFiltering>
</security>
</system.webServer>
注意:前者大小限制单位为kb,后者为字节,如果文件突破后者限制,会

浙公网安备 33010602011771号