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:
https://webadaptor.domain/sharing/tools/newPrint/GPServer/Export%20Web%20Map
(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:
<SPAN class="punctuation token">{</SPAN>
<SPAN class="string token">"error"</SPAN><SPAN class="punctuation token">:</SPAN><SPAN class="punctuation token">{</SPAN>
<SPAN class="string token">"code"</SPAN><SPAN class="punctuation token">:</SPAN><SPAN class="number token">400</SPAN><SPAN class="punctuation token">,</SPAN>
<SPAN class="string token">"message"</SPAN><SPAN class="punctuation token">:</SPAN><SPAN class="string token">"Unable to complete operation."</SPAN><SPAN class="punctuation token">,</SPAN>
<SPAN class="string token">"details"</SPAN><SPAN class="punctuation token">:</SPAN><SPAN class="punctuation token">[</SPAN>
"Error executing tool<SPAN class="punctuation token">.</SPAN> Export Web Map Task Job ID<SPAN class="punctuation token">:</SPAN> <SPAN class="punctuation token">[</SPAN>jobidhere<SPAN class="punctuation token">]</SPAN> <SPAN class="punctuation token">:</SPAN> ERROR <SPAN class="number token">999999</SPAN><SPAN class="punctuation token">:</SPAN> Error executing <SPAN class="keyword token">function</SPAN><SPAN class="punctuation token">.</SPAN>
Not enough memory to create requested bitmap<SPAN class="punctuation token">.</SPAN>
Failed to execute <SPAN class="punctuation token">(</SPAN>Export Web Map<SPAN class="punctuation token">)</SPAN><SPAN class="punctuation token">.</SPAN>
Failed to execute <SPAN class="punctuation token">(</SPAN>Export Web Map Task<SPAN class="punctuation token">)</SPAN><SPAN class="punctuation token">.</SPAN>"
<SPAN class="punctuation token">]</SPAN>
<SPAN class="punctuation token">}</SPAN>
<SPAN class="punctuation token">}</SPAN><SPAN class="line-numbers-rows"><SPAN></SPAN><SPAN></SPAN><SPAN></SPAN><SPAN></SPAN><SPAN></SPAN><SPAN></SPAN><SPAN></SPAN><SPAN></SPAN><SPAN></SPAN><SPAN></SPAN><SPAN></SPAN><SPAN></SPAN></SPAN>I've seen some public Arcgis Servers using that newPrint tool as a GPServer. Does anybody have some info about it?