multiple large documents, timeout(?)

Thread is closed for posting
2 posts, 0 answers
  1. David
    David avatar
    1 posts
    Member since:
    Oct 2008

    Posted 07 Oct 2008 Link to this post

    I am running an evaluation copy of RadUpload for AJAX, in a .NET 3.5 environment. I have been ordered to support upload up to four files of 10 MB each. I am assuming my users run IE 7. These files are then to be saved into a SQL database.

    But I haven't got that far.

    That is because, if we post two files of  ~9 MB, the Rad Progress Bar does not show up. (It works fine for just one file, or for four little files.) Instead we get the classic IE bar at the bottom of the page, which then goes for about 60 seconds before collapse. By "collapse", I mean the whole page goes blank and in the URL textbox, we see this - 
    http://mysite.com/Restricted/UploadDocuments.aspx?RadUrid=55c9fb99-3278-423d-811a-5eb3284bd1fe. (note the "radurid", which is set by Telerik and not by me.)

    It looks like it's timing out on POST, but I had thought I'd set the web.config -

      <httpRuntime executionTimeout="600" maxRequestLength="10240" requestLengthDiskThreshold="10240" useFullyQualifiedRedirectUrl="false" minFreeThreads="8" minLocalRequestFreeThreads="4" appRequestQueueLimit="5000" enableKernelOutputCache="true" enableVersionHeader="true" requireRootedSaveAsPath="true" enable="true" shutdownTimeout="300" delayNotificationTimeout="5" waitChangeNotification="0" maxWaitChangeNotification="0" enableHeaderChecking="true" sendCacheControlHeader="true" apartmentThreading="false"/>

    I also tried setting in C:\WINDOWS\system32\inetsrv\MetaBase.xml under IIsWebVirtualDir, a "four ten-megabyte" limit:

      AspMaxRequestEntityAllowed="42949672960"

    I have error reporting on the server but it is not sending me reports on the "error".

    How can I find out what this "error" (if it is an error), actually is...?

  2. Veselin Vasilev
    Admin
    Veselin Vasilev avatar
    2992 posts

    Posted 08 Oct 2008 Link to this post

    Hello David,

    You have set the maxRequestLength property to 10MB, but when you try to upload two files 9MB each this makes the length of the request 18MB and that is why you cannot upload the files.
    Please increase that property.

    Sincerely yours,
    Veselin Vasilev
    the Telerik team

    Check out Telerik Trainer, the state of the art learning tool for Telerik products.
Back to Top