Temp, Target, and Web Farm

3 posts, 0 answers
  1. Dan Ehrmann
    Dan Ehrmann avatar
    166 posts
    Member since:
    Jul 2004

    Posted 17 Jul 2017 Link to this post

    I have two servers. I have set Telerik.AsyncUpload.TemporaryFolder in my web.config on both servers. On server # 1, the setting looks like this: "\\192.168.0.5\upload\". On server #2 (which hosts the shared folder), it looks like this: "c:\files\upload\". Both point to exactly the same folder, and both servers have write permissions. I do not have a target folder set.

    This generally works, but occasionally fails. I end up with the uploaded file in "c:\files\upload" on server #1. When my process looks for the file in the shared folder on server #2, it is not there. Nowhere on server #1 is the temp file location set to that local folder - it is always set to the shared folder.

    I modified the temp location on server #2 to use the same share path as server #1. This seems to be working, but I will need to watch it for a while.

    So, two questions. First, was I causing my own problem by using two different strings to point to the same shared folder? And second, is there any issue with not using a target folder? I just pick up the files from the temp folder and move them where I need them. This seems to be ok, but I thought I would ask in case I am missing something.

  2. Marin Bratanov
    Admin
    Marin Bratanov avatar
    5244 posts

    Posted 20 Jul 2017 Link to this post

    Hello Dan,

    The only suggestion I can make is that you go through the following article: http://docs.telerik.com/devtools/aspnet-ajax/controls/asyncupload/troubleshooting/web-farm. It aggregates the information we've had on this subject. Perhaps using a virtual folder will resolve the issue for you in the easiest manner in case using the shared path does not work out (which is also an absolutely valid option).

    Regards,

    Marin Bratanov
    Progress Telerik
    Try our brand new, jQuery-free Angular 2 components built from ground-up which deliver the business app essential building blocks - a grid component, data visualization (charts) and form elements.
  3. Dan Ehrmann
    Dan Ehrmann avatar
    166 posts
    Member since:
    Jul 2004

    Posted 20 Jul 2017 in reply to Marin Bratanov Link to this post

    I had read that article, which did not cover my specific issue, which was using two different paths for the same shared folder. My fix of using the same path in all cases seems to be working.
Back to Top