Print GP service cannot connect to basemapping service

3551
2
05-23-2013 03:52 PM
BenScott2
New Contributor
Hi,

I am having a problem with the print gp task in 10.1 when external basemapping is used.

For example if I try to print a map with an ArcGIS online basemap I get the following error:

Unable to complete operation.
Error executing tool.: Layer "Topographic": Unable to connect to map server at http://services.arcgisonline.com/ArcGIS/rest/services/World_Topo_Map/MapServer. Failed to execute (Export Web Map). Failed to execute (Export Web Map Task).

A few bits of context to the problem:
* The gp task is hosted on a vm server designed for internal use, but the server can access the rest endpoint of the esri basemapping at http://services.arcgisonline.com/ArcGIS/rest/services/World_Topo_Map/MapServer.
* I can also make requests from the rest endpoint of the internal server to the esri basemapping service and can get the result back.
* It works fine using a map with only internal services.
* There is no security on the internal server and it is being tested using unsecured arcgis basemaps
* I am calling the gp task using the standard print widget in flex, but the flex side doesn't seem to be a problem, because if i reconfigure the flex widget to use the sample print task at http://sampleserver6.arcgisonline.com/arcgis/rest/services/Utilities/PrintingTools/GPServer/Export%2... it works fine.

I know it sounds like something to do with permissions or firewall settings etc but the server seems to be able to make requests to the external acrgis service without any trouble so it is quite perplexing.

Anyone experienced the same thing?

Cheers,
Ben
Tags (2)
0 Kudos
2 Replies
nicogis
MVP Frequent Contributor
0 Kudos
BenScott1
Occasional Contributor
Problem sorted now - the arcgis server user was set up as a local user with insufficient permissions to access the basemapping (which was an external web service).
0 Kudos