views:

436

answers:

1

I have a silverlight app hosted on "dev.system-engine.com" which creates an tcp connection connecting to "dev.system-engine.com"

the silverlight app and the policy file are on the "dev.system-engine.com" webserver.

"system-engine.com" and "dev.system-engine.com" are separate servers.

I cannot seem to get it to work. I have been struggling with the policyfile.

<?xml version="1.0" encoding="utf-8" ?>

<access-policy>

  <cross-domain-access>

<policy>

  <allow-from>

    <domain uri="http://dev.system-engine.com:80"/&gt;

  </allow-from>

  <grant-to>

    <domain uri="http://dev.system-engine.com:80"/&gt;
    <socket-resource port="80" protocol="tcp"/>
    <resource path="/" include-subpaths="true"/>

  </grant-to>

</policy>

A: 

I also had this problem and resorted to using the crossdomain.xml file instead. See my answer in this question. I have never managed to get clientaccesspolicy.xml to work.

Jeff Yates