English

Problem: ArcGIS Server system services display as 'undefined' in ArcGIS Server Manager

Description

System services in ArcGIS Server display as 'undefined' instead of 'Geoprocessing Service' after the service name. This indicates the service is broken. Examples of a broken and working services are presented in the images below:


Example of a broken service:
Image of a broken service showing as 'undefined'

Example of a working service:
Image of a working service

Workflows associated with the service fail indefinitely. For example, publishing fails if PublishingTools or PublishingToolsEx services display as 'undefined'.

Cause

The service is corrupted.

Solution or Workaround

To fix this issue, the system service must be re-created.

Warning:   
Follow the instructions very carefully. Tampering with system services can be detrimental to production-level ArcGIS Enterprise environments.
  1. Obtain a new JSON file for the corrupted service. Copy the JSON file from the associated service in a working environment.
Default location: <Install location>\arcgisserver\config-store\services\System\<service name>\<service name>.GPServer.json
Image of the location of a service in Windows File Explorer
  1. Navigate to the service endpoint in ArcGIS Server Admin Directory.
Example of service endpoint pathway: https://hostname.domain.com/webContext/admin/services/System/<service name>
  1. Scroll to the bottom and click edit.
  2. Search for the following parameter:
"isDefault": true,
Image of the Service Properties textbox
  1. Change the value of the parameter from true to false. Click Save.
Note:
Changing the "isDefault" parameter to false allows the service to be deleted. If the parameter is unchanged, the system service cannot be deleted.
  1. Navigate back to the service endpoint in ArcGIS Server Admin Directory. Scroll to the bottom and click delete.
Image of the delete option in the service endpoint
  1. Click Delete when prompted.
Image of the Delete button in the Delete Service page
  1. Navigate to the following path and click createService.
https://hostname.domain.com/webContex/admin/services/System
Note:
The createService operation is present in both https://hostname.domain.com/webContext/admin/services/System and https://hostname.domain.com/webContext/admin/services. Ensure this operation is performed in the System folder.
  1. Paste the JSON file obtained in step 1 here. Click Create.

The service displays in the System folder and works properly.

Related Information