Question

1
Replies
397
Views
BaskarN7 Member since 2017 4 posts
Tata Consultancy Services
Posted: 1 year ago
Last activity: 1 year ago
Closed

System.Runtime.InteropServices.COMException - The RPC server is unavailable

I am using Excel file to read as input and updating status. I am also running macro using run macro method. I am getting the below exception. Sometimes it works fine, but sometime it is throwing this exception. I tried to remove run macro function, but still getting this exception while saving or closing the excel file.

1. System.Runtime.InteropServices.COMException (0x800706BA): The RPC server is unavailable. (Exception from HRESULT: 0x800706BA) at icrosoft.Office.Interop.Excel.ApplicationClass.Run(Object Macro, Object Arg1, Object Arg2, ) at OpenSpan.Office.MicrosoftExcel.RunMacro(String macroName, Object param1, Object param2, Object param3, Object param4, Object param5)

2. “System.Runtime.InteropServices.COMException (0x800A03EC): Exception from HRESULT: 0x800A03EC at Microsoft.Office.Interop.Excel.WorkbookClass.Save() at OpenSpan.Office.MicrosoftExcel.Save()”

Robotic Process Automation
Moderation Team has archived post
Share this page LinkedIn