HOW TO

Delete and republish the ArcGIS Server PrintingTools service

Last Published: November 2, 2022

Summary

Utility services are configured in ArcGIS Enterprise to allow conducting various tasks such as printing and geocoding resources. In some instances, the PrintingTools service becomes corrupted or needs to be moved to a different folder. The PrintingTools service must be deleted and republished to ArcGIS Server to continue working as intended. This article provides the workflow on how to delete and republish the ArcGIS Server PrintingTools service.

Procedure

  1. Stop the ArcGIS Server services. Refer to ArcGIS Server: Start and stop services for instructions.
  2. Log in to the ArcGIS Server Administrator Directory with an administrator account, and click services.
The services option in the ArcGIS Server Administrator Directory
  1. In the ArcGIS Server Administrative Directory window, under Folders, click Utilities.
The Utilities option in the ArcGIS Server Administrator Directory
  1. On the Folder - Utilities page, under Services, click PrintingTools (GPServer).
  2. On the Service - PrintingTools (GPServer) page, under Supported Operations, click edit.
The edit option in the ArcGIS Server Administrator Directory
  1. On the Edit GPServer page, in the Service (in JSON format) text box, search for the 'isDefault' parameter.
  2. Change the value to false.
  3. Check the Run asynchronously check box and click Save Edits.
The Edit GPServer page settings
  1. On the Service - PrintingTools (GPServer) page, click delete to delete the service.
The delete option in the ArcGIS Server Administrator Directory
  1. Return to the Folder - Utilities page, under Supported operations, click createService.
The createService option in the ArcGIS Server Administrator Directory
  1. On the Create Service page, paste the following JSON script into the Service (in JSON format) text box, and click Create.
{
"serviceName": "PrintingTools",
"type": "GPServer",
"description": "The PrintingTools service is used by web application developers to export the contents of a webmap to pdf, jpeg, png or other formats. This service is generally used in the context of providing applications with printing functionality.",
"capabilities": "null",
"provider": "ArcObjects11",
"clusterName": "default",
"minInstancesPerNode": 1,
"maxInstancesPerNode": 2,
"instancesPerContainer": 1,
"maxWaitTime": 60,
"maxStartupTime": 300,
"maxIdleTime": 1800,
"maxUsageTime": 600,
"loadBalancing": "ROUND_ROBIN",
"isolationLevel": "HIGH",
"configuredState": "STARTED",
"recycleInterval": 24,
"recycleStartTime": "00:00",
"keepAliveInterval": -1,
"private": false,
"isDefault": true,
"maxUploadFileSize": 0,
"allowedUploadFileTypes": "",
"properties": {
  "virtualOutputDir": "/rest/directories/arcgisoutput",
  "maximumRecords": "1000",
  "outputDir": "/arcgis/shared/arcgisserver/arcgisoutput",
  "jobsDirectory": "/arcgis/shared/arcgisserver/arcgisjobs",
  "showMessages": "Error",
  "executionType": "Synchronous",
  "toolbox": "${AGSSERVER}/framework/runtime/ArcGIS/Resources/ArcToolBox/Services/PrintingTools.tbx",
  "jobsVirtualDirectory": "/rest/directories/arcgisjobs"
},
"portalProperties": {
  "isHosted": false,
  "portalItems": [{
   "itemID": "3ecf4e42bafb4de5bfa0db1f79f6188b",
   "type": "GPServer"
  }]
},
"extensions": [],
"frameworkProperties": {},
"datasets": []
}
  1. Start the ArcGIS Server services. Refer to ArcGIS Server: Start and stop services for instructions.

Article ID: 000028531

Software:
  • ArcGIS Server

Receive notifications and find solutions for new or common issues

Get summarized answers and video solutions from our new AI chatbot.

Download the Esri Support App

Get help from ArcGIS experts

Contact technical support

Download the Esri Support App

Go to download options