Hi All,
I am trying to upgrade the VM from 10.0.28 to 10.0.29 through LCS service update and getting the below error at step 25 - GlobalUpdate script for service model: AOSService on machine.
I have ran full DB sync on Visual Studio and haven't received any error. Also I have tried to increase the timeout value for the step 25 in the runbook but still getting same error as below. Could someone please assist on the issue.
New SyssetupInstaller exception System.AggregateException: One or more errors occurred. ---> Microsoft.Dynamics.Ax.Xpp.TimeoutException: Exceeded the execution time limit for the script: InventSysSetup at Microsoft.Dynamics.AX.Framework.Syssetup.SysSetupTaskHelper.<>c__DisplayClass1_0.<ExecuteMethodInNewTask>b__1() at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx) at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx) at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state) at System.Threading.CancellationCallbackInfo.ExecuteCallback() at System.Threading.CancellationTokenSource.ExecuteCallbackHandlers(Boolean throwOnFirstException) --- End of inner exception stack trace --- at System.Threading.CancellationTokenSource.ExecuteCallbackHandlers(Boolean throwOnFirstException) at System.Threading.CancellationTokenSource.NotifyCancellation(Boolean throwOnFirstException) at Microsoft.Dynamics.AX.Framework.Syssetup.SyssetupInstaller.ExecuteScriptWithTimeout(Int32 scriptId, DictClass syssetupDictClass, String className, Int32 timeout) at Microsoft.Dynamics.AX.Framework.Syssetup.SyssetupInstaller.<>c__DisplayClass21_0.<WriteAllData>b__0() at Microsoft.Dynamics.AX.Framework.Syssetup.SyssetupRetryHelper.Execute(Action executeMethod, String className) at Microsoft.Dynamics.AX.Framework.Syssetup.SyssetupInstaller.WriteAllData() at Microsoft.Dynamics.AX.Framework.Syssetup.SyssetupInstaller.loadAllData() at Microsoft.Dynamics.AX.Deployment.Setup.AppOperations.RaiseOnDbsyncSyncApplEvent(Action`2 logCallback) ---> (Inner Exception #0) Microsoft.Dynamics.Ax.Xpp.TimeoutException: Exceeded the execution time limit for the script: InventSysSetup at Microsoft.Dynamics.AX.Framework.Syssetup.SysSetupTaskHelper.<>c__DisplayClass1_0.<ExecuteMethodInNewTask>b__1() at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx) at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx) at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state) at System.Threading.CancellationCallbackInfo.ExecuteCallback() at System.Threading.CancellationTokenSource.ExecuteCallbackHandlers(Boolean throwOnFirstException)<--- 01/25/2023 13:31:13: Application configuration sync failed. Microsoft.Dynamics.AX.Framework.Database.TableSyncException: Custom action threw exception(s), please investigate before synchronizing again: 'AggregateException:One or more errors occurred. at System.Threading.CancellationTokenSource.ExecuteCallbackHandlers(Boolean throwOnFirstException) at System.Threading.CancellationTokenSource.NotifyCancellation(Boolean throwOnFirstException) at Microsoft.Dynamics.AX.Framework.Syssetup.SyssetupInstaller.ExecuteScriptWithTimeout(Int32 scriptId, DictClass syssetupDictClass, String className, Int32 timeout) at Microsoft.Dynamics.AX.Framework.Syssetup.SyssetupInstaller.<>c__DisplayClass21_0.<WriteAllData>b__0() at Microsoft.Dynamics.AX.Framework.Syssetup.SyssetupRetryHelper.Execute(Action executeMethod, String className) at Microsoft.Dynamics.AX.Framework.Syssetup.SyssetupInstaller.WriteAllData() at Microsoft.Dynamics.AX.Framework.Syssetup.SyssetupInstaller.loadAllData() at Microsoft.Dynamics.AX.Deployment.Setup.AppOperations.RaiseOnDbsyncSyncApplEvent(Action`2 logCallback) at Microsoft.Dynamics.AX.Deployment.Setup.Program.<RunFullSync>g__RaiseDbSyncEvent|24_8(IMetadataProvider _) at Microsoft.Dynamics.AX.Framework.Database.Tools.LegacyCodepath.<>c__DisplayClass34_0.<NOTE_LeavingSynchronizer_CallStackAboveThisLineIsCustomCode>b__0() at Microsoft.Dynamics.AX.Framework.Database.Tools.LegacyCodepath.ExecuteWithinAOS(SyncOptions syncOptions, String sqlConnectionString, IMetadataProvider metadataProvider, Func`1 func, Action`1 errorHandler) Inner exceptions: TimeoutException:Exceeded the execution time limit for the script: InventSysSetup at Microsoft.Dynamics.AX.Framework.Syssetup.SysSetupTaskHelper.<>c__DisplayClass1_0.<ExecuteMethodInNewTask>b__1() at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx) at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx) at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state) at System.Threading.CancellationCallbackInfo.ExecuteCallback() at System.Threading.CancellationTokenSource.ExecuteCallbackHandlers(Boolean throwOnFirstException)' ---> System.AggregateException: One or more errors occurred. ---> Microsoft.Dynamics.Ax.Xpp.TimeoutException: Exceeded the execution time limit for the script: InventSysSetup at Microsoft.Dynamics.AX.Framework.Syssetup.SysSetupTaskHelper.<>c__DisplayClass1_0.<ExecuteMethodInNewTask>b__1() at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx) at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx) at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state) at System.Threading.CancellationCallbackInfo.ExecuteCallback() at System.Threading.CancellationTokenSource.ExecuteCallbackHandlers(Boolean throwOnFirstException) --- End of inner exception stack trace --- at System.Threading.CancellationTokenSource.ExecuteCallbackHandlers(Boolean throwOnFirstException) at System.Threading.CancellationTokenSource.NotifyCancellation(Boolean throwOnFirstException) at Microsoft.Dynamics.AX.Framework.Syssetup.SyssetupInstaller.ExecuteScriptWithTimeout(Int32 scriptId, DictClass syssetupDictClass, String className, Int32 timeout) at Microsoft.Dynamics.AX.Framework.Syssetup.SyssetupInstaller.<>c__DisplayClass21_0.<WriteAllData>b__0() at Microsoft.Dynamics.AX.Framework.Syssetup.SyssetupRetryHelper.Execute(Action executeMethod, String className) at Microsoft.Dynamics.AX.Framework.Syssetup.SyssetupInstaller.WriteAllData() at Microsoft.Dynamics.AX.Framework.Syssetup.SyssetupInstaller.loadAllData() at Microsoft.Dynamics.AX.Deployment.Setup.AppOperations.RaiseOnDbsyncSyncApplEvent(Action`2 logCallback) at Microsoft.Dynamics.AX.Deployment.Setup.Program.<RunFullSync>g__RaiseDbSyncEvent|24_8(IMetadataProvider _) at Microsoft.Dynamics.AX.Framework.Database.Tools.LegacyCodepath.<>c__DisplayClass34_0.<NOTE_LeavingSynchronizer_CallStackAboveThisLineIsCustomCode>b__0() at Microsoft.Dynamics.AX.Framework.Database.Tools.LegacyCodepath.ExecuteWithinAOS(SyncOptions syncOptions, String sqlConnectionString, IMetadataProvider metadataProvider, Func`1 func, Action`1 errorHandler) --- End of inner exception stack trace --- at Microsoft.Dynamics.AX.Framework.Database.Tools.LegacyCodepath.<>c.<NOTE_LeavingSynchronizer_CallStackAboveThisLineIsCustomCode>b__34_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.NOTE_LeavingSynchronizer_CallStackAboveThisLineIsCustomCode(SyncOptions syncOptions, String sqlConnectionString, IMetadataProvider metadataProvider, Action`1 a) at Microsoft.Dynamics.AX.Framework.Database.Tools.LegacyCodepath.RunCustomAction(SyncOptions syncOptions, String sqlConnectionString, IMetadataProvider metadataProvider, Action`1 a) at Microsoft.Dynamics.AX.Framework.Database.Tools.SyncEngine.PostTableSync() at Microsoft.Dynamics.AX.Framework.Database.Tools.SyncEngine.FullSync() at Microsoft.Dynamics.AX.Framework.Database.Tools.SyncEngine.RunSync() at Microsoft.Dynamics.AX.Framework.Database.Tools.SyncEngine.Run(String metadataDirectory, String sqlConnectionString, SyncOptions options) 01/25/2023 13:31:13: The operation failed.
Thanks!