This is a migrated thread and some comments may be shown as answers.

Temp, Target, and Web Farm

2 Answers 67 Views
AsyncUpload
This is a migrated thread and some comments may be shown as answers.
Dan Ehrmann
Top achievements
Rank 1
Dan Ehrmann asked on 17 Jul 2017, 02:21 PM

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 Answers, 1 is accepted

Sort by
0
Marin Bratanov
Telerik team
answered on 20 Jul 2017, 08:44 AM

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.
0
Dan Ehrmann
Top achievements
Rank 1
answered on 20 Jul 2017, 02:43 PM
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.
Tags
AsyncUpload
Asked by
Dan Ehrmann
Top achievements
Rank 1
Answers by
Marin Bratanov
Telerik team
Dan Ehrmann
Top achievements
Rank 1
Share this question
or