CrossDomain error

Posted by Jayesh on Stack Overflow See other posts from Stack Overflow or by Jayesh
Published on 2010-05-21T13:39:30Z Indexed on 2010/05/21 13:40 UTC
Read the original article Hit count: 327

Filed under:
|
|

Hi,

I have hosted my Silverlight application in IIS, now when I try to access the application I get the following error

System.ServiceModel.CommunicationException: an error occured while trying to make request to URI This could be due to attempting to access a service in a cross-domain way without proper cross-domain policy in place, or policy that is unsuitable for SOAP services.....

I have placed the cross-domain policy properly in wwwroot as well as in the virtual directory.

<?xml version="1.0"?>

<cross-domain-policy>
  <allow-http-request-headers-from domain="*" headers="*"/>
</cross-domain-policy>

Please help!

Thanks

© Stack Overflow or respective owner

Related posts about Silverlight

Related posts about cross