Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics 365 | Integration, Dataverse...
Unanswered

Dynamics On-Premises v9.1 Issue

Posted on by 300

Hi,

I have upgraded an on-premises dev server from Dynamics v9 to Dynamics v9.1. It is working, but is very slow.  Inspecting the event logs on the CRM server, there are loads of errors saying the same thing. Some of them are complaining about 'ScaleGroup' and some about ''OrganizationLifecycle'. Any help would be greatly appreciated. The error is below;

The locator service failed to connect to the configuration database (MSCRM_CONFIG). The error was: System.Data.SqlClient.SqlException (0x80131904): Invalid object name 'ScaleGroup'.
at System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection, Action`1 wrapCloseInAction)
at System.Data.SqlClient.SqlInternalConnection.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, Boolean shouldCacheForAlwaysEncrypted)
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.LockConnectionAndExecuteMethod[TResult](IDbConnection connection, Func`1 executeMethod)
at Microsoft.Crm.CrmDbConnection.InternalExecuteWithRetry[TResult](Func`1 ExecuteMethod, IDbCommand command, ICrmTransaction crmTransaction)
at Microsoft.Crm.CrmDbConnection.<>c__DisplayClass157_0.<InternalExecuteReader>b__0()
at Microsoft.PowerApps.CoreFramework.ActivityLoggerExtensions.Execute[TResult](ILogger logger, EventId eventId, ActivityType activityType, Func`1 func, IEnumerable`1 additionalCustomProperties)
at Microsoft.Xrm.Telemetry.XrmTelemetryExtensions.Execute[TResult](ILogger logger, XrmTelemetryActivityType activityType, Func`1 func)
at Microsoft.Crm.CrmDbConnection.InternalExecuteReader(IDbCommand command, Nullable`1 commandBehavior, ICrmTransaction crmTransaction, 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:40023dc6-0d06-43c0-814f-bab17257fe32
Error Number:208,State:1,Class:16.

  • Patrick Jaehne Profile Picture
    Patrick Jaehne 95 on at
    RE: Dynamics On-Premises v9.1 Issue

    Hello has anyone meanwhile a solution to the problem? In the update 1.7 the error is still not fixed.

    Thanks

  • stoker Profile Picture
    stoker 50 on at
    RE: Dynamics On-Premises v9.1 Issue

    I am facing similar issues with v9.1.

    Did you get your issue resolved?

    Did reindexing help?

  • PhilipK Profile Picture
    PhilipK 611 on at
    RE: Dynamics On-Premises v9.1 Issue

    Me as well have these two errors however I do believe these are just leftover "noise" from MS code that just so to happen to be left into 9.1 on-prem package but are functions that is used only in Dynamics Online.
    Google a bit on Dynamics and Scale Group and you'll see.
    Basically, with every major release since CRM 2015 there have been various of these odd error messages that have later been addressed as bits of code that is used Online.

    But to your issue with the environment feeling slow after the upgrade.
    Is it still an problem, usually all pages after the upgrade needs to be recompiled(makes them really slow the first time you load them) the other one is that Indexes within the DB might have changed and that the Re-Index job executed from the Async Service might have not run yet(hence why most run their own index/statistics maintenance job on the SQL side at least in production).

    BR. /Philip 

  • Xavier Villafuerte Profile Picture
    Xavier Villafuerte 350 on at
    RE: Dynamics On-Premises v9.1 Issue

    Same problem here. Let me know if you found any advise on how to troubleshoot the issue. Indeed, ScaleGroup is not an object on the MSCRM_CONFIG DB.

  • Ran Zhang Profile Picture
    Ran Zhang on at
    RE: Dynamics On-Premises v9.1 Issue

    Hi Mluce,

    Thanks for experiencing our latest 9.1. If the issue does happen after upgrading to 9.1 I believe it would be best to raise a support service request for Dynamics support to identify whether it is product defect. Thanks.

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

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Tips for Writing Effective Suggested Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,280 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,235 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Product updates

Dynamics 365 release plans