Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Finance | Project Operations, Human Resources, ...
Suggested answer

Package deployment failed in onprem, error: module aos failed with error code -532462766

(0) ShareShare
ReportReport
Posted on by 339

Hi Experts,

While deploying package in onprem, it got failed and when checking the events in orch get the below error,

The AXSF type application is not even started deploying,

module aos failed with error code -532462766

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()

Can anyone help me to solve this.

Thanks and regards,

Srihari

  • Community member Profile Picture
    8 on at
    Package deployment failed in onprem, error: module aos failed with error code -532462766
    Thanks Komi for your response.
     
    I checked all AOS Nodes and Microsoft.Dynamics and Microsoft.ServiceFabric have zero event logs(its empty and nothing is recorded).
     
     
     
    Primary Orchestra has error log in two following places 
    Error from LocalAgent source: (In general this error code -532462766 due to missing Visual Studio Compiler ++)
     
    Another Error from SetupModuleEvents Source:
  • Komi Siabi Profile Picture
    12,364 Moderator on at
    Package deployment failed in onprem, error: module aos failed with error code -532462766
    Hello Gaurav Bisht ,
     
    You need to check the SF and see which of the AOS has an error.
    Logon to the AOS VM and check the event viewer. You will be able to see the exact error on the AOS.
  • Community member Profile Picture
    8 on at
    Package deployment failed in onprem, error: module aos failed with error code -532462766
    Hi Srihari,
     
    Did you able to resolve the issue and can you share how did you resolve it.
     
    Module aos failed with error code -532462766
    Unable to deploy AOSSetupHybridCloudError module at Microsoft.Dynamics.LocalAgent.OrchestrationService.Tasks.AXSetupManager

     

     


     
  • Suggested answer
    Srihari.molaka Profile Picture
    339 on at
    RE: Package deployment failed in onprem, error: module aos failed with error code -532462766

    Hi All,

    I have resolved this by redeploying the environment(deleted the sandbox from LCS and deployed again)

    regards,

    Srihari.

  • Srihari.molaka Profile Picture
    339 on at
    RE: Package deployment failed in onprem, error: module aos failed with error code -532462766

    Hi,

    Except DatabaseSynchronize other nodes doesn't have any logs.

    In DatabaseSynchronize it is having old events which are generated while restoring database.

  • saepuloh Profile Picture
    55 on at
    RE: Package deployment failed in onprem, error: module aos failed with error code -532462766

    Hi,

    Ok, lets move to AOS server and try found some event log in AOS server.

    Maybe that will lead you to right error.

    pastedimage1645690988396v1.png

  • Srihari.molaka Profile Picture
    339 on at
    RE: Package deployment failed in onprem, error: module aos failed with error code -532462766

    Hi,

    I have already retried the deployment but at the same step it got stuck.

  • saepuloh Profile Picture
    55 on at
    RE: Package deployment failed in onprem, error: module aos failed with error code -532462766

    Hi,

    How about lcs status page? If button retry available in lcs page try to retry deployment.

  • Srihari.molaka Profile Picture
    339 on at
    RE: Package deployment failed in onprem, error: module aos failed with error code -532462766

    Hi Ackerman,

    one more log,

    Task OrchestrationService.DeployModulesRunnerTask,

    OrchestrationService failed for command id 12d7aa79-82d3-4ac0

    Details: LocalAgentCommon.LocalAgentInvalidOperationException:

    Unable to deploy AOSSetupHybridCloudError module at

    OrchestrationService.AXSetupManager.HandleAOSSetupHybridCloudError(Guid errorCode) at

    OrchestrationService.AXSetupManager.ThrowModuleExceptionBasedOnError() at

    OrchestrationService.DeployModulesRunnerTask.Run(OrchestratorRunbookResource runbookResource, String commandId, String jobId, String runbookTaskId) at

    OrchestrationService.OrchestrationJobManager.<>c__DisplayClass23_0.<CreateNewTaskThread>b__4()

    These two logs I found on primary orch.

    Thanks and regards,

    Srihari

  • saepuloh Profile Picture
    55 on at
    RE: Package deployment failed in onprem, error: module aos failed with error code -532462766

    Hi,

    Any log from other orchestrator?

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

Dynamics 365 Community Update – Sep 16th

Welcome to the next edition of the Community Platform Update. This is a weekly…

Announcing Our 2024 Season 2 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Dynamics 365 Community Newsletter - September 2024

Check out the latest community news

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 283,860 Test role Public

#2
Ludwig Reinhard Profile Picture

Ludwig Reinhard Microsoft Employee

#3
Martin Dráb Profile Picture

Martin Dráb 225,155 Moderator

Leaderboard

Product updates

Dynamics 365 release plans