Skip to main content

Notifications

Announcements

No record found.

Finance | Project Operations, Human Resources, ...
Answered

DB Sync Error when upgrading to 10.0.39

(1) ShareShare
ReportReport
Posted on by 88
 Any suggestion on how to resolve this error while deploying the service update to a build Instance. Log level - Error | Managed Data Sync Entity Worker encountered an exception, but is continuing because ContinueOnError is true. View Name and ID: 'SubledgerJournalAccountEntryView(1897).' Exception: System.InvalidOperationException: Selected view field: 'FinTag' with data field : 'FinTag' cannot be found from underlying query's table 'SubLedgerJournalAccountEntry' on view: 'SubLedgerJournalAccountEntryView'.
  • Verified answer
    bondlela Profile Picture
    bondlela 88 on at
    DB Sync Error when upgrading to 10.0.39
    Thank you for your responses. I was able to figure this out. The issue was the build Instance had errors on the compile. I had to fix those and the DB sync worked. 
  • Suggested answer
    Anthony Blake Profile Picture
    Anthony Blake 2,201 Super User 2024 Season 2 on at
    DB Sync Error when upgrading to 10.0.39
    Almost always when I've had this error, I've had models which needed to be built on the environment. As this is a build environment, that shouldn't be the issue. Check packages local directory and the packages local directory backup locations on your build environment. If either have any custom models in. they need to be deleted. These will be pulled from source control every time you build, and shouldn't persist on the environment in either location.
     
    If all else fails - its an Azure CHE, its not worth wasting time investigating, provision a new build environment on 10.0.39 and delete the old one.
  • Suggested answer
    Hana Xue Profile Picture
    Hana Xue Microsoft Employee on at
    DB Sync Error when upgrading to 10.0.39
    Hi,
    Please check if the method described in this blog is available.
    https://www.cloudfronts.com/blog/d365-enterprise/d365-finance-operations/deployment-failed-in-lcs-because-of-db-sync-error/
    Best Regards,
    Hana

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

Congratulations 2024 Spotlight Honorees

Kudos to all of our 2024 community stars! 🎉

Meet the Top 10 leaders for December

Congratulations to our December super stars! 🥳

Start Your Super User Journey

Join the ranks of our community heros! 🦹

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,791 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,488 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Product updates

Dynamics 365 release plans