clientaccesspolicy.xml suddenly stopped working

266 Views Asked by At

Good afternoon. I'm in a bit of a pickle. I tried to help a coworker and now her web application (hosted locally, so I can't show results to you) is not working. I was trying to edit her clientaccesspolicy.xml file and all was going well. Then suddenly, every request -- even if I set domain uri="*" -- is getting the System.ServiceModel.CommunicationException about cross-domain requests. Here is the clientaccesspolicy.xml:

<?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>

Clearly, the policy is accessible via web: http://gis.co.frederick.va.us/clientaccesspolicy.xml.

What happened? Where did I go wrong? I've tried even restarting IIS -- no love. Any help is appreciated.

Thanks!

0

There are 0 best solutions below