Skip to main content

Notifications

Announcements

No record found.

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,

  • Ganesh Ghuge Profile Picture
    30 on at
    RE: Error database synchronization failed

    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 ?

  • Suggested answer
    Mahmoud Hakim Profile Picture
    17,887 on at
    RE: Error database synchronization failed

    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

  • Ferdiansah Profile Picture
    403 on at
    RE: Error database synchronization failed

    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
    Ajit Profile Picture
    8,755 on at
    RE: Error database synchronization failed

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

  • Ferdiansah Profile Picture
    403 on at
    RE: Error database synchronization failed

    Hi,

    already, but still the same error.

  • Jie G Profile Picture
    on at
    RE: Error database synchronization failed

    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?

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

Community Spotlight of the Month

Kudos to Mohamed Amine Mahmoudi!

Blog subscriptions now enabled!

Follow your favorite blogs

TechTalk: How Dataverse and Microsoft Fabric powers ...

Explore the latest advancements in data export and integration within ...

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 283,860 Test role Public

#2
Ludwig Reinhard Profile Picture

Ludwig Reinhard Microsoft Employee

#3
Martin Dráb Profile Picture

Martin Dráb 225,155 Moderator

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans