上传大文件,uploadify就会报错:超过了最大请求长度。
错误原因:asp.net默认最大上传文件大小为4M,运行超时时间为90S。
解决方案:
修改web.config文件可以改变这个默认值
<configuration>
<system.web>
<httpRuntime maxRequestLength="1048576" executionTimeout="3600" />
</system.web>
<configuration>