You must Sign In to post a response.
  • Category: Silverlight

    How to resolve unhandled error in Silverlight application code:4004?

    Are you looking for information on Silverlight? Want to know how to resolve unhandled error in Silverlight? Read this thread to learn more about "Unhandled Error in Silverlight Application Code:4004".

    Getting below error while running the application :
    Unhandled Error in Silverlight Application Code:4004
    Message:System.Reflection.TargetInvocationException:An exception
    occurred during the operation,making the result invalid.Check
    InnerException for exception details.->
    System.ServiceModel.CommunicationException:The remote server returned
    an error:Not Found.->

    Thanks in advance.
  • #703996

    please insert two xml files in your asp application
    1)clientaccesspolicy.xml file
    <?xml version="1.0" encoding="utf-8" ?>
    - <access-policy>
    - <cross-domain-access>
    - <policy>
    - <allow-from http-request-headers="SOAPAction">
    <domain uri="*" />
    - <grant-to>
    <resource path="/" include-subpaths="true" />

    2)crossdomain.xml file
    <?xml version="1.0" ?>
    <!DOCTYPE cross-domain-policy (View Source for full doctype...)>
    - <cross-domain-policy>
    <allow-http-request-headers-from domain="*" headers="SOAPAction,Content-Type" secure="true" />

  • #708745
    Already have clientaccesspolicy.xml & crossdomain.xml files in my application.

    Any other solutions please...

    Delete Attachment

  • This thread is locked for new responses. Please post your comments and questions as a separate thread.
    If required, refer to the URL of this page in your new post.