获取连接于asp.net错误复位 [英] getting a connection was reset error on asp.net

查看:165
本文介绍了获取连接于asp.net错误复位的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试试图上传的视频和音频文件的直播网站。例子:domain.com/admin/fileupload.aspx这是一个网址。我用这个code在web.config中这样的:

I'm am try trying to upload Video and audio file on live website. the example: domain.com/admin/fileupload.aspx that was a url. I use this code in web.config this :

<的httpRuntime executionTimeout =1000的maxRequestLength =1048576/>

本web.config中的设置,我没有得到的错误是连接上正在本地主机上运行时错误复位:端口/ domainfolder /管理/ fileupload.aspx非常好。
但不工作活结构域。我也试试这个活web.confg设置,为

with this web.config setting i didn't get The error connection was reset error on run time that is working on localhost:port/domainfolder/admin/fileupload.aspx very well. but that is not working on live domain. i also try this in live web.confg setting that is

<httpRuntime maxRequestLength="2000000000" executionTimeout="999999"/>

但这不是工作,得到同样的错误。请帮我我怎么能解决这个问题。我要上传在网站上的大文件以往的视频和60MB左右的音频文件大小为5GB左右,请让我知道如何解决这个错误连接被直播网站复位。
谢谢

but this is not working and getting same error. please help me out how can i solve this problem. I want to upload big files on web site ever video and audio file size around 60MB to 5GB around please let me know how can i fix this error connection was reset on live website. Thank you

推荐答案

如果您使用的是IIS7然后有一个内置的极限30MB的IIS(请求过滤功能)
您可以通过运行以下命令更改

If you are using IIS7 then there is a built in limit in IIS of 30MB (request-filtering feature) You can change it by running the following command

appcmd set config "My Site/MyApp" -section:requestFiltering -requestLimits.maxAllowedContentLength:1073741824 -commitpath:apphost

(设置为大约1GB)

(set to about 1GB)

http://technet.microsoft。 COM / EN-US /库/ cc754791(v = ws.10)的.aspx

这篇关于获取连接于asp.net错误复位的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆