I had a error pop up when I went to actually deploy my silverlight application on the web.
It signified not being able to reach localhost.
I read on the net about client access policy and also cross domain.
I dropped the files:
clientaccesspolicy.xml
With code
<?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>
And file:
crossdomain.xml
with code
<?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>
***************************************************************************
I have a sub domain that I am running the silverlight application in. I placed both of those files in the same folder that contains the silverlight application.
What more do I have to do as it is still displaying the error?