Select to view content in your preferred language

Print widget ArcGIS Enterprise 11.2

625
14
03-31-2026 07:21 AM
PaulJohns
Regular Contributor

Hi everyone,

I'm facing a very strange problem.

I published 3 maps on our host (2 as vector tile maps and 1 as a raster tile map). All these maps were published from a computer under the username 'User 123'. ArcGIS Pro 3.3 was also installed under the same user account. The Print widget worked correctly at that time.

About two weeks ago, our organization changed all usernames from the format 'User_name 123' to a new format('User_name' 123). After this change, the Print widget stopped working properly.

I have already tried the following:

  • Republishing the maps
  • Restarting the services
  • Switching between synchronous and asynchronous execution modes

Unfortunately, nothing helped. The behavior is inconsistent every time.

Scenario 1: When printing a raster tiled map, the vector tile map shows as an "empty area".

Scenario 2 (usually occurs right after republishing a layer): I always get the following errors:

  1. Error executing tool. Export Web Map Task Job ID: j4b9fd39319424c4b99f4fbd051c7bba2 Failed to create layer from service at {service url/Map Server }. Failed to execute (Export Web Map). Failed to execute (Export Web Map Task). Utilities/PrintingTools.GPServer
  2. Error performing execute operation Error handling service request: Request type is not supported. 'Execute' asynchronous GP service.
  3. Failed to start one or more services. A JSONObject text must begin with '{' at character 1 of Admin

I have no idea what caused this issue. The Portal is offline (disconnected) and uses a local internal certificate.

0 Kudos
14 Replies
PaulJohns
Regular Contributor

Sure, it's a formal error: "Error executing tool. Export Web Map Task: Failed to create layer from service at https://myportal/services/rest/myservers_folder/myservers". Source of error: Utilities/PrintingTools.GPServer

I opened the URL directly on the server machine — it loads without any problems or errors.

0 Kudos
Laura
by MVP Regular Contributor
MVP Regular Contributor

portal admin: 

Check:

  • Machines → Server → Status = healthy

Can you generate a token at https://<portal>/portal/sharing/rest/generateToken

0 Kudos
PaulJohns
Regular Contributor

Hi Laura,

I’m trying to generate a token using the following endpoint: https://<portal>/portal/sharing/rest/generateToken

I can reach the page, but I’m not sure what to select in the form:

  • IP Address
  • Webapp URL
  • or something else?

Also, after generating the token, what should I do with it next?

To be honest, I don’t fully understand this part: Machines → Server → Status = healthy

Could you please explain what I need to do step by step?

Thank you in advance!

0 Kudos
Laura
by MVP Regular Contributor
MVP Regular Contributor

Laura_0-1776776818301.png

I have a feeling there's some token failure going on.

Can you access: https://<portal>/server/rest/services. warnings? require login?

If you go here: https://<portal>/server/rest/services/myservers_folder/myservers/MapServer/export does it bring up the export page? or does it give an error?

0 Kudos
PaulJohns
Regular Contributor

Hello Laura,

All pages are working properly.

There is one more interesting thing: all my editable layers, which are published as editable services on the portal, have editor tracking enabled. However, after the change about two weeks ago—when our organization updated all usernames from the format "User_name 123" to a new format ("User_name" 123)—the Print widget stopped working correctly.

Additionally, editor tracking also stopped working after this change. To restore correct behavior, I had to disable editor tracking for each feature layer and then enable it again.

0 Kudos