Cross Domain Error
Does anyone know what causes this and how to fix it?
/customer/servlet/servlet.FileDownload?file=00P6000000eltgoEAA
In this situation I am trying to load data from this REST endpoint outside of my own network to a viewer as a user (not through Essentials manager):
http://casgemgis.water.ca.gov/arcgis/rest/services
I can see the data in the REST endpoint, can load it in ArcGIS Desktop and can even load the data in the Essentials manager but get this error when I open the viewer.
/customer/servlet/servlet.FileDownload?file=00P6000000em1DFEAY
/customer/servlet/servlet.FileDownload?file=00P6000000eltupEAA
I had the same issue with:
http://ecos.fws.gov/arcgis/rest/services/crithab/usfwsCriticalHabitat/MapServer
I have other data from REST endpoints outside of my network that work just fine.
Examples:
http://data1.commons.psu.edu/ArcGIS/rest/services/pasda/NOAAFisheries/MapServer
http://107.20.228.18/ArcGIS/rest/services/Wetlands/MapServer
Are the Servers that I can consume the REST Services though my web app missing the Cross Domain file?
-
Hi Bobby, I tried to load a map service from that server on the viewer and got the same error. I think that there might be an issue with the crossdomain.xml file on the casgemgis server (http://casgemgis.water.ca.gov/crossdomain.xml) since the browser is not respecting it and still blocking the connection. If you have access to the casgemgis.water.ca.gov server I would suggest adding a clientaccesspolicy.xml to the root folder in IIS. I hope it helps, -Alejandro 0 -
Thanks Alejandro,
Bobby Jo
0 -
I'm having the same issue. Did you resolve this?
0 -
Rebecca,
Is the map service you are having issues with public? Does it have the clientaccess policy and cross domain xml files referenced by Alejandro?
I believe ensuring a correctly configured crossdomain.xml and clientaccesspolicy.xml should correct any cross domain errors in the Silverlight viewer.
Thanks,
Mike Ketler
0
Please sign in to leave a comment.
Comments
4 comments