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.
I've added:
<httpRuntime maxRequestLength="102400" executionTimeout="3600"/>
to the web.config within the tag
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
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.
Any help much appreciated.
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.