title: Silverlight-to-WCF cross-domain exception, but clientaccesspolicy.xml is being read successfully
body: <p><code>clientaccesspolicy.xml</code>:</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="utf-8"?&gt;
  &lt;access-policy&gt;
    &lt;cross-domain-access&gt;
      &lt;policy&gt;
        &lt;allow-from http-request-headers="*"&gt;
          &lt;domain uri="*" /&gt;
        &lt;/allow-from&gt;
        &lt;grant-to&gt;
          &lt;resource path="/" include-subpaths="true" /&gt;
        &lt;/grant-to&gt;
      &lt;/policy&gt;
    &lt;/cross-domain-access&gt;
  &lt;/access-policy&gt;
  </code></pre>
  
  <p><code>crossdomain.xml</code>:</p>
  
  <pre><code>&lt;?xml version="1.0"?&gt;
  &lt;!DOCTYPE cross-domain-policy&gt;
  &lt;cross-domain-policy&gt;
    &lt;allow-http-request-headers-from domain="*" headers="*" secure="true" /&gt;
  &lt;/cross-domain-policy&gt;
  </code></pre>
  
  <p>Nothing fancy here, it's the standard setup millions of WCF services use to allow Silverlight clients to access them. Unfortunately this setup is not working in the live environment I deployed to. The pre-production environment used to test the deploy is setup identically to live (or so the sysadmins claim) and everything works perfectly there, which is why I am so confused.</p>
  
  <p>I had one of the sysadmins trace the request from the Silverlight client using HTTPDebuggerPro, and it shows that the client is retrieving both <code>clientaccesspolicy.xml</code> and <code>crossdomain.xml</code> without issue (HTTP status 200). However, after requesting those files, the client tries to make a call to the service and immediately receives a <code>CrossDomainException</code>.</p>
  
  <p>I have also tried getting the sysadmins to add the WCF service URL to Internet Explorer's "Allowed Sites" list on the box that the Silverlight client is hosted on (as per the last sentence of the last paragraph from <a href="http://blogs.msdn.com/b/fiddler/archive/2010/11/22/fiddler-and-silverlight-cross-zone-cross-domain-requests.aspx" rel="nofollow">http://blogs.msdn.com/b/fiddler/archive/2010/11/22/fiddler-and-silverlight-cross-zone-cross-domain-requests.aspx</a>) but that didn't work either.</p>
  
  <p>HALP!</p>