using local map services Sharepoint web part v1.1.1 - AGS 9.3.1

939
5
01-12-2011 11:10 AM
JeffersonWest
New Contributor
I'm trying to add local map services to the Sharepoint web part.  I'm using v1.1.1 (I think) and AGS v9.3.1.  When I add data to the web part using a URL like http://localserver/arcgis/services, it thinks for a second and then tells me there was an error connecting to the URL, check and try again.  I'm not quite sure what the problem connecting would be.  We use these URL's in several other ESRI products with no problems, i.e. ArcGIS Desktop, Silverlight controls, ArcGIS Explorer, etc.

Any ideas appreciated.
0 Kudos
5 Replies
by Anonymous User
Not applicable
The ArcGIS Server REST API is used to communicate with the ArcGIS Server, thus the REST endpoint must be used when connecting to a server.

Try with 'http://localserver/arcgis/rest/services'
0 Kudos
JeffersonWest
New Contributor
I tried that as well, but it doesn't work either.
0 Kudos
johnjacobs
New Contributor
Hi
I had similar problem and was supplied with a file to place on ArcGis server IIS wwwroot folder

File name is crossdomain.xml

Contents below which can be edited for security

<?xml version="1.0"?>
<!DOCTYPE cross-domain-policy SYSTEM "http://www.macromedia.com/xml/dtds/cross-domain-policy.dtd">
<cross-domain-policy>
  <allow-http-request-headers-from domain="*" headers="*"/>
  <allow-access-from domain="*"/> 
</cross-domain-policy>

Hope this helps
0 Kudos
RenatoSalvaleon
Occasional Contributor III
The crossdomain.xml file is already in the root of the IIS (C:\Inetpub\wwwroot) of our ArcGIS Server?

This is what we have:
<?xml version="1.0"?>
<!DOCTYPE cross-domain-policy SYSTEM "http://www.macromedia.com/xml/dtds/cross-domain-policy.dtd">
<cross-domain-policy>
    <site-control permitted-cross-domain-policies="all"/>
    <allow-access-from domain="*"/>
</cross-domain-policy>

I tried both and the behavior is still the same.

Environment: Mapt 1.1 on ArcGIS 10 and ArcGIS 931.


Hi
I had similar problem and was supplied with a file to place on ArcGis server IIS wwwroot folder

File name is crossdomain.xml

Contents below which can be edited for security

<?xml version="1.0"?>
<!DOCTYPE cross-domain-policy SYSTEM "http://www.macromedia.com/xml/dtds/cross-domain-policy.dtd">
<cross-domain-policy>
  <allow-http-request-headers-from domain="*" headers="*"/>
  <allow-access-from domain="*"/> 
</cross-domain-policy>

Hope this helps
0 Kudos
JeffersonWest
New Contributor
Yup, adding crossdomain.xml does the trick.
0 Kudos