ASP.net上传限制服务器超时 [英] ASP.net Upload Limit Server timeout

查看:98
本文介绍了ASP.net上传限制服务器超时的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在用一把umbraco的媒体部分上传文件有问题。我不知道,如果问题是大小相关的,因为我没有得到透露太多细节的错误,但我会解释一下我到目前为止已经做了,看看你是否可以提供帮助。

I'm having a problem with uploading files in the media section of Umbraco. I'm not sure if the problem is size related as I don’t get an error that give too much details but I'll explain what I’ve done so far and see if you can help.

我说:

<httpRuntime maxRequestLength="102400" executionTimeout="3600"/>

在标签内的web.config

to the web.config within the tag

我已经添加了相同的httpRuntime标记服务器默认的web.config重新启动所有网站的应用程序池和问题仍然存在。

I've added the same httpRuntime tag to the servers default web.config restarted all the app pools for the websites and the problems still persists.

我收到的时候我尝试上载文件的错误是:

The error I receive when I try to upload files is:

说明:页面之前超时请求可以检索。
技术信息(用于支持人员)

Explanation: The request timed out before the page could be retrieved. Technical Information (for support personnel)

* Error Code 64: Host not available
* Background: The gateway or proxy server lost connection to the Web server.
* Date: 10/8/2009 4:27:46 PM
* Server: SERVER.XXXXX
* Source: Remote server

有关问题的奇怪的是,它不仅超过了魔术4MB的文件大小的文件发生。看来上面上传1MB左右的任何文件的情况发生。

The odd thing about the problem is that it does not only happen on files over the magic 4mb file size. It seems to happen on any files uploaded above about 1mb.

任何帮助非常AP preciated。

Any help much appreciated.

推荐答案

原来,这是不是在Web.config或的metabase.xml做。

It turns out it was not to do with the Web.config or the metabase.xml.

问题是,该程序池的网站上有一个虚拟内存限制,这是太低了,我猜池正在文件之前回收该网站有上传完毕。

The problem was that the AppPool for the website had a virtual memory limit that was too low and I guess the site Pool was being recycled before the file had finished uploading.

有关时间被我删除了极限。我需要重新设置之前,阅读起来。

For the time being I've removed the limit. I'll need to read up before setting it again.

这篇关于ASP.net上传限制服务器超时的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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