<?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 Crossdomain file not working in ArcGIS API for Flex Questions</title>
    <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/crossdomain-file-not-working/m-p/736832#M16329</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;We just setup an external ip to point to our flex site to demonstrate at a workshop today.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;The flex app opens up but none of the data displays.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Eveything is currently running on the same server. I added the crossdomain.xml file to the inetpub/wwwroot directory in hopes this would fix it with no luck. The crossdomain file I am using contains the following:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;?xml version="1.0"?&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&lt;SPAN&gt;&amp;lt;!DOCTYPE cross-domain-policy SYSTEM "&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://www.adobe.com/xml/dtds/cross-domain-policy.dtd" rel="nofollow" target="_blank"&gt;http://www.adobe.com/xml/dtds/cross-domain-policy.dtd&lt;/A&gt;&lt;SPAN&gt;"&amp;gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;cross-domain-policy&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;allow-access-from domain="*"/&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;site-control permitted-cross-domain-policies="all"/&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;allow-http-request-headers-from domain="*" headers="*" /&amp;gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;/cross-domain-policy&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The address to the server is &lt;/SPAN&gt;&lt;A href="http://74.174.238.250/flex/index.html"&gt;http://74.174.238.250/flex/index.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Anyone have some some suggestions?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 09 Sep 2010 12:30:23 GMT</pubDate>
    <dc:creator>deleted-user-RjoC4IOGTpoH</dc:creator>
    <dc:date>2010-09-09T12:30:23Z</dc:date>
    <item>
      <title>Crossdomain file not working</title>
      <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/crossdomain-file-not-working/m-p/736832#M16329</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;We just setup an external ip to point to our flex site to demonstrate at a workshop today.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;The flex app opens up but none of the data displays.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Eveything is currently running on the same server. I added the crossdomain.xml file to the inetpub/wwwroot directory in hopes this would fix it with no luck. The crossdomain file I am using contains the following:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;?xml version="1.0"?&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&lt;SPAN&gt;&amp;lt;!DOCTYPE cross-domain-policy SYSTEM "&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://www.adobe.com/xml/dtds/cross-domain-policy.dtd" rel="nofollow" target="_blank"&gt;http://www.adobe.com/xml/dtds/cross-domain-policy.dtd&lt;/A&gt;&lt;SPAN&gt;"&amp;gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;cross-domain-policy&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;allow-access-from domain="*"/&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;site-control permitted-cross-domain-policies="all"/&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;allow-http-request-headers-from domain="*" headers="*" /&amp;gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;/cross-domain-policy&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The address to the server is &lt;/SPAN&gt;&lt;A href="http://74.174.238.250/flex/index.html"&gt;http://74.174.238.250/flex/index.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Anyone have some some suggestions?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 Sep 2010 12:30:23 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-flex-questions/crossdomain-file-not-working/m-p/736832#M16329</guid>
      <dc:creator>deleted-user-RjoC4IOGTpoH</dc:creator>
      <dc:date>2010-09-09T12:30:23Z</dc:date>
    </item>
    <item>
      <title>Re: Crossdomain file not working</title>
      <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/crossdomain-file-not-working/m-p/736833#M16330</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Nestor,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;This is the error I get &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;SecurityError: Error #2048: Security sandbox violation: &lt;/SPAN&gt;&lt;A href="http://74.174.238.250/flex/index.swf"&gt;http://74.174.238.250/flex/index.swf&lt;/A&gt;&lt;SPAN&gt; cannot load data from &lt;/SPAN&gt;&lt;A href="http://gissrv1/ArcGIS/rest/services/StreetMap/MapServer?f=json"&gt;http://gissrv1/ArcGIS/rest/services/StreetMap/MapServer?f=json&lt;/A&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;You need to use the same server names so if one is an ip address than you need to use that every where (i.e. &lt;/SPAN&gt;&lt;A href="http://74.174.238.250/ArcGIS/rest/services/StreetMap/MapServer"&gt;http://74.174.238.250/ArcGIS/rest/services/StreetMap/MapServer&lt;/A&gt;&lt;SPAN&gt;).&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 Sep 2010 12:50:35 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-flex-questions/crossdomain-file-not-working/m-p/736833#M16330</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2010-09-09T12:50:35Z</dc:date>
    </item>
  </channel>
</rss>

