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 :
Supply chain | Supply Chain Management, Commerce
Suggested Answer

Package deployment fails on sync step

(0) ShareShare
ReportReport
Posted on by 70

Greetings to all,

Have you noticed increase in package deployment failures starting approx from v10.0.21 ?

Retry - Abort - Reapply - Retry etc. sometimes helps, but still annoying for planning.

Most of the time it fails on DB sync step with below errors. I cant quite figure out exactly what the problem is- which system job is it referring ?
Syncronizing from VisualStudio goes fine, no error. Any ideas or advice is appreciated.

 Infolog diagnostic message: 'System Job should be scheduled to run within 7 day(s) of last execution time' on category 'Error'.
 Infolog diagnostic message: 'Recurrence validation failed' on category 'Error'.
 Infolog diagnostic message: 'Cannot edit a record in Batch job (BatchJob).
The corresponding AOS validation failed.' on category 'Error'.
01/20/2022 16:25:15: Application configuration sync failed. Microsoft.Dynamics.AX.Framework.Database.TableSyncException: Custom action threw exception(s), please investigate before synchronizing again: 'ErrorException:Cannot edit a record in Batch job (BatchJob).
The corresponding AOS validation failed.
at Microsoft.Dynamics.Ax.MSIL.Interop.throwException(Int32 ExceptionValue, interpret* ip)
at Microsoft.Dynamics.Ax.MSIL.cqlCursorIL.update(IntPtr table)
at Microsoft.Dynamics.Ax.Xpp.Common.__Update_IntImpl__()
at Microsoft.Dynamics.Ax.Xpp.Common.Update()
at Dynamics.AX.Application.BatchJob.`update() in xppSource://Source/ApplicationPlatform\AxTable_BatchJob.xpp:line 339
at Dynamics.AX.Application.BatchJob.update()....

I have the same question (0)
  • Suggested answer
    WillWU Profile Picture
    22,361 on at

    Hi Indrox,

    Please follow the steps and check if it helps:

    docs.microsoft.com/.../dual-write-troubleshooting-finops-upgrades

  • Indrox Profile Picture
    70 on at

    Hello Will,

    Unfortunately this didnt help

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 > Supply chain | Supply Chain Management, Commerce

#1
Siv Sagar Profile Picture

Siv Sagar 283 Super User 2025 Season 2

#2
Laurens vd Tang Profile Picture

Laurens vd Tang 213 Super User 2025 Season 2

#3
André Arnaud de Calavon Profile Picture

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

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans