Skip to main content

Notifications

Announcements

No record found.

Dynamics 365 Community / Forums / Finance forum / Package deployment fai...
Finance forum
Suggested answer

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

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

  • 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
    Komi Siabi 12,377 Super User 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.
  • 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
    Srihari.molaka 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
    Srihari.molaka 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
    saepuloh 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
    Srihari.molaka 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
    saepuloh 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
    Srihari.molaka 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
    saepuloh 55 on at
    RE: Package deployment failed in onprem, error: module aos failed with error code -532462766

    Hi,

    Any log from other orchestrator?

Helpful resources

Quick Links

Replay now available! Dynamics 365 Community Call (CRM Edition)

Catch up on the first D365 Community Call held on 7/10

Community Spotlight of the Month

Kudos to Saurav Dhyani!

Congratulations to the June Top 10 community leaders!

These stars go above and beyond . . .

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 287,696 Super User

#2
Martin Dráb Profile Picture

Martin Dráb 225,490 Super User

#3
nmaenpaa Profile Picture

nmaenpaa 101,148

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans