AnsweredAssumed Answered

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

Question asked by srussell8570 on May 13, 2013
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

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

Attachments

Outcomes