AnsweredAssumed Answered

Problems with Export Web Map Task/ESRI hosted Basemaps

Question asked by rcsellman on Nov 21, 2014
Latest reply on Dec 5, 2014 by rcsellman

In my application, I am having trouble printing ESRI hosted basemaps using the Export Web Map Task on my ArcGIS Server.  In the app, I have a variety of basemaps available, some custom - hosted on my server and some from ESRI (World Topo and Imagery).  Printing only works when services from my ArcGIS Server are in the map.  If I turn on the Topo map or the Imagery map, I get the following error:


{"error":{"code":400,"message":"Unable to complete operation.","details":["Error executing tool.: Layer \"layer0\": Unable to connect to map server at\nFailed to execute (Export Web Map).\nFailed to execute (Export Web Map Task)."]}}


The above error shows an issue with the World_Topo_Map, but the same problem occurs with the Imagery map.


Initially I assumed this was a proxy issue - the first time I saw this, I wasn't using a proxy in my app.  I have since set up a proxy page (I think correctly) but still get the same exact error when printing hosted services from  Below is the request URL generated, proving that the proxy is being used.  The error is identical to the error above:…


I searched the forums for a while and couldn't find much related to the issue I am having.  Does anyone have any ideas as to what's going on here? 


Any help is much appreciated!