Crossdomain file not working

741
1
09-09-2010 05:30 AM
deleted-user-RjoC4IOGTpoH
Deactivated User
We just setup an external ip to point to our flex site to demonstrate at a workshop today.
The flex app opens up but none of the data displays.

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:

<?xml version="1.0"?>
<!DOCTYPE cross-domain-policy SYSTEM "http://www.adobe.com/xml/dtds/cross-domain-policy.dtd">
<cross-domain-policy>
    <allow-access-from domain="*"/>
    <site-control permitted-cross-domain-policies="all"/>
    <allow-http-request-headers-from domain="*" headers="*" />
</cross-domain-policy>

The address to the server is http://74.174.238.250/flex/index.html

Anyone have some some suggestions?
Tags (2)
0 Kudos
1 Reply
RobertScheitlin__GISP
MVP Emeritus
Nestor,

This is the error I get
SecurityError: Error #2048: Security sandbox violation: http://74.174.238.250/flex/index.swf cannot load data from http://gissrv1/ArcGIS/rest/services/StreetMap/MapServer?f=json.

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. http://74.174.238.250/ArcGIS/rest/services/StreetMap/MapServer).
0 Kudos