Nepethya Rana

Nepethya Rana

  • NA
  • 335
  • 151.9k

System.Runtime.InteropServices.COMException (0x80040154):

Feb 7 2017 11:06 AM
My 64 bit server which is running 32 bit office,
what my application does is get the data and create a excel file in server.
I am getting this error :
System.Runtime.InteropServices.COMException (0x80040154):
Retrieving the COM class factory for component with CLSID {xxx-xx-xxxx}
failed due to the following error: 80040154.
I checked in GAC in my server, its missing MIcrosoft.Office.Interop.Excel.
How do i fix this issue?

Answers (2)