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

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Service | Customer Service, Contact Center, Fie...
Unanswered

Change parent business unit throwing sql error

(0) ShareShare
ReportReport
Posted on by 905

Hello,

While trying to change a parent business unit of a business unit it is throwing an SQL query exception without showing the SQL error code details.

ParentBusinessUnit.png[View:/cfs-file/__key/communityserver-discussions-components-files/764/ErrorDetails.txt]

Could you please advise how can we change it and resolve the issue?

Best regards,
EBMRay

I have the same question (0)
  • Leah Ju Profile Picture
    Microsoft Employee on at

    Hi EBMRay,

    Only current record show the error? Or it appear in all records? If you change to another parent business unit, same error?

    Generally, this may be due to a SQL Server timeout.

    When you change a parent business unit, it triggers a number of SQL UPDATE statements that have to be processed in many tables in the CRM database. The problem comes in when these tables are very large, which causes the UPDATE commands to timeout and throw the error.  By default, the timeout values are at 30 seconds. 

    Because I can't view your backend data, I suggest you create a support ticket for professional assistance following the below procedure.

    Get Help + Support - Dynamics | Microsoft Docs

  • EBMRay Profile Picture
    905 on at

    Hello Leah Ju ,

    Only the current record shows this error. As for the others, it works very fine, and even If I created a new BU with the same parent business unit it works perfectly.

    I have different accounts associated with this BU and it seems the update statement is large and requires more than 30 seconds.

    What will be the workaround to increase the timeout or resolve that issue?

    Below also some screenshots from the network trace:

    Error-2-Preview.png

    Awaiting your response.

    Best regards,

    EBMRay

  • Leah Ju Profile Picture
    Microsoft Employee on at

    Hi EBMRay 

    I would suggest you create one ticket for Microsoft Support Team, Tthey may have measures in place to alleviate your problem in the background.

    Get Help + Support - Dynamics | Microsoft Docs

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

Season of Sharing Community Challenge Launch!

Jump in, show your community spirit, and win prizes!

Women in Power Builds Momentum

Expanding mentorship, skilling, and AI innovation

Congratulations to the May Top 10 Community Leaders

These are the community rock stars!

Leaderboard > Service | Customer Service, Contact Center, Field Service, Guides

#1
Abhilash Warrier Profile Picture

Abhilash Warrier 51 Super User 2026 Season 1

#1
Muhammad Shahzad Shafique Profile Picture

Muhammad Shahzad Sh... 51 Most Valuable Professional

#3
Nagaraju_Matta Profile Picture

Nagaraju_Matta 50

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans