Silverlight ClientAccessPolicy issue...I think

Posted by Terrence on Stack Overflow See other posts from Stack Overflow or by Terrence
Published on 2010-03-18T20:18:09Z Indexed on 2010/03/18 20:21 UTC
Read the original article Hit count: 259

Filed under:

Fisrt of all I have my ClientAccessPolicy.xml file in the root of my website.

If I access my website using the public domain name like this: h t t p://www.mydomain.com and then go to the page where my SL control is, I get the spinning % numbers up until about 98%, then it quits and my SL control does not appear on the page.

If I access my website using the machine name (website is at datacenter, we have vpn setup) like this: h t t p://machinename and then go to the page where my SL control is everything works fine.

this must be a ClientAccess Policy issue don't your think? Or what DO you thnik the issue is?

Thanks in advance.

Here is the contents of my ClientAccessPolicy.xml file:

<?xml version="1.0" encoding="utf-8" ?> 
<access-policy>
<cross-domain-access>
<policy>
<allow-from http-request-headers="*">
<domain uri="*" /> 
</allow-from>
<grant-to>
<resource path="/" include-subpaths="true" /> 
</grant-to>
</policy>
</cross-domain-access>
</access-policy>

© Stack Overflow or respective owner

Related posts about Silverlight