Start a Conversation

Unsolved

L

2 Posts

674

February 12th, 2020 03:00

Dell Command Update 3.1.0 - Invalid URI exception when updating via dcu-cli.exe

Hello, asking for someones assistance or input... here the details:

I have multiple different Dell notebooks and workstations that I would like to update drivers and firmware automatically via BigFix after installing Windows 10 and hardware drivers via WDS and a base set of applications via BigFix.

The OS being installed is Windows 10 LTSC (v10.0.17763)

During this setup process BigFix is installing these Dell System management applications silently as a baseline to all Dell Notebooks and Workstations.

  • Dell Command | Update for Windows 10 x64 (UWP) v3.1.0
  • Dell Command | Configure v4.2.1.568 (just the CLI)
  • Dell Command | Monitor v10.2.1.80

This goes fine. Then I import these settings.xml file into Dell Command | Update

Spoiler



Classic


C:\Program Files\Dell\CommandUpdate\


DellCommandUpdate.exe



false


true







ManualUpdates


ScanNotify


Never






false


false


false






true



Classic C:\Program Files\Dell\CommandUpdate\ DellCommandUpdate.exe false true ManualUpdates ScanNotify Never false false false true

This also goes well. Then I lock the settings in the Update applications and reboot the client.

Then a automated task in BigFix runs the dcu-cli.exe to get the list of available updates and writes it to the DCUApplicableUpdates.xml to a specific location n the client, which then again tells another task that the client is applicable for updates from Dell. 

Then this other task, to do the actual updates, runs the dcu-cli.exe with the following parameters:

/applyUpdates -outputLog="C:\Dell\log_DellUpdate\Activity.log" -catalogLocation="C:\Dell\results_DellUpdate\DCUApplicableUpdates.xml" -reboot=disable

But this leads to the following exceptions as can be seen in the Activity.log...

Spoiler

[2020-02-11 12:54:17] : Checking service status : DellClientManagementService
[2020-02-11 12:54:17] : Checking for service availability: DellClientManagementService
[2020-02-11 12:54:17] : Entering FindService() method with ServiceName: DellClientManagementService
[2020-02-11 12:54:17] : Service controller found.
[2020-02-11 12:54:17] : Service controller status: Running
[2020-02-11 12:54:19] : Exception Occurred.
System.ServiceModel.FaultException`1[System.ServiceModel.ExceptionDetail]: Operation 00000000-0000-0000-0000-000000000000 was either not started or completed and the result had been expired (Fault Detail is equal to An ExceptionDetail, likely created by IncludeExceptionDetailInFaults=true, whose value is:
System.InvalidOperationException: Operation 00000000-0000-0000-0000-000000000000 was either not started or completed and the result had been expired
at Dell.UpdateService.Update.OperationContainer.GetProgress()
at SyncInvokeGetCurrentOperationProgress(Object , Object[] , Object[] )
at System.ServiceModel.Dispatcher.SyncMethodInvoker.Invoke(Object instance, Object[] inputs, Object[]& outputs)
at System.ServiceModel.Dispatcher.DispatchOperationRuntime.InvokeBegin(MessageRpc& rpc)
at System.ServiceModel.Dispatcher.ImmutableDispatchRuntime.ProcessMessage5(MessageRpc& rpc)
at System.ServiceModel.Dispatcher.ImmutableDispatchRuntime.ProcessMessage11(MessageRpc& rpc)
at System.ServiceModel.Dispatcher.MessageRpc.Process(Boolean isOperationContextSet)).
[2020-02-11 12:54:19] : Exception Occurred.
System.ServiceModel.FaultException`1[System.ServiceModel.ExceptionDetail]: Operation 00000000-0000-0000-0000-000000000000 was either not started or completed and the result had been expired (Fault Detail is equal to An ExceptionDetail, likely created by IncludeExceptionDetailInFaults=true, whose value is:
System.InvalidOperationException: Operation 00000000-0000-0000-0000-000000000000 was either not started or completed and the result had been expired
at Dell.UpdateService.Update.OperationContainer.GetProgress()
at SyncInvokeGetCurrentOperationProgress(Object , Object[] , Object[] )
at System.ServiceModel.Dispatcher.SyncMethodInvoker.Invoke(Object instance, Object[] inputs, Object[]& outputs)
at System.ServiceModel.Dispatcher.DispatchOperationRuntime.InvokeBegin(MessageRpc& rpc)
at System.ServiceModel.Dispatcher.ImmutableDispatchRuntime.ProcessMessage5(MessageRpc& rpc)
at System.ServiceModel.Dispatcher.ImmutableDispatchRuntime.ProcessMessage11(MessageRpc& rpc)
at System.ServiceModel.Dispatcher.MessageRpc.Process(Boolean isOperationContextSet)).
[2020-02-11 12:54:19] : Checking for updates...
[2020-02-11 12:54:20] : Service call try count : 0
[2020-02-11 12:54:20] : Determining available updates...
[2020-02-11 12:54:37] : An unrecoverable error occurred while checking for updates. The operation was aborted.
[2020-02-11 12:54:37] : Exception Occurred.
System.AggregateException: One or more errors occurred. ---> System.ServiceModel.FaultException`1[System.ServiceModel.ExceptionDetail]: Invalid URI: The hostname could not be parsed.
at Dell.UpdateService.UpdateClient.UpdateClient.GetOperationResult[TResult](OperationProgress operationProgress)
at Dell.UpdateService.UpdateClient.UpdateClient. d__30`1.MoveNext()
--- End of inner exception stack trace ---
at System.Threading.Tasks.Task.ThrowIfExceptional(Boolean includeTaskCanceledExceptions)
at System.Threading.Tasks.Task`1.GetResultCore(Boolean waitCompletionNotification)
at System.Threading.Tasks.Task`1.get_Result()
at Dell.DCU.CLI.Operations.UpdateCliModel.<>c__DisplayClass67_1. b__1(UpdateClient T)
at Dell.App.Core.ServiceAccessor.InstanceHandler.<>c__DisplayClass6_0. b__0()
at System.Threading.Tasks.Task.InnerInvoke()
at System.Threading.Tasks.Task.Execute()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Dell.App.Core.ServiceAccessor.InstanceHandler. d__6.MoveNext()
---> (Inner Exception #0) System.ServiceModel.FaultException`1[System.ServiceModel.ExceptionDetail]: Invalid URI: The hostname could not be parsed. (Fault Detail is equal to An ExceptionDetail, likely created by IncludeExceptionDetailInFaults=true, whose value is:
System.UriFormatException: Invalid URI: The hostname could not be parsed.
at System.Uri.CreateThis(String uri, Boolean dontEscape, UriKind uriKind)
at Dell.UpdateService.Update.Operations.Domain.Models.PdkCatalog.get_BaseLocationUri()
at Dell.UpdateService.Update.Operations.Domain.ApplicabilityConfig.GetBaseLocationUri(ClientCatalogType catalogType)
at Dell.UpdateService.Update.Operations.Domain.ApplicabilityConfig.InitializeUpdateConfig(ClientCatalogType catalogType)
at Dell.UpdateService.Update.Operations.UpdateOperation.GetPdkUpdatesWithCaching(UpdateOperationType updateOperationType, String applicationName, PluginManager globalPluginManager, Uri catalogUri, Boolean skipStageProcessing, CancellationToken cancellationToken)
at Dell.UpdateService.Update.Operations.GetPdkUpdates.Main(CancellationToken cancellationToken)
at Dell.UpdateService.Update.Operations.Operation.<>c__DisplayClass39_0.<.ctor>b__0()
at System.Threading.Tas...).<---

[2020-02-11 12:54:37] : Apply updates action ended due to an unknown error..
[2020-02-11 12:54:38] : Execution completed.
[2020-02-11 12:54:38] : Program exited with return code: 2

[2020-02-11 12:54:17] : Checking service status : DellClientManagementService [2020-02-11 12:54:17] : Checking for service availability: DellClientManagementService [2020-02-11 12:54:17] : Entering FindService() method with ServiceName: DellClientManagementService [2020-02-11 12:54:17] : Service controller found. [2020-02-11 12:54:17] : Service controller status: Running [2020-02-11 12:54:19] : Exception Occurred. System.ServiceModel.FaultException`1[System.ServiceModel.ExceptionDetail]: Operation 00000000-0000-0000-0000-000000000000 was either not started or completed and the result had been expired (Fault Detail is equal to An ExceptionDetail, likely created by IncludeExceptionDetailInFaults=true, whose value is:System.InvalidOperationException: Operation 00000000-0000-0000-0000-000000000000 was either not started or completed and the result had been expiredat Dell.UpdateService.Update.OperationContainer.GetProgress()at SyncInvokeGetCurrentOperationProgress(Object , Object[] , Object[] )at System.ServiceModel.Dispatcher.SyncMethodInvoker.Invoke(Object instance, Object[] inputs, Object[]& outputs)at System.ServiceModel.Dispatcher.DispatchOperationRuntime.InvokeBegin(MessageRpc& rpc)at System.ServiceModel.Dispatcher.ImmutableDispatchRuntime.ProcessMessage5(MessageRpc& rpc)at System.ServiceModel.Dispatcher.ImmutableDispatchRuntime.ProcessMessage11(MessageRpc& rpc)at System.ServiceModel.Dispatcher.MessageRpc.Process(Boolean isOperationContextSet)).[2020-02-11 12:54:19] : Exception Occurred. System.ServiceModel.FaultException`1[System.ServiceModel.ExceptionDetail]: Operation 00000000-0000-0000-0000-000000000000 was either not started or completed and the result had been expired (Fault Detail is equal to An ExceptionDetail, likely created by IncludeExceptionDetailInFaults=true, whose value is:System.InvalidOperationException: Operation 00000000-0000-0000-0000-000000000000 was either not started or completed and the result had been expiredat Dell.UpdateService.Update.OperationContainer.GetProgress()at SyncInvokeGetCurrentOperationProgress(Object , Object[] , Object[] )at System.ServiceModel.Dispatcher.SyncMethodInvoker.Invoke(Object instance, Object[] inputs, Object[]& outputs)at System.ServiceModel.Dispatcher.DispatchOperationRuntime.InvokeBegin(MessageRpc& rpc)at System.ServiceModel.Dispatcher.ImmutableDispatchRuntime.ProcessMessage5(MessageRpc& rpc)at System.ServiceModel.Dispatcher.ImmutableDispatchRuntime.ProcessMessage11(MessageRpc& rpc)at System.ServiceModel.Dispatcher.MessageRpc.Process(Boolean isOperationContextSet)).[2020-02-11 12:54:19] : Checking for updates... [2020-02-11 12:54:20] : Service call try count : 0 [2020-02-11 12:54:20] : Determining available updates... [2020-02-11 12:54:37] : An unrecoverable error occurred while checking for updates. The operation was aborted. [2020-02-11 12:54:37] : Exception Occurred. System.AggregateException: One or more errors occurred. ---> System.ServiceModel.FaultException`1[System.ServiceModel.ExceptionDetail]: Invalid URI: The hostname could not be parsed.at Dell.UpdateService.UpdateClient.UpdateClient.GetOperationResult[TResult](OperationProgress operationProgress)at Dell.UpdateService.UpdateClient.UpdateClient. d__30`1.MoveNext()--- End of inner exception stack trace ---at System.Threading.Tasks.Task.ThrowIfExceptional(Boolean includeTaskCanceledExceptions)at System.Threading.Tasks.Task`1.GetResultCore(Boolean waitCompletionNotification)at System.Threading.Tasks.Task`1.get_Result()at Dell.DCU.CLI.Operations.UpdateCliModel.<>c__DisplayClass67_1. b__1(UpdateClient T)at Dell.App.Core.ServiceAccessor.InstanceHandler.<>c__DisplayClass6_0. b__0()at System.Threading.Tasks.Task.InnerInvoke()at System.Threading.Tasks.Task.Execute()--- End of stack trace from previous location where exception was thrown ---at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)at Dell.App.Core.ServiceAccessor.InstanceHandler. d__6.MoveNext()---> (Inner Exception #0) System.ServiceModel.FaultException`1[System.ServiceModel.ExceptionDetail]: Invalid URI: The hostname could not be parsed. (Fault Detail is equal to An ExceptionDetail, likely created by IncludeExceptionDetailInFaults=true, whose value is:System.UriFormatException: Invalid URI: The hostname could not be parsed.at System.Uri.CreateThis(String uri, Boolean dontEscape, UriKind uriKind)at Dell.UpdateService.Update.Operations.Domain.Models.PdkCatalog.get_BaseLocationUri()at Dell.UpdateService.Update.Operations.Domain.ApplicabilityConfig.GetBaseLocationUri(ClientCatalogType catalogType)at Dell.UpdateService.Update.Operations.Domain.ApplicabilityConfig.InitializeUpdateConfig(ClientCatalogType catalogType)at Dell.UpdateService.Update.Operations.UpdateOperation.GetPdkUpdatesWithCaching(UpdateOperationType updateOperationType, String applicationName, PluginManager globalPluginManager, Uri catalogUri, Boolean skipStageProcessing, CancellationToken cancellationToken)at Dell.UpdateService.Update.Operations.GetPdkUpdates.Main(CancellationToken cancellationToken)at Dell.UpdateService.Update.Operations.Operation.<>c__DisplayClass39_0.<.ctor>b__0()at System.Threading.Tas...).<---[2020-02-11 12:54:37] : Apply updates action ended due to an unknown error.. [2020-02-11 12:54:38] : Execution completed. [2020-02-11 12:54:38] : Program exited with return code: 2

The thing is... as soon as I start the Dell Command Update GUI with an admin account, check for updates there, and then close the application without installing the reported updates, I can afterwards do the update via the dcu-cli.exe without any errors.

It looks to me like a bug of the application, but I am not sure if I do maybe something else wrong on my end.

Any help would be appreciated.

No Responses!
No Events found!

Top