COM Component error, only if run by Assistant

while and not always a process fails while hooking internet session or web component if run by assistant with the error below?


Is there any specific activity or specific step that it is failing at?


Hello @Meli_Marco
If Facing the browsing Activity, Uninstall the Browser extension and reinstall it in Browser. Also place the Kill activity with continue on error to force stop the Browser.


executing the process by desktop does not show you the exact step it stops but here below the error in details.

I suppose after launching Edge at specific page it needs to locate certain elements like label text and click to button, but it takes too long and fails. Tkx.

Error HRESULT E_FAIL has been returned from a call to a COM component.

at UiPath.Core.Activities.ScopeActivity.OnFaulted(NativeActivityFaultContext faultContext, Exception propagatedException, ActivityInstance propagatedFrom)
at System.Activities.Runtime.FaultCallbackWrapper.Invoke(NativeActivityFaultContext faultContext, Exception propagatedException, ActivityInstance propagatedFrom)
at System.Activities.Runtime.FaultCallbackWrapper.FaultWorkItem.Execute(ActivityExecutor executor, BookmarkManager bookmarkManager)
— End of stack trace from previous location —
at UiPath.Executor.BaseRunner.EndExecute(IAsyncResult result)
at UiPath.Executor.InProcessRunner.EndExecute(IAsyncResult result)
at UiPath.Core.Activities.ExecutorInvokeActivity.EndExecute(AsyncCodeActivityContext context, IAsyncResult result)
at System.Activities.AsyncCodeActivity.System.Activities.IAsyncCodeActivity.FinishExecution(AsyncCodeActivityContext context, IAsyncResult result)
at System.Activities.AsyncCodeActivity.CompleteAsyncCodeActivityData.CompleteAsyncCodeActivityWorkItem.Execute(ActivityExecutor executor, BookmarkManager bookmarkManager)

Hello, done but no chance. Tkx.

The odd thing is it works if running by orchestrator but does not work if I run it from desktop … any idea ?

Try to uninstall and install the browser with latest version. Then enable the UiPath extension. Again try this.

always the same … browser is Edge and I cannot use any other for this kind application