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

Notifications

Announcements

No record found.

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

Responsible AI policies

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

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

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

#1
Martin Dráb Profile Picture

Martin Dráb 663 Most Valuable Professional

#2
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 540 Super User 2025 Season 2

#3
Sohaib Cheema Profile Picture

Sohaib Cheema 348 User Group Leader

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans