Hi all , I am trying to use local map service in silverlight <Grid x:Name="LayoutRoot" Background="White"> <esri:Map Name="test" > <esri:Map.Layers> <esri:ArcGISDynamicMapServiceLayer x:Name ="mymap" Url=" http://localhost/arcgis/services/test/MapServer"/> </esri:Map.Layers> </esri:Map> </Grid> I am getting an exception as "Failed to initialize ESRI.ArcGIS.Client.ArcGISDynamicMapServiceLayer : 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." Can anybody help me and let me know what is the problem . Thanks
Angemeldete Mitglieder können Beiträge verfassen, Updates folgen und mehr. Neu hier? Registriere ein kostenloses Konto.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.