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

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

Session Id :
Finance | Project Operations, Human Resources, ...
Suggested Answer

Process is terminated due to StackOverflowException during DB syncengine.exe code -1073741571.

(0) ShareShare
ReportReport
Posted on by 17

Trying to do an initial DB sync after upgrading my local Hyper-V VM to 10.0.26 (10.0.1192.146) - Update50 (7.0.6354.130). I was able to do a full all model build no problem. Running a full DB sync and I get about 75,000 lines into the DB log and I get...

...
08/03/2022 16:29:50: Adding ancestors for table 'ERConfigurationItemVersion' with id 864
08/03/2022 16:29:50: Other types ancestors processing completed. Time elapsed: 0:00:00:00.1406260
08/03/2022 16:29:51: Ancestors sync completed. Time elapsed: 0:00:00:00.5630000
08/03/2022 16:29:52: DbLog worker: No invalid database log entries to clean up.
08/03/2022 16:29:52: DbLog worker: Successfully dropped DbLog triggers.
08/03/2022 16:29:54: DbLog worker finished. Time elapsed: 0:00:00:03.7623115
08/03/2022 16:29:56: EventCud worker: No invalid database log entries to clean up.
08/03/2022 16:29:56: EventCud worker: Successfully dropped EventCud triggers.
08/03/2022 16:29:56: EventCud worker finished. Time elapsed: 0:00:00:01.6237145
08/03/2022 16:29:56: 2022-08-03T16:29:56.7608719-07:00 full managed sync finished. Time elapsed: 0:00:01:45.4797171.
08/03/2022 16:29:56: 2022-08-03T16:29:56.7608719-07:00 Beginning sync step: full legacy sync.
08/03/2022 16:29:56: 2022-08-03T16:29:56.7921638-07:00 full legacy sync finished. Time elapsed: 0:00:00:00.0207130.
08/03/2022 16:29:57: 2022-08-03T16:29:57.7106992-07:00 FullTablesAndViews finished. Time elapsed: 0:00:01:46.4258406.
08/03/2022 16:29:57: 2022-08-03T16:29:57.7106992-07:00 Beginning sync step: FullSecurity.
 
Visual Studio spits out...
Process is terminated due to StackOverflowException.
Process: syncengine.exe exited with code -1073741571.

The DB backup was taken from a Tier 3 environment running the exact same version of Dynamics. Database is 1TB.
Dynamics will not load now throwing a "Site cannot be reached" message.
Any ideas?
I have the same question (0)
  • Suggested answer
    JMajcen Profile Picture
    17 on at

    This ended up being a bug in PU50 and is supposed to be fixed in 10.0.27. Fix for me ended up being to enable a flight...

    INSERT INTO dbo.SYSFLIGHTING(FLIGHTNAME, ENABLED, FLIGHTSERVICEID) VALUES ('autoCleanupSysDataCacheConfigurationData_KillSwitch', 1, 12719367)

    After that I was able to DB sync and all is well.

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Congratulations to our 2025 Community Spotlights

Thanks to all of our 2025 Community Spotlight stars!

Leaderboard > Finance | Project Operations, Human Resources, AX, GP, SL

#1
Giorgio Bonacorsi Profile Picture

Giorgio Bonacorsi 659

#2
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 465 Super User 2026 Season 1

#3
Syed Haris Shah Profile Picture

Syed Haris Shah 304 Super User 2026 Season 1

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans