ERROR

Service 'system/<service_name>.gpserver' is required and cannot be deleted

Last Published: September 14, 2022

Error Message

When attempting to delete an ArcGIS Server service, the process fails and returns an error message.

Error:
Service 'System/<service_name>.gpserver' is required and cannot be deleted.
Error message when attempting to delete an ArcGIS Server service

Cause

The 'isDefault' parameter in the Service Properties JSON is set to true. If the value is set to true, the service is considered as the main system service and cannot be deleted as it is required to ensure ArcGIS Server is running properly.

Solution or Workaround

  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.
  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 the desired service.
  2. On the service page, under Supported Operations, click edit.
Navigate to edit
  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.
Service Properties JSON of the ArcGIS Server service on the Edit GPServer page
  1. Delete the service, and start the ArcGIS Server services. Refer to ArcGIS Server: Start and stop services for instructions.

Article ID: 000028339

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

Related Information

Discover more on this topic

Get help from ArcGIS experts

Contact technical support

Download the Esri Support App

Go to download options