I've run into a problem that has me stumped. A while back I made a custom print template and published it to ArcGIS Server, and it worked great for a while, but all of a sudden I can't print some secured services that reside on the same ArcGIS Server instance as the print tool. The only clue I'm getting from my server logs is the message that Export Web Task is failing to create a layer from the service in question. In my latest example, I had a service that's shared with my organization throw this exception, but it began working once that same map service was made public. Again, everything is on the same server, and I'm stumped as to why it's now not working as expected. Thoughts?
Hi @BenClark ,
We recently had a similar issue with a custom print service where it didn't work for a secured layer hosted on the same ArcGIS Server (!). What worked for us is republishing from an external client (ArcMap) using ArcGIS Server DNS URL as a connection - previously tool was published using ArcGIS Server connection via internal machine name, however the Custom Print Service was being accessed via external DNS. Hope this helps!
It might come down to that, @Irina_Rakhimova, but I think I'm dealing with a bigger issue: I was poking around today, revisiting this issue, and I'm not even able to pull up server logs to see what's manifesting there; the status bar just sits there like it's loading log entries but it never goes anywhere...
Hey @BenClark ,
I would check what Irina said. I have seen where the logs would not generate properly if the disk space is full where ArcGIS Server is installed. Also, were there any authentication changes made to your ArcGIS Server / Portal when you realized the issue started occurring? Does the same issue happen if you use the ArcGIS Server default print service instead of the custom Print template?
Please let me know!
This item took a back seat while I sorted some other things out, but I finally tackled it again today. It turns out that I needed to embed credentials in the service, as discussed here. The ArcGIS Pro method is somewhat beyond my current skillset, but I was able to do this using the simpler ArcMap method.