简体   繁体   English

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

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

I have develop a small asp.net MVC3 application in that i have upload a video files into Application server path.When i upload 2MB video file it is uploded .But when itry to upload 50mb file it is showing error like . 我已经开发了一个小的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.

I have set the execution time and maxrequested length in web.config file. 我在web.config文件中设置了执行时间和maxrequested长度。

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

How can i solve this please help me.. 我怎么解决这个请帮帮我..

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

Here 这里

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

Just to make the answer more complete for the next guy: 只是为了让下一个人的答案更加完整:

httpRuntime goes in <system.web> httpRuntime进入<system.web>

executionTimeout value of 0 only works for some versions of IIS executionTimeout值0仅适用于某些版本的IIS

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

相关问题 得到 <URL> 网:: ERR_CONNECTION_RESET - GET <URL> net::ERR_CONNECTION_RESET IIS Localhost Asp Net MVC应用程序抛出Erro 101(net :: ERR_CONNECTION_RESET) - IIS Localhost Asp Net MVC application trows Erro 101 (net::ERR_CONNECTION_RESET) ASP.NET 4.6-ERR_CONNECTION_RESET - Asp.net 4.6 - ERR_CONNECTION_RESET 我的web api只从ajax客户端发出net :: ERR_CONNECTION_RESET错误 - My web api gives net:: ERR_CONNECTION_RESET error only from ajax client JavaScript获取请求错误:无法加载资源:net :: ERR_CONNECTION_RESET - JavaScript get request error: Failed to load resource: net::ERR_CONNECTION_RESET 对 ASP.NET MVC 控制器的 Ajax POST 调用给出 net::ERR_CONNECTION_RESET - Ajax POST call to ASP.NET MVC controller giving net::ERR_CONNECTION_RESET 安装 Visual Studio 2017 Enterprise 后的 ERR_CONNECTION_RESET - ERR_CONNECTION_RESET after installing Visual Studio 2017 Enterprise Web API 2和IIS 10-零星的ERR_CONNECTION_RESET - Web API 2 and IIS 10 - Sporadic ERR_CONNECTION_RESET 从IIS获取ERR_CONNECTION_RESET,日志中没有信息 - Getting ERR_CONNECTION_RESET from IIS with no information in logs 尝试访问ASP.NET Web App项目上的localhost时出现ERR_CONNECTION_RESET - ERR_CONNECTION_RESET when trying to access localhost on ASP.NET Web App project
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM