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

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

Session Id :
Finance | Project Operations, Human Resources, ...
Answered

LCS fail in preparation not displaying the "Retry" and "Abort" buttons

(1) ShareShare
ReportReport
Posted on by 511

I'm applying customizations to D365FO environment (On-prem) and LCS preparation has failed. But the problem now is it's not showing the failure page. I've tried to restart all Orchs and Adfs but there is no difference. It remain stuck. Any help??

LCSEnvironment.PNGLCSHomefail.PNG

I've checked the event viewer from one of the Orchs and the following is what I'm getting but still I'm not sure what's going on

Event 1

Task OrchestrationService.ArtifactProcessorTask,OrchestrationService failed for command id daae574d-9e50-4745-8bb6-b1bb55160288
Detail System.AggregateException: One or more errors occurred. ---> LocalAgentCommon.LocalAgentInvalidOperationException: Unable to get standalone file for command daae574d-9e50-4745-8bb6-b1bb55160288 at OrchestrationService.LcsArtifactsDownloadProvider.<ResolveArtifactLocations>d__1.MoveNext() --- End of inner exception stack trace --- at System.Threading.Tasks.Task.ThrowIfExceptional(Boolean includeTaskCanceledExceptions) at System.Threading.Tasks.Task.Wait(Int32 millisecondsTimeout, CancellationToken cancellationToken) at OrchestrationService.ArtifactProcessorTask.Run(OrchestratorRunbookResource runbookResource, String commandId, String jobId, String runbookTaskId) at OrchestrationService.OrchestrationJobManager.<>c__DisplayClass23_0.<CreateNewTaskThread>b__4() ---> (Inner Exception #0) LocalAgentCommon.LocalAgentInvalidOperationException: Unable to get standalone file for command daae574d-9e50-4745-8bb6-b1bb55160288 at OrchestrationService.LcsArtifactsDownloadProvider.<ResolveArtifactLocations>d__1.MoveNext()<---

Event 2

Unable to get standalone file for command daae574d-9e50-4745-8bb6-b1bb55160288
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 OrchestrationService.LcsArtifactsDownloadProvider.<ResolveArtifactLocations>d__1.MoveNext() 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.Finish(Boolean bUserDelegateExecuted) at System.Threading.Tasks.Task.ExecuteWithThreadLocal(Task& currentTaskSlot) at System.Threading.Tasks.Task.ExecuteEntry(Boolean bPreventDoubleExecution) at System.Threading.ThreadPoolWorkQueue.Dispatch()

Event 3

Unable to download asset c7fcc01f-f8d6-4667-ab68-cbfc20350e5a
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 OrchestrationService.BaseLcsArtifactsProvider.<GetDownloadedAssetLocation>d__24.MoveNext() 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.Finish(Boolean bUserDelegateExecuted) at System.Threading.Tasks.Task.ExecuteWithThreadLocal(Task& currentTaskSlot) at System.Threading.Tasks.Task.ExecuteEntry(Boolean bPreventDoubleExecution) at System.Threading.ThreadPoolWorkQueue.Dispatch()

I have the same question (0)
  • mhdshb1 Profile Picture
    1,250 on at

    Hi,

    Did you try to download the logs from the LCS?

    Regards,

    M

  • Verified answer
    Huggins Mafigu Profile Picture
    511 on at

    Yes! I have solved the problem by uninstalling the Local agent 2.4.0 and installed 2.5.0 and triggered deployment from SQL Server by running the following SQL statements

      update OrchestratorJob set State = 1 where JobId = 'xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx'
    
     update RunBookTask set State = 1, Retries = 1 where RunbookTaskId = 'xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx'
    

    After getting the JobId and RunbookTaskId from the last processed tasks from running the following queries

    select * from OrchestratorJob order by LastProcessedDateTime desc
    select * from RunBookTask order by StartDateTime desc

    And lastly press the "Refresh" button in the LCS page to get the latest results and then refresh the whole page

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Congratulations to our 2025 Community Spotlights

Thanks to all of our 2025 Community Spotlight stars!

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

#1
Giorgio Bonacorsi Profile Picture

Giorgio Bonacorsi 573

#1
Giorgio Bonacorsi Profile Picture

Giorgio Bonacorsi 573

#3
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 396 Super User 2026 Season 1

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans