English
Continue in the app
Be The First To Get Support Updates
Want to know about the latest technical content and software updates?

How To: Recreate a new publishing tool from an existing JSON script

Summary

In some instances, the server publishing tools becomes corrupted due to unknown reasons. The publishing tools must be recreated for the server to continue working as intended. Using an administrator account, the publishing tools service can be recreated through the ArcGIS Server Administrator Directory by copying the existing JSON script of the current publishing tool. The following article describes the workflow on how to do so.

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.
  3. In the ArcGIS Server Administrative Directory window, under Folders, click System.
Select System in ArcGIS Server Administrator Directory
  1. On the Folder - System page, under Services, click PublishingTools (GPServer).
  2. On the Service - PublishingTools (GPServer) page, under Supported Operations, click edit.
Navigate to edit
  1. On the Edit GPServer page, in the Service (in JSON format) text box, copy the JSON script and paste it in a text editor, for example, Notepad.
  2. Return to the Service - PublishingTools (GPServer) page, under Supported Operations, click delete.
  3. Return to the Folder - System page, under Supported Operations, click createService.
  4. On the Create Service page, paste the JSON script copied in Step 6 into the Service (in JSON format) text box. Click Create.
Recreate the service
  1. Start the ArcGIS Server services. Refer to ArcGIS Server: Start and stop services for instructions.

Related Information

Last Published: 9/14/2022

Article ID: 000024943

Software: ArcGIS Server 10.9.1, 10.9, 10.8.1, 10.8, 10.7.1, 10.7, 10.6.1, 10.6