Uipath.excel.excel exception the object invoked has disconnected from its clients. (Exception from HRESULT: 0x80010108 (RPC_E_DISCONNECTED)

Getting the below exception while running the Bot. Getting the issue only some times and sometimes it runs without any issues

uipath.excel.excel exception the object invoked has disconnected from its clients. (Exception from HRESULT: 0x80010108 (RPC_E_DISCONNECTED)

I have tried using Delay as seen in many other related posts. But is there any other way to solve the issue ?



Are you getting the same error when using the delay ?
Can you confirm if you are accessing the files from the shared drive through the network?

1 Like

Hi Hareesh,

Sorry for late reply. With delay i am not getting error. But wanted to know if there is any other way apart from using Delay.
I am not accessing files from shared drive

1 Like

hi Supporter,

I got the same problem, I also use Deplay but the error always happen. How can resolve it ?

Hello @Ngh_Bui

Are you getting this specific error while executing any particular activity?


Hi @Ngh_Bui
can you try using Workbook activity like read range workbook activity etc instead of excel application scope activity?
also you can try including kill activity before opening the excel and mark continue on error true in the kill activity

Use workbook activity as I also faced the same issue.

Maybe you have two scope excel with the same reference, change the references and done

@Ngh_Bui I have occasionally got the same error and was wondering where you added the delay to? I have a Use Excel File activity within an Excel Application Scope which adds some columns and then updates data into those columns. Not sure if the delay needs to be added after each of my Insert Column activities.

You Solve the error using Kill process activity after and before Excel Application Scope
Try using Close workbook like this:

This work’s for me! This activities are very fast to close the workbook when it’s closing.

Even in my case same issue was occurred now got solved after i increased the delay time,

in my first workflow bot has some excel work which will be closed automatically after work done
in second workflow i have increased delay time then bot has functioning well now without any error

Note: using excel activities only not workbook activities, try increasing the delay time if multiple action will done by the bot.