PROBLEM
After upgrading a Microsoft SQL Server enterprise geodatabase, existing referenced map services configured with the shared instance pool fail to start and cannot be overwritten or deleted. When attempting to manage the affected services, the following error messages are returned:
Error: Unable to retrieve information for existing item: Error handling service request :0x80004005 - No Layer or Table was initialized. in "esriCarto.GraphicFeatureServer"
Error: Unable to delete item.
Error: Failed to stop one or more services: [Service Name]. Could not undeploy services from one or more machines. 'null'.
Although the enterprise geodatabase remains accessible and new referenced services can be published using an updated database connection, the existing shared instance services and their associated portal items remain unusable.
Upgrading the Microsoft SQL Server enterprise geodatabase may result in an unexpected change to the SQL Server port. Existing referenced services store database connection information at the time of publishing. When the port changes, the connection strings embedded in the existing services become invalid. As a result, the services can no longer access their source data, preventing them from initializing layers or tables. Consequently, ArcGIS Server cannot load, overwrite, stop, or undeploy them. This also prevents the associated items from being deleted in the portal.
This workflow applies to map services configured with shared instance pooling.
Note: All map services in the shared instance pool are unavailable while the DynamicMappingHost.MapServer system service is stopped.
Warning:
Do not delete the DynamicMappingHost.MapServer system service. Delete only the map services referencing the outdated database connection.
Article ID: 000039888
Get help from ArcGIS experts
Start chatting now