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
1 Answer 1
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
-
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...Kimball– Kimball2013年09月30日 15:30:38 +00:00Commented Sep 30, 2013 at 15:30
-
it needs to be /arcgis/rest/services, not simply /arcgis/services.Jay Roebuck– Jay Roebuck2013年09月30日 15:32:54 +00:00Commented Sep 30, 2013 at 15:32
-
Here is some documentation on crossdomain.xml files: adobe.com/devnet/articles/crossdomain_policy_file_spec.htmlbcollins– bcollins2013年09月30日 15:34:58 +00:00Commented Sep 30, 2013 at 15:34
Explore related questions
See similar questions with these tags.