Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Chuck 71 posts 69 karma points
    May 10, 2013 @ 16:26
    Chuck
    0

    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 senderEventArgs e)
      {
           Server.ScriptTimeout 3600;
      }
    </script>


  • Fuji Kusaka 2203 posts 4220 karma points
    May 11, 2013 @ 07:04
    Fuji Kusaka
    0

    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?

     

  • Eric Schrepel 161 posts 226 karma points
    Sep 16, 2013 @ 19:23
    Eric Schrepel
    0

    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.

Please Sign in or register to post replies

Write your reply to:

Draft