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.
I don't know what to do next.
If you have any suggestion please advice to me.
Sorry for my bad in English.