web报错 文件上传“超过了最大请求长度”
时间:2021-03-17 14:07:55
收藏:0
阅读:0
原因:asp.net默认最大上传文件大小为4M,运行超时时间为90S。
修改web.config文件可以改变这个默认值
<configuration>
<system.web>
<httpRuntime maxRequestLength="1048576" executionTimeout="3600" />
</system.web>
<configuration>
评论(0)