Wednesday, June 12, 2013

Retrieving the COM class factory for component with CLSID {00024500-0000-0000-C000-000000000046} failed due to the following error: 80040154



The causes of above errors are as follows :

1.The Excel COM object is not installed or registered on the server.
      -->Is it compulsory to install the MS office in order to use Excel  interop.Excel assembly for reading Excel file.

 2.The office COM components are 32 bit only. Under the application pool's advanced settings, set the following option.
     --> Enable 32-Bit Applications to True

No comments:

Post a Comment