Upload Handler Not found or error

9 posts, 0 answers
  1. Glenn Flansburg
    Glenn Flansburg avatar
    4 posts
    Member since:
    Mar 2010

    Posted 01 Feb 2012 Link to this post

    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.
  2. Tina Stancheva
    Admin
    Tina Stancheva avatar
    3298 posts

    Posted 06 Feb 2012 Link to this post

    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
    Sharpen your .NET Ninja skills! Attend Q1 webinar week and get a chance to win a license! Book your seat now >>
  3. DevCraft banner
  4. Glenn Flansburg
    Glenn Flansburg avatar
    4 posts
    Member since:
    Mar 2010

    Posted 06 Feb 2012 Link to this post

    In the actual demo
  5. Tina Stancheva
    Admin
    Tina Stancheva avatar
    3298 posts

    Posted 07 Feb 2012 Link to this post

    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
    Sharpen your .NET Ninja skills! Attend Q1 webinar week and get a chance to win a license! Book your seat now >>
  6. Nick Wood
    Nick Wood avatar
    126 posts
    Member since:
    Feb 2010

    Posted 12 Jan Link to this post

    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.
  7. Kiril Vandov
    Admin
    Kiril Vandov avatar
    324 posts

    Posted 13 Jan Link to this post

    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:
  8. 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.
  9. 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.

  10. 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
  • Nick Wood
    Nick Wood avatar
    126 posts
    Member since:
    Feb 2010

    Posted 13 Jan in reply to Kiril Vandov Link to this post

    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.

  • Nick Wood
    Nick Wood avatar
    126 posts
    Member since:
    Feb 2010

    Posted 13 Jan Link to this post

    Actually nevermind issue was due to https/SSL so just used unencrypted version
  • Kiril Vandov
    Admin
    Kiril Vandov avatar
    324 posts

    Posted 18 Jan Link to this post

    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
    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
  • Back to Top
    DevCraft banner