Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Finance | Project Operations, Human Resources, ...
Unanswered

AX 2012 to D365 Data Upgrade: Incremental sync did not complete successfully

(0) ShareShare
ReportReport
Posted on by 3,087

When attempting to run the data upgrade script here, I run into the following error in step 3:

AOS database sync failed. Microsoft.Dynamics.AX.Framework.Database.TableSyncException: Incremental sync did not complete successfully. Error: ArgumentException:tableId.
at Microsoft.Dynamics.AX.Framework.Database.Tools.LegacyCodepath.<>c.<RunPartialTableSync>b__23_1(Tuple`2 result)
at Microsoft.Dynamics.AX.Framework.Database.Tools.LegacyCodepath.ExecuteWithinAOS(SyncOptions syncOptions, String sqlConnectionString, IMetadataProvider metadataProvider, Func`1 func, Action`1 errorHandler)
at Microsoft.Dynamics.AX.Framework.Database.Tools.LegacyCodepath.RunPartialTableSync(SyncOptions options, String sqlConnectionString, IMetadataProvider metadataProvider)
at Microsoft.Dynamics.AX.Framework.Database.Tools.SyncEngine.PartialTableViewSync()
at Microsoft.Dynamics.AX.Framework.Database.Tools.SyncEngine.PartialSync()
at Microsoft.Dynamics.AX.Framework.Database.Tools.SyncEngine.RunSync()
at Microsoft.Dynamics.AX.Framework.Database.Tools.SyncEngine.Run(String metadataDirectory, String sqlConnectionString, SyncOptions options)

It's a little vague so I'm not sure if there is a certain table that is failing or something else that is failing.

  • b_radlyjames Profile Picture
    3,087 on at
    RE: AX 2012 to D365 Data Upgrade: Incremental sync did not complete successfully

    Error on DB Sync:

    AOS database sync failed. Microsoft.Dynamics.AX.Framework.Database.TableSyncException: Full sync did not complete successfully. Error: ArgumentException:tableId

    Interestingly enough, the same error as the Data Upgrade script.

  • b_radlyjames Profile Picture
    3,087 on at
    RE: AX 2012 to D365 Data Upgrade: Incremental sync did not complete successfully

    There is nothing in the event log.  However, a DB Sync results, very quickly, in the following error:

    System.AggregateException: One or more errors occurred. ---> System.InvalidOperationException: Cannot open Microsoft.Dynamics.AX.Framework.Tools.DMF.SSISHelperService.exe service on computer '.'. ---> System.ComponentModel.Win32Exception: Access is denied

    I am using the BuiltIn Admin account on this D365 machine.

    EDIT:

    This is due to me not running VS as Admin.  I am now running the DB Sync and will report results.

  • MuthukumaranAX Profile Picture
    2,901 on at
    RE: AX 2012 to D365 Data Upgrade: Incremental sync did not complete successfully

    did you check the event log?

    can you try database sync once?

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

Daivat Vartak – Community Spotlight

We are honored to recognize Daivat Vartak as our March 2025 Community…

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Kudos to the February Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 293,020 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 231,837 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156 Moderator

Leaderboard

Product updates

Dynamics 365 release plans