Skip to main content

Notifications

Announcements

No record found.

Dynamics 365 Community / Forums / Finance forum / Install Dynamics 365 F...
Finance forum
Unanswered

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.

3527.pastedimage1652080158816v1.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

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