Error HRESULT E_FAIL has been returned from a call to a COM component UiPath Studio community

Hi,

I have the same problem. It also occurs, when Excel is running a lot of formulas in the background - The bot can’t do anything in Excel (I always get this error: “Click ‘Registerkartenelement B…’: Error HRESULT E_FAIL has been returned from a call to a COM component.”).
Do you have a solution for that problem?

Thanks in advance.

Hi everyone,

I got the same error :confused:
Exception Message : Error HRESULT E_FAIL has been returned from a call to a COM component.
I’m using Internet Explorer.
Do you have any solution for me please ?

Regards,
Nourchène.

1 Like

I got this error. It was caused when a “Set Focus” activity couldn’t set focus onto the specified window.

For example, a save dialog that won’t allow you to focus on the main application window.

My solution was to make sure certain dialogs were closed properly.

1 Like

Hi All,

So I was facing the same issue and root cause of this is Chrome browser.
Update it and try again, it worked for me I hope it works for you too as well.

Thanks

Your recommendation is perfectly working, Thanks

1 Like

I had the same error under a different circumstance. I was reading a list from an application. I added the activity to the Object Repository and started getting this message. Recreated without adding and it is working fine.

Hey All,

I have the same issue when trying to “Set Text” in a PDF with Adobe Reader. Someone faced the same problem?

Thank you in advance