Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics 365 | Integration, Dataverse...
Suggested answer

Dynamics On-Prem organization upgrade to 9.1.3.11 performance issue

(0) ShareShare
ReportReport
Posted on by 50

Our Dynamics on-prem instance has successfully upgraded from 9.0.24.8 to 9.1.3.11 but we are noticing a big drop in performance after the upgrade.

Event logs are logging approximately 50 ConfigDB logs per second;

(Level:Information)

The locator service failed to connect to the configuration database (MSCRM_CONFIG). The error was: System.Data.SqlClient.SqlException (0x80131904): Invalid object name 'OrganizationLifecycle'
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, 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:2d435f3a-27cf-4b67-9b09-cf94f2c4a55c
Error Number:208,State:1,Class:16.

                                                                                                  

And every few minutes we are seeing Application error;

(Level:Error)

Faulting application name: Microsoft.Crm.Sandbox.WorkerProcess.exe, version: 9.0.46.4636, time stamp: 0x8a9abefb
Faulting module name: KERNELBASE.dll, version: 10.0.14393.4350, time stamp: 0x606eafeb
Exception code: 0xe0434352
Fault offset: 0x0000000000034f38
Faulting process id: 0x38b4
Faulting application start time: 0x01d7bb73ba2edf08
Faulting application path: C:\Program Files\Dynamics 365\Server\bin\Microsoft.Crm.Sandbox.WorkerProcess.exe
Faulting module path: C:\Windows\System32\KERNELBASE.dll
Report Id: dc382b18-a69c-4351-835c-ca6452662df8
Faulting package full name:
Faulting package-relative application ID:

                                                                                                

Hard to say that these Event logs are related to the performance issue but that's all we have to go by. Anyone seeing similar issues? 

Any help much appreciated!

  • Suggested answer
    RE: Dynamics On-Prem organization upgrade to 9.1.3.11 performance issue

    Hello Stoker,

    Hope you are well.

    Do you have the availability to update to v9.1.4 or even wait for v9.1.5 this week?

    There is indeed an authentication concern that is fixed on v9.1.4, so it would be interesting to test.

  • BrianS2 Profile Picture
    BrianS2 10 on at
    RE: Dynamics On-Prem organization upgrade to 9.1.3.11 performance issue

    Thanks for the reply, I saw that but we are not an IFD deployment so it doesn't really apply. 

    Our main issue is that the OrganizationService performance is a lot slower than it was before the upgarde 

  • Suggested answer
    Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: Dynamics On-Prem organization upgrade to 9.1.3.11 performance issue

    Hello stoker,

    You can refer to this thread:

    community.dynamics.com/.../on-premise-9-1-updated-and-now-ifd-is-not-working

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

Congratulations 2024 Spotlight Honorees!

Kudos to all of our 2024 community stars! 🎉

Meet the Top 10 leaders for December!

Congratulations to our December super stars! 🥳

Get Started Blogging in the Community

Hosted or syndicated blogging is available! ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

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

#2
Martin Dráb Profile Picture

Martin Dráb 230,354 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Product updates

Dynamics 365 release plans