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

RadAsyncUpload and Web Farm

4 Answers 148 Views
Upload (Obsolete)
This is a migrated thread and some comments may be shown as answers.
Eric Wong
Top achievements
Rank 1
Eric Wong asked on 28 Jul 2010, 11:28 PM
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.

4 Answers, 1 is accepted

Sort by
0
T. Tsonev
Telerik team
answered on 03 Aug 2010, 08:24 AM
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
0
Eric Wong
Top achievements
Rank 1
answered on 03 Aug 2010, 08:18 PM
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
0
T. Tsonev
Telerik team
answered on 05 Aug 2010, 04:50 PM
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
0
Eric Wong
Top achievements
Rank 1
answered on 05 Aug 2010, 04:58 PM
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
Tags
Upload (Obsolete)
Asked by
Eric Wong
Top achievements
Rank 1
Answers by
T. Tsonev
Telerik team
Eric Wong
Top achievements
Rank 1
Share this question
or