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 :
Microsoft Dynamics AX (Archived)

Errors while synchronize

(0) ShareShare
ReportReport
Posted on by

Hi,

Im getting following Error while Synchronizing DB in ax 2012 R2. Any Help?I have tried deleting View's. still error is coming.

*This post is locked for comments

I have the same question (0)
  • Suggested answer
    André Arnaud de Calavon Profile Picture
    303,679 Super User 2026 Season 1 on at

    Hi Mani,

    I think you tried to restore a database from one environment to another? All environments can have environment specific element ID's. Then you can have this kind of errors. If you are restoring a backup of a database, you also need to use the model store belonging to that environment.

    If you need to have a copy of the data only and use the original model store, you can use the Test Data Transfer Tool which is availabe on the Downloadable tools section of Lifecycle services. lcs.dynamics.com/.../LocalTools

  • Community Member Profile Picture
    on at

    This error is in Live server . and db is never restored.

  • André Arnaud de Calavon Profile Picture
    303,679 Super User 2026 Season 1 on at

    Hi Mani,

    Then please inform why you performed the synchronization. Is there any deployment of customizations ongoing?

  • Community Member Profile Picture
    on at

    Yes,of course. Our dev team working on customizations. when a report is deployed in live, its taking one day to effect the changes.(restarting any service is not helping),some times wflow is stops working,also this "can not create a table in ledger journal table-- the record already exist". so one our dev told us that we have Db synch issue which is not automatically syncing. What I planned is to install again with new DB. but want to keep data only.

  • Suggested answer
    Ivan (Vanya) Kashperuk Profile Picture
    Microsoft Employee on at

    Oh man, it really physically hurts me to read about your installation.

    Have you guys considered having the development environment separate? Not on the live server where people work?

    The error about the record already existing in the ledger journal was most probably related to caching, very unlikely that it was a DB sync issue.

    As for the specific errors - somebody changed some times or the view itself, it seems like.

    In the view, you seem to have a union of tables, and thus the types of columns that are part of the result set need to match, but they do not on your installation. This is a development error and should be corrected as such by your dev.team.

  • Martin Dráb Profile Picture
    239,029 Most Valuable Professional on at

    The error says that field CarrierName is not compatible with field Name (in a union query). Please review the data types; maybe you have changed on of them and they now have different lengths.

  • Community Member Profile Picture
    on at

    Yes, We have development environment as well, but the old dev team messed the live server. now we hired new dev's and they pointing to me

  • André Arnaud de Calavon Profile Picture
    303,679 Super User 2026 Season 1 on at

    Hi Mani,

    Like Ivan mentioned, it is the best that your new dev team will take a look at this. There are mismatches between the element ID's in the model store and your live database.

  • Suggested answer
    PA-22040759-0 Profile Picture
    6,194 on at

    You may have some data from an older synchronization job laying around. Try to have a look at this article: www.agermark.com/.../odd-synchronization-issues-in-ax-2012.html

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 > 🔒一 Microsoft Dynamics AX (Archived)

#1
Joris dG Profile Picture

Joris dG 5

#2
Alexey Lekanov Profile Picture

Alexey Lekanov 2

#2
Henrik Nordlöf Profile Picture

Henrik Nordlöf 2 User Group Leader

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans