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?