web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

Session Id :
Microsoft Dynamics 365 | Integration, Dataverse...
Suggested Answer

Error The locator service failed to connect to the configuration database (MSCRM_CONFIG). Invalid object name 'Datacenter'

(0) ShareShare
ReportReport
Posted on by 112

Hi I counter some issue in our Dynamic CRM v9 on prem instance. If data is pushed to the system at the same time the error below, data will not be stored. 
Capture9.PNG
The locator service failed to connect to the configuration database (MSCRM_CONFIG). The error was: System.Data.SqlClient.SqlException (0x80131904): Invalid object name 'Datacenter'.
at System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection, Action`1 wrapCloseInAction)
at System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj, Boolean callerHasConnectionLock, Boolean asyncClose)
at System.Data.SqlClient.TdsParser.TryRun(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj, Boolean& dataReady)
at System.Data.SqlClient.SqlDataReader.TryConsumeMetaData()
at System.Data.SqlClient.SqlDataReader.get_MetaData()
at System.Data.SqlClient.SqlCommand.FinishExecuteReader(SqlDataReader ds, RunBehavior runBehavior, String resetOptionsString, Boolean isInternal, Boolean forDescribeParameterEncryption)
at System.Data.SqlClient.SqlCommand.RunExecuteReaderTds(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, Boolean async, Int32 timeout, Task& task, Boolean asyncWrite, Boolean inRetry, SqlDataReader ds, Boolean describeParameterEncryptionRequest)
at System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method, TaskCompletionSource`1 completion, Int32 timeout, Task& task, Boolean& usedCache, Boolean asyncWrite, Boolean inRetry)
at System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method)
at System.Data.SqlClient.SqlCommand.ExecuteReader(CommandBehavior behavior, String method)
at Microsoft.Crm.CrmDbConnection.InternalExecuteWithRetry[TResult](Func`1 ExecuteMethod, IDbCommand command)
at Microsoft.Crm.CrmDbConnection.<>c__DisplayClass104_0.<InternalExecuteReader>b__0()
at Microsoft.PowerApps.CoreFramework.ActivityLoggerExtensions.Execute[TResult](ILogger logger, EventId eventId, ActivityType activityType, Func`1 func)
at Microsoft.Xrm.Telemetry.XrmTelemetryExtensions.Execute[TResult](ILogger logger, XrmTelemetryActivityType activityType, Func`1 func)
at Microsoft.Crm.CrmDbConnection.InternalExecuteReader(IDbCommand command, Nullable`1 commandBehavior, Int32 sourceLineNumber, String memberName, String sourceFilePath)
at Microsoft.Crm.CrmDbConnection.ExecuteReader(IDbCommand command, Boolean impersonate, Int32 sourceLineNumber, String memberName, String sourceFilePath)
at Microsoft.Crm.SharedDatabase.DatabaseService.ExecuteBaseReader(CrmDbConnection connection, IDbCommand command, String[] columns, IDictionary collectionToFill)
ClientConnectionId:c12a4ce7-a426-4b3b-b89a-9be5bf927129
Error Number:208,State:1,Class:16.

I have the same question (0)
  • LeoAlt Profile Picture
    16,331 Moderator on at

    Hi partner,

    Since you are using on-premise environment and we can't reproduce your issue, please raise a ticket with Microsoft Support Team for more professional help.

    Best Regards,

    Leo

  • Suggested answer
    Asif365 Profile Picture
    1,431 on at

    The error is showing that the configuration settings on this Dynamic CRM v9 computer may be out of date.

    have you verified the connection between Dynamic CRM v9  Platform and CRM configuration database ?

    Do you have any idea what could have been changed? Was there some update installed that could have corrupted something?

    also please check the Async Service and other services IIS, App pool and restart the services.

  • Li Gang Profile Picture
    10 on at

    Hi, We have the same problem. Do you solve this issue?

  • Matthias_Back Profile Picture
    20 on at

    Hi I have the same issue, how was it solved?

  • indlad Profile Picture
    450 on at

    Any update on this, its really annoying to see these entries in event logs in On-Prem.

  • BikashSamal Profile Picture
    15 on at

    Hi,

    We got the exactly same error on on-premise D365 CRM and CRM unable to save the data. The async services got crashed and CRM got hanged. Did you get a solution for above? Please help.

    Thanks in advance.

    Thanks

    Bikash

  • BikashSamal Profile Picture
    15 on at

    Hi,

    Did you get a solution for this? We got the exact error. Please help.

    Thanks

    Bikash

  • Hamid Reza Profile Picture
    65 on at

    I get this error too when I try to Import my Organization (V 0.11) to CRM Server (installed all updates from 0.3 to 0.11)

    My Dynamics CRM version is 9 too.!

    did you find any solution for your problem ?

  • GebRom Profile Picture
    10 on at

    Are there any news on this? We're running v 9.1.3 onPremise Services and experience the same issues.

  • Suggested answer
    Saurabh Dixit Profile Picture
    Microsoft Employee on at

    Hi,

    This seems to be an  on-premise environment and we can't reproduce your issue. I would request you to please raise a service request with Microsoft.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Meet the Microsoft Dynamics 365 Contact Center Champions

We are thrilled to have these Champions in our Community!

Congratulations to the March Top 10 Community Leaders

These are the community rock stars!

Leaderboard > Microsoft Dynamics 365 | Integration, Dataverse, and general topics

#1
11manish Profile Picture

11manish 176

#2
ManoVerse Profile Picture

ManoVerse 56 Super User 2026 Season 1

#3
Niki Patel Profile Picture

Niki Patel 42

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans