繁体   English   中英

错误101(net :: ERR_CONNECTION_RESET):连接已重置

[英]Error 101 (net::ERR_CONNECTION_RESET): The connection was reset

我已经开发了一个小的asp.net MVC3应用程序,我已经将视频文件上传到应用程序服务器路径。当我上传2MB视频文件时,它被上传。但是当它上传50mb文件时它显示的错误就像。

        This webpage is not available
 The webpage at http://localhost:1318/Campaign/Advertises might be temporarily down or it                
 may have moved permanently to a new web address.
 Here are some suggestions:
 Reload this web page later.
 Error 101 (net::ERR_CONNECTION_RESET): The connection was reset.

我在web.config文件中设置了执行时间和maxrequested长度。

  <httpRuntime maxRequestLength="20480" executionTimeout="12000"/>

我怎么解决这个请帮帮我..

<httpRuntime maxRequestLength="51200" executionTimeout="0"/>

这里

executionTimeout="0" takes unlimited time
maxRequestLength="51200"    for 1mb=1024  so for 50mb=51200

只是为了让下一个人的答案更加完整:

httpRuntime进入<system.web>

executionTimeout值0仅适用于某些版本的IIS

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM