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

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

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.

Related Information

Last Published: 9/14/2022

Article ID: 000028339

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