Select to view content in your preferred language

Inaccessible Layers

2241
3
08-09-2011 04:03 AM
DathenStrine
Deactivated User
After creating my maps and having them work in ArcGIS.com I have tried to open the maps on Explorer Online and it continues to say that the source for the layer is inaccessible.  I am not sure what I am missing with my set up to make it accessible.
0 Kudos
3 Replies
MikeRudden
Emerging Contributor
The most common reason for this sort of problem is that the server hosting the services is missing a clientaccesspolicy.xml file. See the Troubleshooting section of the Explorer Online Help for more information.

There is also already a similar thread on this topic here .

Mike
0 Kudos
JamesGustine
Regular Contributor
I am having this issue as well. However, I have copied the clientaccesspolicy.xml and crossdomain.xml to the C:\Inetpub\wwwroot of the AGS machine that hosts my services. I can access these services thru the ArcGIS.com javascript viewer, but can't thru the AGXO silverlight app. I have also tried creating a web map in ArcGIS.com with the services and opening that map in AGXO....no luck. I get an innaccessible layer error.

I am really excited to use this app, but need to load my services. Any other tips?

Below is the contents of the clientaccesspolicy.xml file. Thanks for any help

<?xml version="1.0" encoding="utf-8" ?>
<access-policy>
  <cross-domain-access>
    <policy>
      <allow-from http-request-headers="*" >
        <domain uri="*" />
  <domain uri="http://*" />
      </allow-from>
      <grant-to>
        <resource path="/" include-subpaths="true"/>
      </grant-to>
    </policy>
  </cross-domain-access>
</access-policy>
0 Kudos
MikeRudden
Emerging Contributor
Hi,
Interestingly we came across the same problem yesterday - the user's services worked in the ArcGIS.com viewer but not in Explorer Online. There was a clientaccesspolicy file in the Inetpub root, but some investigation revealed that there were 2 IIS instances on the machine and that the clientaccesspolicy was not in the correct root of the website. Once the file was moved to the correct location the services worked in Explorer Online. To determine this there are a couple of things you can do:
1. Have a look at the IIS installs and configuration using the IIS Manager available in administrative tools
2. Make sure that the clientaccesspolicy can be accessed through http.  So from a browser - http://<server name>/clientaccesspolicy.xml

For <server name> fully qualify it using the server.domain

Hope this helps
Mike
0 Kudos