web
You’re offline. This is a read only version of the page.
close
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

On Premise Installation Module aos failed with error code -1

(0) ShareShare
ReportReport
Posted on by 90

Hi All,

In step 22 while deploying i got an error on event viewer of orchestrator 1

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()
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.ProcessRunner.StartProcessAndWaitForExit(Int32 waitForExitMilliseconds) at SetupCore.SetupManager.LaunchProcess(String startupExe, String workingDir, String[] moduleArgs) 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()
Message Task Microsoft.Dynamics.LocalAgent.OrchestrationService.Tasks.DeployModulesRunnerTask,OrchestrationService failed for command id 6faf59ba-3600-4663-889d-9b44a2276f58
Detail LocalAgentCommon.LocalAgentInvalidOperationException: Unable to deploy AOSSetupHybridCloudError module at Microsoft.Dynamics.LocalAgent.OrchestrationService.Tasks.AXSetupManager.HandleAOSSetupHybridCloudError(Guid errorCode) at Microsoft.Dynamics.LocalAgent.OrchestrationService.Tasks.AXSetupManager.ThrowModuleExceptionBasedOnError() at Microsoft.Dynamics.LocalAgent.OrchestrationService.Tasks.DeployModulesRunnerTask.Run(OrchestratorRunbookResource runbookResource, String commandId, String jobId, String runbookTaskId) at Microsoft.Dynamics.LocalAgent.OrchestrationService.OrchestrationJobManager.<>c__DisplayClass22_0.<CreateNewTaskThread>b__4()

and in SF Cluster i capture the error : 'AxService' reported Error for property 'MetadataExtraction'.
Metadata package extraction has failed multiple times. Please check the log files for more information. To reattempt extraction delete the following file: ..\AXSFType_App34\work\MetadataExtraction.txt

Thank you for everyone can help to this problem.

Best Regards

I have the same question (0)
  • Suggested answer
    huijij Profile Picture
    19,811 on at

    Hi,

    Did you check the MS document about the article which provides troubleshooting information for deployments of Microsoft Dynamics 365 Finance + Operations (on-premises).

    docs.microsoft.com/.../troubleshoot-on-prem

  • Suggested answer
    Muratvzr Profile Picture
    743 on at

    I think your aos servers can not deploy AXSFTYPE. This error is raising when the AXSF type is setting up. First You should restart all servers and re try deploying. If it's not working and same thing happening you should clean old folders.

    C:\ProgramData\SF path

    and you have to look the free space on the directory.

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > Finance | Project Operations, Human Resources, AX, GP, SL

#1
Martin Dráb Profile Picture

Martin Dráb 451 Most Valuable Professional

#2
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 428 Super User 2025 Season 2

#3
BillurSamdancioglu Profile Picture

BillurSamdancioglu 239 Most Valuable Professional

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans