web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Dynamics 365 Community / Forums / Finance forum / Install Dynamics 365 F...
Finance forum
Under review by Community Managers

Under review

Thank you for your post! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Install Dynamics 365 F&O Error - Not OK After 5 minutes

Posted on by 35

Hi,

I following in https://docs.microsoft.com/en-us/dynamics365/fin-ops-core/dev-itpro/deployment/setup-deploy-on-premises-pu41#configureconnector and I got an error in step 20 when I run command "LocalAgentCLI.exe Install <path of config.json>".

This error:

C:\D365OnpremInstallation\LocalAgent-1051074\LocalAgent-1051074>LocalAgentCLI.exe Install "C:\D365OnpremInstallation\localAgent-config.json"
Invoking ef6.exe database update --assembly OrchestrationService.DataModels.dll --connection-string "Data Source=ERPSQLUAT.kmutt.ac.th;Initial Catalog = OrchestratorData; Integrated Security = True; MultipleActiveResultSets=True" --connection-provider System.Data.SqlClient --project-dir C:\D365OnpremInstallation\LocalAgent-1051074\LocalAgent-1051074
LocalAgentCLI.exe Information: 0 : Copying application package C:\D365OnpremInstallation\LocalAgent-1051074\LocalAgent-1051074\Applications\LBDTelemetry to LBDTelemetryType-Agent-1.0.0.20211101
LocalAgentCLI.exe Information: 0 : Provisioning application from LBDTelemetryType-Agent-1.0.0.20211101
LocalAgentCLI.exe Information: 0 : Creating application fabric:/LBDTelemetry-Agent, type LBDTelemetryType-Agent. app version 1.0.0.20211101
LocalAgentCLI.exe Information: 0 : Application fabric:/LBDTelemetry-Agent is OK
LocalAgentCLI.exe Information: 0 : Copying application package C:\D365OnpremInstallation\LocalAgent-1051074\LocalAgent-1051074\Applications\LocalAgent to LocalAgentType-1.0.0.20211101
LocalAgentCLI.exe Information: 0 : Provisioning application from LocalAgentType-1.0.0.20211101
LocalAgentCLI.exe Information: 0 : Creating application fabric:/LocalAgent, type LocalAgentType. app version 1.0.0.20211101
LocalAgentCLI.exe Error: 0 : Application fabric:/LocalAgent is not OK after 5 minutes. Exception: at System.Environment.GetStackTrace(Exception e, Boolean needFileInfo)
at System.Environment.get_StackTrace()
at SetupInfrastructure.SetupInfrastructureEventsHelper.ErrorPrettify(SetupInfrastructureEventSource source, Exception ex, Int32 errorCode, String format, Object[] values)
at SetupInfrastructure.ServiceFabricApplicationSetupManager`1.<CheckApplicationState>d__39.MoveNext()
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.Runtime.CompilerServices.AsyncMethodBuilderCore.MoveNextRunner.Run()
at System.Threading.Tasks.AwaitTaskContinuation.RunOrScheduleAction(Action action, Boolean allowInlining, Task& currentTask)
at System.Threading.Tasks.Task.FinishContinuations()
at System.Threading.Tasks.Task`1.TrySetResult(TResult result)
at System.Threading.Tasks.TaskCompletionSource`1.TrySetResult(TResult result)
at System.Threading.Tasks.TaskCompletionSource`1.SetResult(TResult result)
at System.Fabric.Interop.AsyncCallOutAdapter2`1.Finish(IFabricAsyncOperationContext context, Boolean expectedCompletedSynchronously)
at System.Fabric.Interop.SharedNativeObject`1.TryAcquireAndInvoke(Action`1 action). Error code: 0
LocalAgentCLI.exe Information: 0 : Unable to install the application fabric:/LocalAgent. Check the event viewer and service fabric explorer for more details.

2781.pastedimage1652081006617v1.png

I don't know what to do next.

If you have any suggestion please advice to me.

Sorry for my bad in English.

Helpful resources

News and Announcements

Season of Giving Solutions is Here!

Quick Links

November Spotlight Star - Khushbu Rajvi

Congratulations to a top community star!

Forum Structure Changes Coming on 11/8!

In our never-ending quest to help the Dynamics 365 Community members get answers faster …

Dynamics 365 Community Platform update – Oct 28

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

Leaderboard > Finance

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans