ArcGIS in a closed intranet

2919
1
10-10-2012 12:46 AM
ErikKallin
New Contributor
I develop a solution where the SharePoint web part should fetch map from an ArcGIS Server in a closed network without any internet access. The web part do however try to download the clientaccessplicy.xml and crossdomain.xml from services.arcgisonline.com. Since it can't reach them it throws a "Layer Initialization Failure" exception. It is thrown even if i do not have any layers at all. I have removed all connections and other references except for the one to my own ArcGIS server, but it still tries to access  services.arcgisonline.com. How do I turn that of?
My local ArcGIS Server and its services are however working as expected and the layers are displayed as they should when I add them.
0 Kudos
1 Reply
BrianRusso
New Contributor II
Hi.

We operate it in a closed intranet. You need to make sure you update not only the lists for basemaps/connections/locators, etc but you also need to update the xaml/xml files that live under each Site Collection in ./ArcGIS Mapping Configuration Files/

If that still gives you an error I would try deleting the Map web part and recreating it. Sometimes I've noticed even if you make changes to these files the map web part can be corrupt and doesn't correctly read updates.
0 Kudos