1

I am trying to load some files into ArcGIS Viewer for Flex. My files are loaded onto the server correctly but trying to publish it into the Flex Viewer is unsuccessful.

First when I search for my layers from the server I get this warning that the program couldn't find crossdomain.xml. (see image below)

enter image description here

I continue to select my layers but when it tries to load I have been getting this error.

UAE Web Map layer failed to load: Fault code: Channel.Security.Error

Fault info: Security error accessing url

Fault details: Destination: DefaultHTTP

PolyGeo
65.5k29 gold badges115 silver badges349 bronze badges
asked Sep 30, 2013 at 14:58

1 Answer 1

3

If you're deploying your application to another server, you need to have a crossdomain.xml document to signify that the other application has trust to access the REST API.

This may be a good resource: http://help.arcgis.com/en/webapi/flex/help/index.html#//017p0000001w000000

answered Sep 30, 2013 at 15:06
3
  • I'm still confused. What would I need to do exactly? pasted the URL into a web browser and I come up with this error: Server Error in '/ArcGIS/Services' Application. Runtime Error Description: An application error occurred on the server. The current custom error settings for this application prevent the details of the application error from being viewed remotely (for security reasons). It could, however, be viewed by browsers running on the local server machine... Commented Sep 30, 2013 at 15:30
  • it needs to be /arcgis/rest/services, not simply /arcgis/services. Commented Sep 30, 2013 at 15:32
  • Here is some documentation on crossdomain.xml files: adobe.com/devnet/articles/crossdomain_policy_file_spec.html Commented Sep 30, 2013 at 15:34

Your Answer

Draft saved
Draft discarded

Sign up or log in

Sign up using Google
Sign up using Email and Password

Post as a guest

Required, but never shown

Post as a guest

Required, but never shown

By clicking "Post Your Answer", you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.