I have a site that runs Contour 1.1.13.2. On this site there is a form that allows a user to upload a file. Sometimes on upload a user gets a 404 error. This occurs for me somewhere above 22mb but from my clients location they get the 404 after only 5mb... so it's obviously a timeout issue of some sort. I've set the web.config to have the following maxRequestLength and I even put a server.scripttimeout on the template, but nothing seems to work. Anyone have any insight?
Server will timeout if you are planning to upload files of this size that is 22mb. After increasing increasing the maxRequestLength you have the same issue?
How is the internet Connection on your clients side transfer rate?
Did you ever get a good answer to this? We're having similar problems with Contour 3 (Umbraco 6.1.5) where we save a comment plus optional upload/attachment to SQL Server, but if the attachment is over >20mb, then sometimes the SQL record includes everything except the attached file. Difficult to pin down, have made the same <httpRuntime> changes in web.config but still having issues.
404 on Upload
I have a site that runs Contour 1.1.13.2. On this site there is a form that allows a user to upload a file. Sometimes on upload a user gets a 404 error. This occurs for me somewhere above 22mb but from my clients location they get the 404 after only 5mb... so it's obviously a timeout issue of some sort. I've set the web.config to have the following maxRequestLength and I even put a server.scripttimeout on the template, but nothing seems to work. Anyone have any insight?
<httpRuntime requestValidationMode="2.0" maxRequestLength="1048576" executionTimeout="99999" />
On the template I put the following script
<script runat="server">
protected void Page_Load(object sender, EventArgs e)
{
Server.ScriptTimeout = 3600;
}
</script>
Hi Chuck,
Server will timeout if you are planning to upload files of this size that is 22mb. After increasing increasing the maxRequestLength you have the same issue?
How is the internet Connection on your clients side transfer rate?
Did you ever get a good answer to this? We're having similar problems with Contour 3 (Umbraco 6.1.5) where we save a comment plus optional upload/attachment to SQL Server, but if the attachment is over >20mb, then sometimes the SQL record includes everything except the attached file. Difficult to pin down, have made the same <httpRuntime> changes in web.config but still having issues.
is working on a reply...