Problem: Publishing a feature service to ArcGIS Server fails after ArcGIS Server is upgraded
When attempting to publish a feature service in ArcGIS Server, the attempt fails and the following server log error is returned, "[geoprocessing system service name] system service is missing." For example:
Error: PublishingToolsEx system service is missing
System services are used by ArcGIS Server to publish service definition files as services.
In some cases, upgrading ArcGIS Server to 10.5 and above causes some geoprocessing server services to change or go missing. This is because prior versions use the same service with a different name. For example, the PublishingTools system service is referred to as PublishingToolsEx in 10.5 and above. Upgrading to 10.5 and above causes ArcGIS Server to refer to the old geoprocessing server service name instead of the new name.
Solution or Workaround
The geoprocessing system must be recreated to enable publishing. The following steps demonstrate how to recreate the PublishingToolsEx geoprocessing service.
- Log in to ArcGIS Server Administrator Directory.
- Navigate to services > System > PublishingTools (GPServer).
- Scroll down and click REST in the Supported Interfaces segment, and copy the JSON script.
- Navigate to services > System.
- Under Supported operations, click createService.
- Paste the JSON script copied in step 3 and replace "serviceName": "PublishingTools" with "serviceName": "PublishingToolsEx" and "provider"."ArcObjects" with "provider"."ArcObjects11".
- Click Create.
- Restart the service. For more information, refer to ArcGIS Server: Starting and stopping services.
Note: Other missing geoprocessing systems (for example, DistributedWorker or RasterRendering) can be recreated using the same steps provided.
- ArcGIS Server: Publish a feature service from ArcMap
- ArcGIS Server: What types of services can you publish?
- ArcGIS: PublishingToolsEx