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 :
Dynamics 365 Community / Forums / Finance forum / Error database synchro...
Finance forum

Error database synchronization failed

(0) ShareShare
ReportReport
Posted on by 403

Hi,

I have a problem after synchronization project in model ax 7

Validation started 07/17/2018 08:43.
Validation step: Database synchronization started.
AOS database sync failed. Microsoft.Dynamics.AX.Framework.Database.TableSyncException: AOS database sync failed. Microsoft.Dynamics.AX.Framework.Database.TableSyncException: Incremental sync did not complete successfully. Error: NullReferenceException:Object reference not set to an instance of an object..
at Microsoft.Dynamics.AX.Framework.Database.Tools.LegacyCodepath.<>c.<RunPartialTableSync>b__18_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(SyncOptions options)
at Microsoft.Dynamics.AX.Framework.Database.Tools.SyncEngine.Run(String metadataDirectory, String sqlConnectionString, SyncOptions options)
Process: syncengine.exe exited with code -1.
Database synchronization failed. You may have to do a full build of the package 'NumSeqSalesOrder' and all of its dependent packages.
Validation step: Database synchronization completed (78043 ms).
Validation completed (78091 ms).

I do not know what caused it. I've tried restarting IIS and restarting the server, but it's still like that. Anyone know why?

Thanks,

  • Jie G Profile Picture
    Microsoft Employee on at

    hi,

    Have you tried to do a full build of the package 'NumSeqSalesOrder' and all of its dependent packages as suggested in the error message?

  • Ferdiansah Profile Picture
    403 on at

    Hi,

    already, but still the same error.

  • Suggested answer
    Ajit Profile Picture
    8,788 on at

    Build all packages and also select the synchronize database in the options.

  • Ferdiansah Profile Picture
    403 on at

    I have done it. but still an error like this

    AOS database sync failed. Microsoft.Dynamics.AX.Framework.Database.TableSyncException: Incremental sync did not complete successfully. Error: NullReferenceException:Object reference not set to an instance of an object..

  • Suggested answer
    Mahmoud Hakim Profile Picture
    17,887 on at

    Have you checked which Object reference not set to an instance of an object?

    you can check this link

    https://community.dynamics.com/365/financeandoperations/f/765/t/287948

  • Ganesh Ghuge Profile Picture
    30 on at

    Hi,

    I am also facing the error can u plz tell how did u solve this error ?

    i am trying to this error from last 2 days. I followed all step still facing the same error .

    Please can share the solution for the same error ?

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

November Spotlight Star - Khushbu Rajvi

Congratulations to a top community star!

Forum Structure Changes Coming on 11/8!

In our never-ending quest to help the Dynamics 365 Community members get answers faster …

Dynamics 365 Community Platform update – Oct 28

Welcome to the next edition of the Community Platform Update. This is a status …

Leaderboard > Finance

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans