Skip Navigation LinksHome / Community & Support / Developer Productivity Tools Forums / ASP.NET AJAX > AsyncUpload > Upload Error in Load Balanced Server

Not answered Upload Error in Load Balanced Server

Feed from this thread
  • Pankaj avatar

    Posted on Feb 4, 2012 (permalink)

    Hello ,

    We are facing a sporadic issue when using the RadUpload control in our website.

    The application is hosted    in a load balanced server and the session is stateless.

    This is what is happening. If the user uploads 10 files (then it creates 10 temp files on the server in RadUploadTemp folder.)We have 2 app servers and when the user access the server, it might get connected to appserver1. But there is no guarentee that for all the 10times it tries to access the server, it will always go to appserver1 as they are loadbalanced. The moment it hits appserver2, we get file not found exception. If it always hits appserver1 then all the files will be uploaded successfully

    We are get the error every now and then. Is there any configuration that can be set in the control that would make the control work without issues in case where the load balancing is set and the session is stateless?


    Thank you
    Regards
    Pankaj

    Reply

  • Peter Filipov Peter Filipov admin's avatar

    Posted on Feb 8, 2012 (permalink)

    Hello Pankaj,

    To avoid duplication of the thread, please let continue our discussion into the support ticket.
    Using a shared folder will resolve the issue. Make sure that your application has a write permissions to that folder.

    All the best,
    Peter Filipov
    the Telerik team
    Sharpen your .NET Ninja skills! Attend Q1 webinar week and get a chance to win a license! Book your seat now >>

    Reply

  • Orna avatar

    Posted on Feb 26, 2012 (permalink)

    Hi Peter,
    I just came across this thread.
    Is that mean that the Asynch upload control cannot be used in an NLB environment? when I have no option to define shared directories.
    Thank you
    Orna

    Reply

  • Peter Filipov Peter Filipov admin's avatar

    Posted on Feb 29, 2012 (permalink)

    Hello Orna,

    The problem in that setup is because the uploaded files are on both servers. After postback RadAsyncUpload control is looking for files, which can be on the other server and exception is thrown. The only way to avoid that behavior is to upload the files in shared folder.

    Regards,
    Peter Filipov
    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.

    Reply

Back to Top

Skip Navigation LinksHome / Community & Support / Developer Productivity Tools Forums / ASP.NET AJAX > AsyncUpload > Upload Error in Load Balanced Server
Related resources for "Upload Error in Load Balanced Server"

ASP.NET AsyncUpload Features  |  Documentation  |  Demos  |  Telerik TV  |  Self-Paced Trainer  |  Step-by-step Tutorial  ]