Hi, I'm trying to use the print widget but it fails with the error message failed to create layer from service at http....../..../.../....etc. doesn;'t matter the page size or format, it always fails.
I'm using webAppBuilder 2.11 on our dev server and using locallayer to bring in layers from ArcGIS Server 10.6 via a published mxd.
Assuming the print service is an out of the box solution, what else can I look at? I've looked at the setting on ArcGIS server, I've also tried logging onto our server loading up the map and printing directly from there with no luck. I've really hit a brick wall here and everything I've tried does not work.
Does anyone have any ideas on where I could try looking next? Thanks.
- did you publish your print service from (a) ArcMap or (b) ArcGIS Pro? or (c) using the one that comes installed with the server (i.e. Utilities\PrintingTools)
I published from ArcGIS Pro. I also tried the service installed with the server to no avail, but that is to be expected, right?
It should work for both the Utilities\PrintTools and your service you published from ArcGIS Pro.
I have the same issue.
I found that the request made by GIS server to Image server is not correctly decoded by the image server. I made the request manually in the tool and it works.
There is no way to change the request made by GIS Server to fix it. I think that it is a BUG.
I am currently using the 10.7.1 version. I have the GIS Server and Image Server federaded with Portal for ArcGIS.
Also having the same issue. Arcgis Enterprise 10.7.1. Servers are federated. Worked in the Arcgis Pro tool just fine. Published the service but will not work with the exact same web map json. Really unfortunate that this is an issue.
I have just upgraded to 10.8.1 and am now receiving a print service error, in both portal and in web app builder print widgets.
Never had an issue with the print service before..... and now I cannot print from either the Portal 10.8.1 web map nor from web app builder apps.
Hi David Coley,
It looks like you ran into a bug that we discovered very recently that returns a local path instead of a URL. We are working on fixing this. I will see whether we have any work around for you for now.
Apologizes for the inconvenience.
Sure Tanu - thanks. If it helps, the print service from both my hosting site and federated site do produce the MAP_ONLY image in both the Portal Map Viewer and in the Web Application Builder print widget. One work around I thought of would be to use the AGOL service, e.g.