How to generate map image with Portal Arcgis newPrint tool?

Discussion created by carlosnantes on Feb 22, 2018
Latest reply on Mar 2, 2018 by carlosnantes

Hello guys,


I'm struggling with an issue I've encontered after publishing an ortophoto in our Arcgis Server. We don't have Image server extension so I had to publish it as a Mapserver. The mxd is full of references to geotiffs (1800 aproximately). I'm supposing this is the root of the problem.


I have generated the cache for this mapserver and I can view it using Map Viewer of Portal Arcgis. But I can't generate an image of it using the default Arcgis PrintingTools (https://webadaptor.domain/rest/services/Utilities/PrintingTools/GPServer/Export%20Web%20Map%20Task).


I have found that if I let the printing tools link blank in my Portal Arcgis Settings, the Print widget of Map Viewer will use another printing tool located at:


(See attached image)


That misterious tool will generate the image correctly, but I can't find it in the docs, so that I learn how to use it.

The PrintingTools of my Arcgis Server won't generate the image and will give the following error response:

      "message":"Unable to complete operation.",
         "Error executing tool. Export Web Map Task Job ID: [jobidhere] : ERROR 999999: Error executing function.
       Not enough memory to create requested bitmap.
       Failed to execute (Export Web Map).
       Failed to execute (Export Web Map Task)."


I've seen some public Arcgis Servers using that newPrint tool as a GPServer. Does anybody have some info about it?