PROBLEM

Unable to configure data store in ArcGIS Data Store

Last Published: October 7, 2025

Description

When attempting to unregister, re-register, or perform both actions on a data store in an existing deployment, the following error messages are returned:

Error:
Attempt to configure data store failed. Caused by: Cannot invoke "com.esri.arcgis.datastore.model.cachestore.CacheStoreConfiguration.getDatastoreName()" because "" is null
Error:
Attempt to configure data store failed. Caused by: Failed to register relational data store. Caused by: Machine '<adminURL> [<machineURL>]' returned an error. 'Error registering item. Registration of database '/enterpriseDatabases/AGSDataStore_ds_' is incomplete. Failed to get connection string from System/PublishingTools GP service.'

Cause

The data store configuration files are incomplete or corrupted, causing the getDatastoreName() method to be invoked on a CacheStoreConfiguration object with a null value, indicating that either the configuration object or its datastoreName property is missing.

Solution or Workaround

To resolve the issue, run a repair on ArcGIS Data Store and unregister or reregister the affected relational data stores. Refer to How To: Restore ArcGIS Data Store for more information.

Article ID: 000037618

Software:
  • ArcGIS Data Store
  • Portal for ArcGIS
  • ArcGIS Enterprise

Get support with AI

Resolve your issue quickly with the Esri Support AI Chatbot.

Start chatting now

Related Information

Discover more on this topic

Get help from ArcGIS experts

Contact technical support

Start chatting now

Go to download options