TroyWing
05-27-2008, 03:19 AM
Hi All,
Has anyone been successful in using a local host Silverlight 2 component accessing WCF service hosted here in discountasp.?
Works fine from the same domain, but I am getting crossdomain exception errors when trying to call the service from a local (on my dev machine) SL2 client.
I have uploaded a crossdomainpolicy.xml as per below to web app root with no success.
[quote]
<access-policy>
<cross-domain-access>
<policy>
<allow-from>
<domain uri="*"/>
</allow-from>
<grant-to>
<resource path="/" include-subpaths="true"/>
</grant-to>
</policy>
</cross-domain-access>
</access-policy></CODE>
Has anyone been successful in using a local host Silverlight 2 component accessing WCF service hosted here in discountasp.?
Works fine from the same domain, but I am getting crossdomain exception errors when trying to call the service from a local (on my dev machine) SL2 client.
I have uploaded a crossdomainpolicy.xml as per below to web app root with no success.
[quote]
<access-policy>
<cross-domain-access>
<policy>
<allow-from>
<domain uri="*"/>
</allow-from>
<grant-to>
<resource path="/" include-subpaths="true"/>
</grant-to>
</policy>
</cross-domain-access>
</access-policy></CODE>