Select to view content in your preferred language

Print widget failing with map service layer in basemap

242
5
3 weeks ago
Labels (1)
apgis16
Regular Contributor

In ArcGIS Enterprise, I have a map image layer as the basemap in a simple web map. However, when I try to use the Esri default printing service, the result immediately fails and shows a red "x". When I remove the layer and just use an Esri basemap, then it prints fine. I'm wondering how I can print with the tile layer in the basemap?

0 Kudos
5 Replies
JeffreyThompson2
MVP Frequent Contributor

What version of Enterprise are you on?

Is the image layer secured in any way?

Do you use embedded credentials?

There are known issues with ArcGIS Enterprise failing to print secure services, like this post. It's from Enterprise 10.9.1. I'm not sure ESRI has made any progress on this issue since then. https://community.esri.com/t5/arcgis-enterprise-questions/custom-print-service-with-embedded-credent...

GIS Developer
City of Arlington, Texas
0 Kudos
apgis16
Regular Contributor
  • The version is 11.3.0
  • The map layer was just published by right clicking in Pro -> Share as web layer -> Reference registered -> Map Image
  • All the settings were left as default
  • When I check the logs in Server Manager, it says "Error executing tool. Export Web Map Task : Invalid input. Failed to execute (Export Web Map). Failed to execute (Export Web Map Task)." However, it works fine when I don't use that layer.
0 Kudos
ShengdiZhang
Esri Regular Contributor

Hi @apgis16 ,

I cannot reproduce the issue on my side. It might be related to something in your data or environment. Please reach out to Support so they can help you reproduce and investigate the issue.

Thanks,

Shengdi

0 Kudos
TanuHoque
Esri Regular Contributor

@JeffreyThompson2 

yes, that is fixed and should be working in recent releases.

0 Kudos
TanuHoque
Esri Regular Contributor

@apgis16 

are you using arcgis online? or an enterprise portal with a print service running within your organization's network?

if it is an enterprise print service, I'd recommend this:

  • log on to the server machine that hosts the print service as ArcGIS Server Account.
  • open a web browser and try to access the map service url
  • if you can't access it, you might need to reach out to your IT folks

 

also, while trying print from your web app, use your browser Developer Tools to see what error message you are getting from the print service. You can check server logs too to get some idea.

 

 

0 Kudos