Select to view content in your preferred language

Security Error

3338
3
05-08-2013 11:51 PM
SunderlandCity_Council
New Contributor
good morning/afternoon or evening to you this is our first post so please bear with me. We have just starting using flex as a method of delivering GIS but come across a problem. When we view the viewer on our internal network everything works fine but when we access the url from the outside world we get the following error.

"BaseMaps layer failed to load: Fault code: Channel.Security.Error
Fault info: Security error accessing url
Fault details: Destination: DefaultHTTP"

I expect this has something to do with the crossdomain.xml, but any advice would be greatly appreciated.

many thanks in advance.

craig:D
Tags (2)
0 Kudos
3 Replies
RobertScheitlin__GISP
MVP Emeritus
Craig,

    you will need to have a crossdomain.xml file on your web server where your site is accessed from. If you are using IIS then you need the crossdomain.xml in your wwwroot folder, if apache then in your httpdocs folder. If you are using the WebApaptor then you need the crossdomain.xml on the server where you have the WebAdaptor installed.

  Here is the link to the doc:

http://resources.arcgis.com/en/help/flex-api/concepts/index.html#/Using_crossdomain_xml/017p0000001w...
0 Kudos
SunderlandCity_Council
New Contributor
Hi robert,

thanks for that all working now and keep up the good work with your widgets used a few of them now, just cant keep up with all the version updates of flex.

ta

craig
0 Kudos
RobertScheitlin__GISP
MVP Emeritus
Craig,

   Glad you got it working.

Don't forget to click the Mark as answer check on this post and to click the top arrow (promote).
Follow these steps as shown in the below graphic:

0 Kudos