PROBLEM
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.'
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.
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
Get help from ArcGIS experts
Start chatting now