Webfarm issues

3 posts, 0 answers
  1. Rich
    Rich avatar
    31 posts
    Member since:
    May 2011

    Posted 09 Apr 2013 Link to this post

    I have a RadAsyncUpload control that I have just gotten coded and installed.  It was a replacement for a RadUpload control.

    It appears to be working fine when I test locally and on our Development Server, however when I moved it to our PROD webfarm environment it has been causing intermittant problems with uploads.  Now, I've been able to figure out what the problem is...it is writing the chunks from the file on different servers.  The problem is that so far I have not been able to come up with a solution that I can use, and the documentation for the different properties of the new control is either non-existent or inadequate.  I cannot use a Shared Folder as this is not allowed in our production environment.  And for the Telerik folks, this is a pretty common restriction.

    I was trying to use the new DisableChunkUpload property, but all that does is throw an exception "Request filtering is configured on the Web server to deny the request because the content length exceeds the configured value".  And BTW...yes I do have the web.config set to allow 20Mb files.  Which is of course what I'm testing, but when I don't use the DisableChunkUpload="true" that validation happens on the client and I have that message handled.  Does anyone know why the client validation does not work with that property set to true?

    I was also going to try just setting the DisableChunkLoad=false, and then set a size for the ChunkSize property that was equal to the size of the MaxFileSize since we are only allowing a max of 20MB files, but so far I have been unable to find any documentation on the maximum size that property value can be set to, or whether it is in bytes or Kb or what.  I am assuming that since the MaxFileSize is in bytes this one is too but I don't know.

    Has anyone tried using the DisableChunkUpload property and gotten it to work?  Are there other properties that I have to remove if I use it (for instance, should ChunkSize be removed? Set to 0?)  So far none of the combinations of properties I have tried have worked.  If I have DisableChunkUpload set to true, all it does is stop in the java code generated behind the scene and gives me the above error.

    Does anyone know if I can set the TemporyFolder to another server...like a FTP server or to something like a box.com?

    Thanks all in advance.
  2. Rich
    Rich avatar
    31 posts
    Member since:
    May 2011

    Posted 10 Apr 2013 Link to this post

    As an update:
    Setting the DisableChunkUpload="false" and then setting the ChunkSize to our 20Mb max did not work.  That puts us back to square one with trying to get the DisableChunkUpload="true" to not throw an error but do the same validation on the client.  Again was wondering if anyone had actually gotten this property to work and what they had to do.

    Many thanks again.

  3. Genady Sergeev
    Genady Sergeev avatar
    1600 posts

    Posted 12 Apr 2013 Link to this post

    Hi Rich,

    Since we already answered to your query in the support ticket thread I suggest that we continue the conversation there to avoid duplication of content.

    Genady Sergeev
    the Telerik team
    If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.
Back to Top