AnsweredAssumed Answered

Access to Map Service breaks for Silverlight app after upgrade to 10.5

Question asked by GibbyAR on Sep 25, 2017
Latest reply on Sep 27, 2017 by randall_williams-esristaff

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

<allow-from http-request-headers="*">

<domain uri="*"/>

<domain uri="http://*"/>

<domain uri="https://*"/>


<resource include-subpaths="true" path="/"/>






<?xml version="1.0"?>


<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="*"/>