Excel scope throwing exception and not reading data from sheet


#1

Scenario:when opening excel container it is giving exception “Excel application scope : The server threw an exception. (Exception from HRESULT: 0x80010105 (RPC_E_SERVERFAULT))”

Steps to reproduce:

Current Behavior:“Excel application scope : The server threw an exception. (Exception from HRESULT: 0x80010105 (RPC_E_SERVERFAULT))

Expected Behavior:It should read data from xlsx file.

Studio/Robot/Orchestrator Version:

Last stable behavior:
Last stable version:
OS Version:
Others if Relevant: (workflow, logs, .net version, service pack, etc):


#2

Hi @sharad.kesarwani,

Did you try the same sequence for a different excel file? Was it working?
If not, can you upload a copy of excel which you are using so that we can re-produce the error and see what is the Root Cause of it.

Regards,
V


#3

Hi @Vikas.Jain

I tried with other excel files too, but still it is giving same issue with all files.

Thanks,
Sharad.


#4

Hi,
Could you please update the packages if available? and give a try after that…


#5

Hi @ddpadil ,

No update available yet, i uninstalled and installed Excel package again but still issue persists.

Thanks,
Sharad.


#6

then please upload your your workflow including excel sheet.


#7

I rebooted the system and error resolved , thank @ddpadil and @Vikas.Jain for your suggestions. :slight_smile:


#8

I’m doing the excercises with Lesson 9 and are having the exact same exception when I created a second sequence for Excel read/write activities.

And just like you, the reboot system solves the problem.

I have also found that kill the “UiPath Robot” in the thread will solve this issue.

I think this is a bug that Excel is not properly cached or closed after being used by the robot.