I hosted a Silverlight application in IIS, now when I try to access the application, I get the following error
System.ServiceModel.CommunicationException: An error occurred while trying to make a request for a URI. This may be due to an attempt to access the service in a cross-domain mode without proper cross-domain access, an in-place policy or a policy unsuitable for SOAP services .....
I correctly placed the cross-domain policy 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>
source share