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, ...
Unanswered

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

(0) ShareShare
ReportReport
Posted on by 3,155

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.

I have the same question (0)
  • MuthukumaranAX Profile Picture
    2,903 on at

    did you check the event log?

    can you try database sync once?

  • b_radlyjames Profile Picture
    3,155 on at

    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.

  • b_radlyjames Profile Picture
    3,155 on at

    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.

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 565 Most Valuable Professional

#2
André Arnaud de Calavon Profile Picture

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

#3
Sohaib Cheema Profile Picture

Sohaib Cheema 250 User Group Leader

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans