Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Customer experience | Sales, Customer Insights,...
Unanswered

Upgrade Dynamics 365 8.2 on-premise to Dynamics 365 9.1 failed with SQL deadlock exception.

(0) ShareShare
ReportReport
Posted on by 30

Hi Dynamics Experts

I encounter an error when I am upgrading CRM Dynamics 365 8.2 on-premises to Dynamics 365 9.1.

My CRM version is Dynamics on-premises 8.2.27, I can upgrade to Dynamics 365 9.0 successful, and also can upgrade to the latest patch of 365 9.0. but when I am trying to upgrade the My CRM from 9.0 to Dynamics 365 9.1 encounter following errors, appreciate if anyone can help me.:

Applying database updates to organization with name = CALLCENTREORG Id=d0bc23e5-d05f-ed11-83d4-00155d3c0920 failed with Exception:
Microsoft.Crm.CrmException: Error in Action: Bin\Microsoft.Crm.Setup.DiffBuilder.dll:Microsoft.Crm.Setup.DiffBuilder:UpdateMetadata on attempt 3. System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> Microsoft.Crm.CrmTransactionAbortedException: The transaction of the SQL command has already been rolled back or committed; this is usually caused by a swallowed SQL deadlock exception.

  • IvanLiu Profile Picture
    IvanLiu 41 on at
    RE: Upgrade Dynamics 365 8.2 on-premise to Dynamics 365 9.1 failed with SQL deadlock exception.

    Hi Bill,

    We are also stuck with the same problem. If you find any solution, can you update it here? This will help more people to resolve this.

     

    Regards,

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

Daivat Vartak – Community Spotlight

We are honored to recognize Daivat Vartak as our March 2025 Community…

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Kudos to the February Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 292,516 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 231,409 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans