Have a legacy Silverlight app that was working correct, accessing a dynamic, self-hosted map service based on AGS 10.4.1. After upgrading AGS to 10.5, I receive the following message:
Failed to initialize ESRI.ArcGIS.Client.ArcGISDynamicMapServiceLayer DynamicLayer: A security exception occured while trying to connect to the REST endpoint. Make sure you have a cross domain policy file available at the root for your server that allows for requests from this application.
However....nothing has changed from the 10.4.1 setup. The Crossdomain and Clientaccesspolicy XML files are in place and were unchanged. Does AGS 10.5 no longer support Silverlight apps?
XML files are below......
<?xml version="1.0" encoding="UTF-8"?>
<access-policy>
<cross-domain-access>
<policy>
<allow-from http-request-headers="*">
<domain uri="*"/>
<domain uri="http://*"/>
<domain uri="https://*"/>
</allow-from>
<grant-to>
<resource include-subpaths="true" path="/"/>
</grant-to>
</policy>
</cross-domain-access>
</access-policy>
<?xml version="1.0"?>
<cross-domain-policy>
<allow-access-from secure="false" domain="*"/>
<site-control permitted-cross-domain-policies="all"/>
<allow-http-request-headers-from secure="false" domain="*" headers="*"/>
<allow-https-request-headers-from secure="false" domain="*" headers="*"/>
</cross-domain-policy>