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

RadUpload with Forms Authentication

2 Answers 88 Views
Upload (Obsolete)
This is a migrated thread and some comments may be shown as answers.
Jon
Top achievements
Rank 1
Jon asked on 15 Jul 2009, 08:01 PM


I have noticed that in:

http://www.telerik.com/help/aspnet-ajax/upload-configuration.html

there is a statement about the need to configure a <location> section in web.config:

"If your application uses Forms Authentication, you must make an additional change to the <location> section. RadProgressManager looks for RadUploadProgressHandler in the root directory of your application (e.g. http://YourServerName/ApplicationName/Telerik.RadUploadProgressHandler.ashx).

To ensure its proper operation, you must allow access to unauthenticated users for the path to RadUploadProgressHandler. Put the following lines in your application web.config:

"


Is this still true in the Q1 2009 release?

The reason I ask is that I am using Forms Authentication, and have not configured a <location>  section as describe, but my page generally works. I have received some user reports of unexpected pop-up of:

RadUpload Ajax callback error. Source url returned invalid content:
etc.

and I wonder: "Do I need the location configuration as described here? and, if so, why do my page and the editor work the majority of the time without?"

Just want to make sure I understand "the rules" for using RadUploadProgressHandler...

If anyone can reference the correct reading to do, I'm happy to do it -- just want to make sure I'm using the right reference.

Thanks,
-Jon


2 Answers, 1 is accepted

Sort by
0
Veselin Vasilev
Telerik team
answered on 16 Jul 2009, 08:04 AM
Hello Jon,

In order the progress area to work you need to add the location settings in your web.config. Maybe you have tried with a smaller files which uploaded very fast locally and that is why you did not see the error message.

Please add the necessary configuration settings and keep an eye on the user's reports.

Greetings,
Veselin Vasilev
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Check out the tips for optimizing your support resource searches.
0
Jon
Top achievements
Rank 1
answered on 17 Jul 2009, 07:39 PM
Veselin,

This makes sense. I have made the changes indicated.

Thanks!
-Jon
Tags
Upload (Obsolete)
Asked by
Jon
Top achievements
Rank 1
Answers by
Veselin Vasilev
Telerik team
Jon
Top achievements
Rank 1
Share this question
or