ERROR

Error executing tool. PublishServiceDefinition ERROR 001487: Failed to update the published service with the server-side data location. Please see the server's log for more details.

Last Published: January 27, 2024

Error Message

When attempting to publish a service referencing an enterprise database or geodatabase in ArcGIS Server 10.5.0, an error similar to the following is returned:

Error:   
Error executing tool. PublishServiceDefinition ERROR 001487: Failed to update the published service with the server-side data location. Please see the server's log for more details.
Note:
In certain cases, existing services that use these connections may work properly, and data stores may validate successfully.

Cause

The 'dsconnections.lst' file is not present in the following directories:

C:\arcgisserver\config-store\data

C:\Program Files\ArcGIS\Server\DatabaseSupport

This file is not generated when the 'Validate All' command is run via ArcGIS Server Manager. This issue is caused by a defective patch, the 'ArcGIS Server Geoprocessing Service Startup Patch' for 10.5.0.

Solution or Workaround

To circumvent the issue, follow the steps outlined below:
  1. Remove the previously installed Geoprocessing Service Startup patch.
  2. Download and install the updated patch: ArcGIS Server Geoprocessing Service Startup Patch.
  3. Log in to ArcGIS Server Manager. Navigate to Site > GIS Server > Data Stores. Click Validate All.

    Image of the ArcGIS Server Manager Data Stores page.
     

Article ID:000019106

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