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

Notifications

Announcements

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.

I have the same question (0)
  • IvanLiu Profile Picture
    on at

    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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Congratulations to our 2025 Community Spotlights

Thanks to all of our 2025 Community Spotlight stars!

Leaderboard > Customer experience | Sales, Customer Insights, CRM

#1
Tom_Gioielli Profile Picture

Tom_Gioielli 108 Super User 2025 Season 2

#2
TAHER_El_Mehdi Profile Picture

TAHER_El_Mehdi 30

#3
Satyam Prakash Profile Picture

Satyam Prakash 24

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans