RadAsyncUpload and Web Farm

Thread is closed for posting
5 posts, 0 answers
  1. Eric Wong
    Eric Wong avatar
    5 posts
    Member since:
    Oct 2009

    Posted 28 Jul 2010 Link to this post

    Hi guys,

    Appreciate if someone could share with me on how can I get RadAsyncUpload working in web farm environment.

    On this page it mentioned the control supports Web Farm scenarios.
    http://www.telerik.com/help/aspnet-ajax/async-upload-overview.html

    By the way, setting the TargetFolder to a dedicated file server is not an option.
    And I am using version 2010.2.713.35.

    Any help would be greatly appreciated.

    Thank you.
  2. T. Tsonev
    Admin
    T. Tsonev avatar
    2770 posts

    Posted 03 Aug 2010 Link to this post

    Hello Eric,

    The first option to get RadAsyncUpload is to set the TemporaryFolder to a shared location. This way the control will be able to locate the temporary file from any server in the farm. The TargetFolder can be a local folder.

    Another option is to store the files directly in a database (or other store) and skip the temporary files altogether. This can be done by extending the RadAsyncUpload handler. Please see this demo.

    I hope this helps.

    Regards,
    Tsvetomir Tsonev
    the Telerik team
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. Eric Wong
    Eric Wong avatar
    5 posts
    Member since:
    Oct 2009

    Posted 03 Aug 2010 Link to this post

    Hi Tsvetomir Tsonev,

    Thank you for replying.
    I have look at the demo and the problem is I still couldn't get it to work.

    It will display the file as uploading no matter how small is the file size, and it won't hit any break points I've set in the handler.
    Am I missing anything?

    The codes are the same as the demo you've sent and the one comes with Telerik ASP.NET AJAX installer.
    Btw, it shows similar issue on the demo which comes with Telerik ASP.NET AJAX intaller.

    Thank you.

    Regards,
    Eric
  5. T. Tsonev
    Admin
    T. Tsonev avatar
    2770 posts

    Posted 05 Aug 2010 Link to this post

    Hi Eric,

    Unfortunately the Flash module doesn't currently provide any valuable feedback when an error occurs during upload. We'll try to improve this, but meanwhile:

    Try accessing the handler directly - are you getting an error?
    http://<site root>/Telerik.Web.UI.WebResource.axd

    Disable Flash in the browser and use Fiddler or Firebug to examine the response from the handler. It should contain detailed error info (if you've turned custom error pages off).

    I hope this helps.

    Sincerely yours,
    Tsvetomir Tsonev
    the Telerik team
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
  6. Eric Wong
    Eric Wong avatar
    5 posts
    Member since:
    Oct 2009

    Posted 05 Aug 2010 Link to this post

    Hi Tsvetomir Tsonev,

    Accessing handler - http://<site root>/Telerik.Web.UI.WebResource.axd seems to be fine, returning no errors.
    Anyway, thank you for your help, I will check out your suggestion with fiddler/firebug.

    Regards,
    Eric
Back to Top
UI for ASP.NET Ajax is Ready for VS 2017