Why I am getting error "The RPC server is unavailable. (Exception from HRESULT: 0x800706BA)".
This is happening when below code is executed.
try
{
xlWorkBook = xlApp.Workbooks.Open(IDRFFile, 0, true, 5, "", "", true, Microsoft.Office.Interop.Excel.XlPlatform.xlWindows,"\t", false, false, 0, true, 1, 0);
}
catch (Exception ex)
{
}
StackTrace: at Microsoft.Office.Interop.Excel.Workbooks.Open(String Filename, Object UpdateLinks, Object ReadOnly, Object Format, Object Password, Object WriteResPassword, Object IgnoreReadOnlyRecommended, Object Origin, Object Delimiter, Object
Editable, Object Notify, Object Converter, Object AddToMru, Object Local, Object CorruptLoad) &nbs ...
Go to the complete details ...