[英]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.