Hi all,
I'm trying to deploy a Silverlight 4 + WCF service (not wcf ria service) under Cassini.
I'm using CassiniDev 3.5.1.8-4.1.0.8 release as a standalone service.
The application works fine when I'm using VS2010 in debug mode and when i deploy under IIS6, IIS7, IIS7.5.
When I deploy under my Cassini standalone server I got the following error:
[CrossDomainError]
Arguments: http://localhost:1410/CustomerService.svc
Resource debug strings are not available. Often keys and arguments don't give enough informations to debug the problem. Look
http://go.microsoft.com/...mp;Key=CrossDomainError
Previously I got a similar error deploying the application under IIS but I solved it adding to my project the 2 following files:
1 crossdomain.xml
<?xml version="1.0"?>
<!DOCTYPE cross-domain-policy SYSTEM "http://www.macromedia.com/xml/dtds/cross-domain-policy.dtd">
<cross-domain-policy>
<allow-http-request-headers-from domain="*" headers="SOAPAction,Content-Type"/>
</cross-domain-policy>
2 clientaccesspolicy.xml
<?xml version="1.0" encoding="utf-8"?>
<access-policy>
<cross-domain-access>
<policy>
<allow-from http-request-headers="SOAPAction">
<domain uri="*"/>
</allow-from>
<grant-to>
<resource path="/" include-subpaths="true"/>
</grant-to>
</policy>
</cross-domain-access>
</access-policy>
Unfortunately under Cassini I continue to get the previous error. Any Idea?
TIA
Marco Paci