I am getting this exception- "The server threw an exception. (Exception from HRESULT: 0x80010105 (RPC_E_SERVERFA ULT))" while opening an existing excel file using an excel workbook object.
Lines of code :
''Exception is being thrown for above line.
Lines of code :
Code:
Private objExcel As Excel.Application Private xlWorkBook As Excel.Workbook objExcel = New Excel.Application xlWorkBook = objExcel.Workbooks.Open(mstrFilePath)