<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Unable to view map service with ClientAccessPolicy file in place in ArcGIS API for Silverlight Questions</title>
    <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/unable-to-view-map-service-with-clientaccesspolicy/m-p/348070#M8952</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Can you post the contents of your client access policy file?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 10 Feb 2011 01:15:24 GMT</pubDate>
    <dc:creator>DanielWalton</dc:creator>
    <dc:date>2011-02-10T01:15:24Z</dc:date>
    <item>
      <title>Unable to view map service with ClientAccessPolicy file in place</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/unable-to-view-map-service-with-clientaccesspolicy/m-p/348069#M8951</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;We have encountered an issue with ArcGIS Server dynamic map services that are not visible within the Silverlight application; it does not seem to be the typical ClientAccessPolicy file issue.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;On a single server there is ArcGIS Server 10 with the dynamic map services.&amp;nbsp; The server also contains the Silverlight web application.&amp;nbsp; The application was published into the default web site; &lt;/SPAN&gt;&lt;A href="http://serverName/ApplicationName"&gt;http://serverName/ApplicationName&lt;/A&gt;&lt;SPAN&gt;.&amp;nbsp; The default web site also contains the ClientAccessPolicy.XML file (C:\inetpub\wwwroot).&amp;nbsp; The map services are available within the application without any issues.&amp;nbsp; The URL to the map services is &lt;/SPAN&gt;&lt;A href="http://ServerName/ArcGIS/rest/services/MapServiceName/MapServer"&gt;http://ServerName/ArcGIS/rest/services/MapServiceName/MapServer&lt;/A&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;When the site was moved into application into a new web site on the same server with a host header of �??&lt;/SPAN&gt;&lt;A _jive_internal="true" href="https://community.esri.com/www.SomeName.grp�?�"&gt;www.SomeName.grp�?�&lt;/A&gt;&lt;SPAN&gt;, the map services failed to initialize.&amp;nbsp; There was the following error, from the InitializationFailure event of the layer:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;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.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Using Fiddler, it was found that a request to get the metadata of the map service or ClientAccessPolicy.XML file was never made.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;We updated the URL to the one of the map service to use the IP address rather than the server name.&amp;nbsp; This map service then worked; the ClientAccessPolicy file was first download and then the map service.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Any help would be great,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Scott&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Feb 2011 23:43:09 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/unable-to-view-map-service-with-clientaccesspolicy/m-p/348069#M8951</guid>
      <dc:creator>ScottMcEachern</dc:creator>
      <dc:date>2011-02-09T23:43:09Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to view map service with ClientAccessPolicy file in place</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/unable-to-view-map-service-with-clientaccesspolicy/m-p/348070#M8952</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Can you post the contents of your client access policy file?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Feb 2011 01:15:24 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/unable-to-view-map-service-with-clientaccesspolicy/m-p/348070#M8952</guid>
      <dc:creator>DanielWalton</dc:creator>
      <dc:date>2011-02-10T01:15:24Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to view map service with ClientAccessPolicy file in place</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/unable-to-view-map-service-with-clientaccesspolicy/m-p/348071#M8953</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;Can you post the contents of your client access policy file?&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Hello,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Below is the ClientAccessPolicy file:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;?xml version="1.0" encoding="utf-8" ?&amp;gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;access-policy&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;cross-domain-access&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;policy&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;allow-from http-request-headers="*"&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;domain uri="*"/&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&lt;SPAN&gt;&amp;lt;domain uri="&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://*" rel="nofollow" target="_blank"&gt;http://*&lt;/A&gt;&lt;SPAN&gt;"/&amp;gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&lt;SPAN&gt;&amp;lt;domain uri="&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://*" rel="nofollow" target="_blank"&gt;https://*&lt;/A&gt;&lt;SPAN&gt;"/&amp;gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;/allow-from&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;grant-to&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;resource path="/" include-subpaths="true"/&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;/grant-to&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;/policy&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;/cross-domain-access&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;/access-policy&amp;gt;&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Feb 2011 14:14:16 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/unable-to-view-map-service-with-clientaccesspolicy/m-p/348071#M8953</guid>
      <dc:creator>ScottMcEachern</dc:creator>
      <dc:date>2011-02-10T14:14:16Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to view map service with ClientAccessPolicy file in place</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/unable-to-view-map-service-with-clientaccesspolicy/m-p/348072#M8954</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;You might try removing the line &amp;lt;domain uri="*"/&amp;gt;, but I don't think that's your problem. The only reasons I can think of that Silverlight is not requesting the xml file is 1) you're requesting a resource which is not a well formed URI, and 2) the resource appears to be in the same domain as your application. I would guess that your problem is #1. Can you post the actual (or slightly adjusted) URI to your service, including the domain suffix?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Feb 2011 16:45:57 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/unable-to-view-map-service-with-clientaccesspolicy/m-p/348072#M8954</guid>
      <dc:creator>DanielWalton</dc:creator>
      <dc:date>2011-02-10T16:45:57Z</dc:date>
    </item>
  </channel>
</rss>

