Excel workbook read range activity throws error as The specified package is invalid. The main part is missing

While reading the excel file i am getting this error as “The specified package is invalid. The main part is missing.” but the same file worked few days before.

Hi @Tamilarasan_Dharmalingam !
Would you mind checking in UiPath Studio (Manage Packages in the ribbon) if UiPath.Excel.Activities is installed ?

Yes Installed @Hiba_B

Copy paste the whole error message details that appears please (in $exceptiondetails, when clicking on the zoom logo to “view more”):
error_details

@Tamilarasan_Dharmalingam

Check if the Excel activities are updated

Hope this may help you

Thanks

Try to copy the data range from the file and paste it to an empty workbook, naming the sheet same as in the original file and run your sequence/bot on the new file.
I had the same problem and it turned out, that when I stopped the bot (in the debugger mode) in the middle of the process it somehow corrupted the original file, although I was able to open it without any issue later on. It may be the same for you.