Quantcast
Channel: Microsoft Dynamics AX Forum - Recent Threads
Viewing all articles
Browse latest Browse all 175888

D365FO Hotfix causes a synch error in SysSetupLog

$
0
0

Hello, 

One of my clients is attempting to install a hotfix. They created the deployable package in development and tried deploying it in the sandbox environment. They ran into the following error related to database synchronization. As you can see, the error suggests that there is a duplicate record in SysSetupLog that prevents the synchronization. When they attempted to resume the synchronization, it seems to have run successfully.

 

I have a couple of questions.

  1. Has anyone seen this error previously? What was the resolution?
  2. They want to push the deployable package to production asap. They have been told that they can instruct Microsoft DSE to rerun the synchronization to complete the deployment, if this results in a synch error while deploying to production. Is this correct? Has anyone seen this happen before?

 

 

03/02/2018 08:05:24: Infolog diagnostic message: 'Cannot create a record in Installation information (SysSetupLog).

The record already exists.' on category 'Error'.

03/02/2018 08:05:26: Application configuration sync failed.        Microsoft.Dynamics.AX.Framework.Database.TableSyncException: Custom action sync failed with error: 'DuplicateKeyException:Cannot create a

 

record in Installation information (SysSetupLog).

The record already exists.

   at Microsoft.Dynamics.Ax.MSIL.Interop.throwException(Int32 ExceptionValue, interpret* ip)

   at Microsoft.Dynamics.Ax.MSIL.cqlCursorIL.insert(IntPtr table)

   at Microsoft.Dynamics.Ax.Xpp.NativeCommonImplementation.Insert()

   at Microsoft.Dynamics.Ax.Xpp.Common.Insert()

   at Dynamics.AX.Application.SysSetupLog.`save(String _name, String _description, String _version, Boolean @_version_IsDefaultSet) in xppSource://Source/ApplicationPlatform\AxTable_SysSetupLog.xpp:line

 

176

   at Dynamics.AX.Application.SysSetupLog.SysSetupLogCoCHelper.`save(SysSetupLog instance, String arg0, String arg1, String arg2, Boolean )

   at Dynamics.AX.Application.SysSetupLog.save(String _name, String _description, String _version, Boolean @_version_IsDefaultSet)

   at Dynamics.AX.Application.SysSetupLog.save(String _name, String _description)

   at Dynamics.AX.Application.ReleaseUpdateAppVersionManager.InsertCurrentVersionIntoSysSetupLog() in xppSource://Source/Foundation\AxClass_ReleaseUpdateAppVersionManager.xpp:line 37

   at Dynamics.AX.Application.ReleaseUpdateAppVersionManager.`loadData() in xppSource://Source/Foundation\AxClass_ReleaseUpdateAppVersionManager.xpp:line 19

   at Dynamics.AX.Application.ReleaseUpdateAppVersionManager.ReleaseUpdateAppVersionManagerCoCHelper.`loadData(ReleaseUpdateAppVersionManager instance)

   at Dynamics.AX.Application.ReleaseUpdateAppVersionManager.loadData()

   at Dynamics.AX.Application.SysSetupInstaller.writeAllData() in xppSource://Source/ApplicationPlatform\AxClass_SysSetupInstaller.xpp:line 278

   at Dynamics.AX.Application.SysSetupInstaller.run() in xppSource://Source/ApplicationPlatform\AxClass_SysSetupInstaller.xpp:line 257

   at Dynamics.AX.Application.SysSetupInstaller.loadPartitionData(Object[] _c) in xppSource://Source/ApplicationPlatform\AxClass_SysSetupInstaller.xpp:line 378

   at Dynamics.AX.Application.SysSetupInstaller.`loadAllData(Boolean _allPartitions, Boolean @_allPartitions_IsDefaultSet) in xppSource://Source/ApplicationPlatform\AxClass_SysSetupInstaller.xpp:line 372

   at Dynamics.AX.Application.SysSetupInstaller.SysSetupInstallerCoCHelper.`loadAllData(SysSetupInstaller instance, Boolean arg0, Boolean )

   at Dynamics.AX.Application.SysSetupInstaller.loadAllData(Boolean _allPartitions, Boolean @_allPartitions_IsDefaultSet)

   at Dynamics.AX.Application.SysSetupInstaller.loadAllData(Boolean _allPartitions)

   at Dynamics.AX.Application.Application.`RaiseOnDbSynchronize(Int32 tableId, Boolean syncAsNeeded, Boolean continueOnError, Boolean showProgress, Object[] checkSyncTables, Boolean createAllIndexes,

 

Boolean useLockForSingleTable, Boolean @tableId_IsDefaultSet, Boolean @syncAsNeeded_IsDefaultSet, Boolean @continueOnError_IsDefaultSet, Boolean @showProgress_IsDefaultSet, Boolean

 

@checkSyncTables_IsDefaultSet, Boolean @createAllIndexes_IsDefaultSet, Boolean @useLockForSingleTable_IsDefaultSet) in xppSource://Source/ApplicationPlatform\AxClass_Application.xpp:line 387

   at Dynamics.AX.Application.Application.ApplicationCoCHelper.`RaiseOnDbSynchronize(Application instance, Int32 arg0, Boolean arg1, Boolean arg2, Boolean arg3, Object[] arg4, Boolean arg5, Boolean arg6,

 

Boolean , Boolean , Boolean , Boolean , Boolean , Boolean , Boolean )

   at Dynamics.AX.Application.Application.RaiseOnDbSynchronize(Int32 tableId, Boolean syncAsNeeded, Boolean continueOnError, Boolean showProgress, Object[] checkSyncTables, Boolean createAllIndexes,

 

Boolean useLockForSingleTable, Boolean @tableId_IsDefaultSet, Boolean @syncAsNeeded_IsDefaultSet, Boolean @continueOnError_IsDefaultSet, Boolean @showProgress_IsDefaultSet, Boolean

 

@checkSyncTables_IsDefaultSet, Boolean @createAllIndexes_IsDefaultSet, Boolean @useLockForSingleTable_IsDefaultSet)

   at Dynamics.AX.Application.Application.RaiseOnDbSynchronize(Int32 tableId, Boolean syncAsNeeded)

   at Microsoft.Dynamics.AX.Deployment.Setup.AppOperations.RaiseOnDbsyncSyncApplEvent()

   at Microsoft.Dynamics.AX.Framework.Database.Tools.LegacyCodepath.<>c__DisplayClass28_0.<RunCustomAction>b__0()

   at Microsoft.Dynamics.AX.Framework.Database.Tools.LegacyCodepath.ExecuteWithinAOS(SyncOptions syncOptions, String sqlConnectionString, IMetadataProvider metadataProvider, Func`1 func, Action`1

 

errorHandler)' ---> Microsoft.Dynamics.Ax.Xpp.DuplicateKeyException: Cannot create a record in Installation information (SysSetupLog).

The record already exists.


Viewing all articles
Browse latest Browse all 175888

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>