To All Flex Viewer Users:
I have a FlexViewer application that uses my organizations AGS v10.0 mapservices. In order to get a better quality printout I am trying to use ESRI's printing service.
As such, I have configured the Print widget to use ESRI's v10.1 Print service as follows:
<taskurl>http://sampleserver6.arcgisonline.com/ArcGIS/rest/services/Utilities/PrintingTools/GPServer/Export%20Web%20Map%20Task</taskurl>
I then tried to create a pdf print with this task from my internal FlexViewer app but I received the following results:
Error executing print task:
[RPC Fault faultString="Unable to complete operation." faultCode="400" faultDetail="Error executing tool.: Layer "BaseMap AdminBoundaries C StPl FileGeo": Unable to connect to map server at http://myserver/ArcGIS/rest/services...eGeo/MapServer.
Layer "BaseMap Hillshade Aerials 2010 C StPl FileGeo": Unable to connect to map server at http://myserver/ArcGIS/rest/services...eGeo/MapServer.
Layer "BaseMap RoadsRiversRailStreams C StPl FileGeo": Unable to connect to map server at http://myserver/ArcGIS/rest/services...eGeo/MapServer.
Layer "BaseMap AdminBoundaries C StPl FileGeo": Unable to connect to map server at http://myserver/ArcGIS/rest/services...eGeo/MapServer.
Layer "Parcels Search D StPl FileGeo": Unable to connect to map server at http://myserver/ArcGIS/rest/services...eGeo/MapServer.
Layer "Road Alias Join D StPl FileGeo": Unable to connect to map server at http://myserver/ArcGIS/rest/services...eGeo/MapServer.
Layer "hiddenLayer_Parcels": Failed to create layer from service at http://myserver/ArcGIS/rest/services...ed/MapServer/0.
Failed to execute (Export Web Map).
Failed to execute (Export Web Map Task)."]
I am able to see these layers in my application, so it would appear to me that the problem is that these layers can not be seen by ESRI's external server. Is this the correct interpretation of this error message?
If this is the case, it means that the mapservices need to be publically accessible so the data can be sent to ESRI's print server where the pdf is created?
Any help or feedback is greatly appreciated. Thank you.
I have a FlexViewer application that uses my organizations AGS v10.0 mapservices. In order to get a better quality printout I am trying to use ESRI's printing service.
As such, I have configured the Print widget to use ESRI's v10.1 Print service as follows:
<taskurl>http://sampleserver6.arcgisonline.com/ArcGIS/rest/services/Utilities/PrintingTools/GPServer/Export%20Web%20Map%20Task</taskurl>
I then tried to create a pdf print with this task from my internal FlexViewer app but I received the following results:
Error executing print task:
[RPC Fault faultString="Unable to complete operation." faultCode="400" faultDetail="Error executing tool.: Layer "BaseMap AdminBoundaries C StPl FileGeo": Unable to connect to map server at http://myserver/ArcGIS/rest/services...eGeo/MapServer.
Layer "BaseMap Hillshade Aerials 2010 C StPl FileGeo": Unable to connect to map server at http://myserver/ArcGIS/rest/services...eGeo/MapServer.
Layer "BaseMap RoadsRiversRailStreams C StPl FileGeo": Unable to connect to map server at http://myserver/ArcGIS/rest/services...eGeo/MapServer.
Layer "BaseMap AdminBoundaries C StPl FileGeo": Unable to connect to map server at http://myserver/ArcGIS/rest/services...eGeo/MapServer.
Layer "Parcels Search D StPl FileGeo": Unable to connect to map server at http://myserver/ArcGIS/rest/services...eGeo/MapServer.
Layer "Road Alias Join D StPl FileGeo": Unable to connect to map server at http://myserver/ArcGIS/rest/services...eGeo/MapServer.
Layer "hiddenLayer_Parcels": Failed to create layer from service at http://myserver/ArcGIS/rest/services...ed/MapServer/0.
Failed to execute (Export Web Map).
Failed to execute (Export Web Map Task)."]
I am able to see these layers in my application, so it would appear to me that the problem is that these layers can not be seen by ESRI's external server. Is this the correct interpretation of this error message?
If this is the case, it means that the mapservices need to be publically accessible so the data can be sent to ESRI's print server where the pdf is created?
Any help or feedback is greatly appreciated. Thank you.