Select to view content in your preferred language

Layer failed to load: Fault code: Channel.Security.Error - AppBuilder Application

8541
10
05-15-2013 07:15 AM
Scott_Russell
Regular Contributor
I built an application using AppBuilder and we hosted it within our firewall over the network successfully. We recently leased an instace on Amazon EC2 so we could push our application to the web. The URL resolves perfectly from the host server machine, but when I try to resolve the URL from a user machine, the attached error message pops up:

WebMapAmazon layer failed to load: Fault code: Channel.Security.Error

Fault info: Security error accessing url

Fault details: Destination: DefaultHTTP


[ATTACH=CONFIG]24326[/ATTACH]

There is also an error that reads the same but says that it cannot access my basemap file, which is local data that I uploaded with the .sd file.

Most of my googling has led me to believe it is a Crossdomain policy issue. I have the following .xml document residing in my wwwroot folder:


<?xml version="1.0"?>
<cross-domain-policy>
<allow-access-from domain="*"/>
<site-control permitted-cross-domain-policies="all"/>
<allow-http-request-headers-from domain="*" headers="*"/>
</cross-domain-policy>


I believe that this 'should' be working, but that I'm missing something here.

Any help would be greatly appreciated.


EDIT: It may be worth noting that I've created the service using an .sd file which contains all of the relevant data (like map packaging), it is not kept separately within SDE on the amazon instance.

Thanks,
Scott
Tags (2)
0 Kudos
10 Replies
StephanieLong
Deactivated User
So your services are accessed as http://instance/arcgis/rest/services/... (not using a port number, and not using httpS)?
And you can see the crossdomain file at http://instance/crossdomain.xml ?


Hello,
In regards to this, I have a question.

I am using flexviwer 3.0 on a virtual server with 2008 R2 and server 10.2.1

My services are accessed as you mention, as is my crossdomain at mentioned address.  However, I still get the MapManager error shown in the attached when opening a flex url.  I have shared the following folders with 'everyone': data, ags, flexviewer.  I have port 80 and 6080 open.

My crossdomain reads as follows:
<?xml version="1.0" ?>
<cross-domain-policy>
<allow-access-from domain="*" secure="false"/>
<site-control permitted-cross-domain-policies="all"/>
<allow-http-request-headers-from domain="*" headers="*" secure="false"/>
</cross-domain-policy>


I am able to view the layers in my map service within ArcGIS.com and ArcGIS Desktop.  Just not in a browser.
0 Kudos