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

RadUploadProgressHandler registration error accross domains

3 Answers 94 Views
Upload (Obsolete)
This is a migrated thread and some comments may be shown as answers.
Thavs
Top achievements
Rank 1
Thavs asked on 27 Oct 2010, 02:39 PM
Hi

I am successfully running a .Net2 application on a server which works pefectly with RadUploadProgressHandler. But When I try to access the same application accross domains the I receive an error when trying to Upload a file. The error is :
Did you register the RadUploadProgressHandler in web.config?
Please, see the help for more details: RadUpload 2.x - Using RadUpload - Configuration - RadUploadProgressHandler.

I don't understand why it works on the internal domain that the application is hosted on but throws error when the same application is accessed from another domain.

I have the following in my web config.

<

 

httpHandlers>

 

 

 

<

 

add verb="*" path="Telerik.RadUploadProgressHandler.aspx" type="Telerik.WebControls.RadUploadProgressHandler, RadUpload.Net2"/>

 

 

 

<

 

add verb="POST,GET" path="csharpwrapper/*.ashx" type="Ajax.PageHandlerFactory, Ajax"/>

 

 

 

<

 

add verb="POST,GET" path="ajax/*.ashx" type="Ajax.PageHandlerFactory, Ajax"/>

 

 

 

</

 

httpHandlers>

 

 

 

<

 

httpModules>

 

 

 

<

 

add name="RadUploadModule" type="Telerik.WebControls.RadUploadHttpModule, RadUpload.Net2"/>

 

 

 

</

 

httpModules>

 

 

 

<

 

httpRuntime maxRequestLength="102400" executionTimeout="600"/>

 

 

 

Thanks in advance for any help.

3 Answers, 1 is accepted

Sort by
0
Thavs
Top achievements
Rank 1
answered on 27 Oct 2010, 09:06 PM
Help anyone.....

I'm not sure what to try?
0
VeriFone
Top achievements
Rank 1
answered on 02 Nov 2010, 08:17 AM
Hi,

I have the same issue, does anyone have a workaround or better yet a fix??

Cheers

Mark
0
Genady Sergeev
Telerik team
answered on 02 Nov 2010, 09:32 AM
Hello guys,

I believe that accessing the handler from another domain will result in an XSS error, hence the error that you receive.

Kind regards,
Genady Sergeev
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
Tags
Upload (Obsolete)
Asked by
Thavs
Top achievements
Rank 1
Answers by
Thavs
Top achievements
Rank 1
VeriFone
Top achievements
Rank 1
Genady Sergeev
Telerik team
Share this question
or