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

Entity Store DMF2028 & DMF2028

(0) ShareShare
ReportReport
Posted on by 5

Hi,

We've got a problem with Entity Store in our client's instance. Synchronization sometimes works fine sometimes fails (no rule). When it fails, depending on the entity, we get DMF2020 or DMF2028 error with error stack:

Microsoft.Dynamics.Ax.Xpp.ErrorException: Exception of type 'Microsoft.Dynamics.Ax.Xpp.ErrorException' was thrown.
at Dynamics.Ax.Application.DMFExtDBAxToExtDBExporter.handleException(Object _errorCode, Object ex) in DMFExtDBAxToExtDBExporter.handleException.xpp:line 21
at Dynamics.Ax.Application.DMFExtDBAxToExtDBExporter.createAndExecuteExportPackageToExtDB(DMFEntityDbGroupEntity _entityDbGroupEntity, String _eid, String _dmfSourceName, Object[] _queryData, String _syncTable, DMFRefreshType _syncType, NoYes _skipStaging, Boolean _isLastSync, Boolean , Boolean , Boolean , Boolean ) in DMFExtDBAxToExtDBExporter.createAndExecuteExportPackageToExtDB.xpp:line 101
at Dynamics.Ax.Application.DMFExtDBAxToExtDBExporter.createAndExecuteExportPackageToExtDB(DMFEntityDbGroupEntity _entityDbGroupEntity, String _eid, String _dmfSourceName, Object[] _queryData, String _syncTable, DMFRefreshType _syncType, NoYes _skipStaging, Boolean _isLastSync)
at Dynamics.Ax.Application.DMFExtDBAxToExtDBExporter.Run() in DMFExtDBAxToExtDBExporter.run.xpp:line 45
at Dynamics.Ax.Application.DMFExtDBSynchronizer.withOutStagingFullPush(String _dmfSyncGroupName, Boolean _isRunningInBatch, Int64 _batchId, Int64 _origSyncGroupExecutionLogId, Boolean _isGlobal, DMFEntityDbGroupEntity _enitityDBGroupEntity) in DMFExtDBSynchronizer.withOutStagingFullPush.xpp:line 55
at Dynamics.Ax.Application.DMFExtDBSynchronizer.synchronize(Object[] _arg) in DMFExtDBSynchronizer.synchronize.xpp:line 55
at Dynamics.Ax.Application.DMFExtDBSynchronizer.Run() in DMFExtDBSynchronizer.run.xpp:line 21
at Dynamics.Ax.Application.BatchRun.runJobStaticCode(Int64 batchId) in BatchRun.runJobStaticCode.xpp:line 54
at Dynamics.Ax.Application.BatchRun.runJobStatic(Int64 batchId) in BatchRun.runJobStatic.xpp:line 13
at BatchRun::runJobStatic(Object[] )
at Microsoft.Dynamics.Ax.Xpp.ReflectionCallHelper.MakeStaticCall(Type type, String MethodName, Object[] parameters)
at BatchIL.taskThreadEntry(Object threadArg)

Instances:

Ax2012 CU12

SQL Server 12.0.4213.0

We already commented out the Line with entity name (in 2018):

 //ssisPkgHelper.set_DMFEntityName(_entityDbGroupEntity.EntityName);

During the process staging step is skipped, runned as full push.

Any ideas what can we do to fix that?

I have the same question (0)
  • ToddB Profile Picture
    on at

    Hi Integris,

    The errors are:

    FailedToTruncateTheRecords = "DMF2020";

    FailedToGetTargetRowCount = "DMF2028";

    If you are still seeing issues you would want to take a trace and/or restart SSIS in order to help narrow down the issue and determine if it may be specific to one server.

  • André Arnaud de Calavon Profile Picture
    301,037 Super User 2025 Season 2 on at

    Hi Integris IT,

    CU12 is not the latest version. If the suggestion from Todd is not working, you can test the latest available kernel and application files and see if that solves the issue.

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 544 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