Glenn Flansburg
Top achievements
Rank 1
Glenn Flansburg
asked on 01 Feb 2012, 05:44 PM
I have been trying for several days now to get this to work again. I have not been able to get even the RadUpload in the demo to work, it throws this error when trying to use it. I've downloaded latest silverlight and telerik controls with no success. When I debug through my code it throws the FileUploadFailed event but never gives a reason why.
8 Answers, 1 is accepted
0
Hello Glenn,
Can you give us more information about the scenarios in which the issue occurs. Do you experience it in this demo or only when you create a sample application based on the examples?
Can you make sure that the UploadHandler you use in your solutions can be accessed - you can have a look at this article that elaborates on how to configure the server side of the RadUpload control. You can also examine the troubleshooting article in our KnowledgeBase.
In the RadUpload KnowledgeBase section you can find tutorials describing how to use the RadUpload in different scenarios and for each scenario you'll find an example that you can download and run. So can you give one of them a try as well and let us know if they work on your side?
All the best,
Tina Stancheva
the Telerik team
Can you give us more information about the scenarios in which the issue occurs. Do you experience it in this demo or only when you create a sample application based on the examples?
Can you make sure that the UploadHandler you use in your solutions can be accessed - you can have a look at this article that elaborates on how to configure the server side of the RadUpload control. You can also examine the troubleshooting article in our KnowledgeBase.
In the RadUpload KnowledgeBase section you can find tutorials describing how to use the RadUpload in different scenarios and for each scenario you'll find an example that you can download and run. So can you give one of them a try as well and let us know if they work on your side?
All the best,
Tina Stancheva
the Telerik team
Sharpen your .NET Ninja skills! Attend Q1 webinar week and get a chance to win a license! Book your seat now >>
0
Glenn Flansburg
Top achievements
Rank 1
answered on 06 Feb 2012, 02:31 PM
In the actual demo
0
Hi Glenn,
Thank you for getting back to us. If the demo solution throws this error it means that something in your configuration is preventing the Silverlight solution from accessing the upload handler. Since the demo solution uses a relative path, perhaps in your environment the RadUpload control can't reach the server-side UploadHandler.
Can you tell us your environment settings like OS version? Also can you try the attached solution to see if it works on your side. It's important to first make sure that the UploadHandler on the server-side can be accessed.
All the best,
Tina Stancheva
the Telerik team
Thank you for getting back to us. If the demo solution throws this error it means that something in your configuration is preventing the Silverlight solution from accessing the upload handler. Since the demo solution uses a relative path, perhaps in your environment the RadUpload control can't reach the server-side UploadHandler.
Can you tell us your environment settings like OS version? Also can you try the attached solution to see if it works on your side. It's important to first make sure that the UploadHandler on the server-side can be accessed.
All the best,
Tina Stancheva
the Telerik team
Sharpen your .NET Ninja skills! Attend Q1 webinar week and get a chance to win a license! Book your seat now >>
0
Nick Wood
Top achievements
Rank 1
answered on 12 Jan 2016, 07:05 AM
I am having the same issue I need to set a full URL to the upload handler due to the design of our application but using anything other than a relative url seems to cause this issue.
0
Hello Nick,
If you need to set full URL for the handler means that you may hit cross domain issues and trust permission which can cause the reported behavior. Please note that in your case you may need to consider:Medium Trust.
If your Upload Handler is deployed on a location with Medium Trust level, please follow the instructions in the Medium Trust and the RadUpload for Silverlight article.
Cross-Domain issue.
In order to increase the security, Microsoft restricted the cross-domain service call in Silverlight. If your Silverlight application and Upload handler are on different domains than you definitely will enter the cross-domain case. In this case you should deploy a client access policy file. Actually, you have a choice to deploy the native to the Silverlight clientaccesspolicy.xml file, or the adopted (from Adobe Flash) crossdomain.xml. More about this case you can find in following links: link-1, link-2, link-3, link-4.
I hope this information helps.
Kind regards,
Kiril Vandov
Telerik
If you need to set full URL for the handler means that you may hit cross domain issues and trust permission which can cause the reported behavior. Please note that in your case you may need to consider:
If your Upload Handler is deployed on a location with Medium Trust level, please follow the instructions in the Medium Trust and the RadUpload for Silverlight article.
In order to increase the security, Microsoft restricted the cross-domain service call in Silverlight. If your Silverlight application and Upload handler are on different domains than you definitely will enter the cross-domain case. In this case you should deploy a client access policy file. Actually, you have a choice to deploy the native to the Silverlight clientaccesspolicy.xml file, or the adopted (from Adobe Flash) crossdomain.xml. More about this case you can find in following links: link-1, link-2, link-3, link-4.
I hope this information helps.
Kind regards,
Kiril Vandov
Telerik
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 Feedback Portal
and vote to affect the priority of the items
0
Nick Wood
Top achievements
Rank 1
answered on 14 Jan 2016, 04:21 AM
Hi Kiril
This is a solution that is embedded in Dynamics CRM. We cannot change the web.config file or change the trust level for the Silverlight Xap.
Both the clientaccesspolicy.xml and crossdomain.xml are available in the root of the .ashx file:
https://wf.huntandlock.com.au/crossdomain.xml
https://wf.huntandlock.com.au/clientaccesspolicy.xml
full ashx file: https://wf.huntandlock.com.au/DMSDev1/DocumentRequiredUploadHandler1.ashx
This url will change for production so no issues in posting here.
0
Nick Wood
Top achievements
Rank 1
answered on 14 Jan 2016, 04:25 AM
Actually nevermind issue was due to https/SSL so just used unencrypted version
0
Hello Nick ,
I am glad to hear that you have found a solution to the problem. Please let us know if you need further assistance.
Kind regards,
Kiril Vandov
Telerik
I am glad to hear that you have found a solution to the problem. Please let us know if you need further assistance.
Kind regards,
Kiril Vandov
Telerik
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 Feedback Portal
and vote to affect the priority of the items