
This error is from the Primary orchestrator server
|
Message |
Module aos failed with error code -1. |
|
Detail |
at System.Environment.GetStackTrace(Exception e, Boolean needFileInfo) at System.Environment.get_StackTrace() at Microsoft.Dynamics.Operations.Local.LocalAgentEvents.LocalAgentEventHelpers.ErrorPrettify(LocalAgentEventSource source, Exception ex, Int32 errorCode, String format, Object[] values) at SetupCore.SetupManager.<>c__DisplayClass12_2.<InvokeModules>b__6() at System.Threading.Tasks.Task.Execute() 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.Tasks.Task.ExecuteWithThreadLocal(Task& currentTaskSlot) at System.Threading.Tasks.Task.ExecuteEntry(Boolean bPreventDoubleExecution) at System.Threading.ThreadPoolWorkQueue.Dispatch() |
This error occurs every time we deploy the packages in a Production environment. As per our observation, this error occurs after 7 applications are installed and before starting the 8th application (which is Financial reporting). We, then, go to SQL management studio and execute the steps (runbooks) manually. Then also, it fails 3 more times before succeeding. This impacts our production deployment.
Hi Arun Garg,
Is there a difference between the version of the build environment and the environment you're deploying this package to?
Have you built your package from Visual Studio or from Azure DevOps?
If everything is fine, recommend you to raise a support ticket to Microsoft.