Regarding import excel file

hii,

While importing excel file, i'm getting exception in following line.


Excel.Application xlApp = new Excel.Application();

Exception - "Retrieving the COM class factory for component with CLSID {00024500-0000-0000-C000-000000000046} failed due to the following error: 80040154 Class not registered (Exception from HRESULT: 0x80040154 (REGDB_E_CLASSNOTREG))."

1 Reply

SR Sivakumar R Syncfusion Team July 17, 2018 03:36 PM UTC

Hi Brijesh,

 

It seems the reported exception is not related to importing excel file. Can you please check the below link and revert to us with the code you are using for importing excel file,

https://stackoverflow.com/questions/1036856/retrieving-the-com-class-factory-for-component-with-clsid-xxxx-failed-due-to-t

 

Can you please let us know how you are importing the excel. Are you using XlsIO for importing data from Excel. If so, please ensure to follow the below documentation links,

https://help.syncfusion.com/file-formats/xlsio/loading-and-saving-workbook

 

Thanks,

Sivakumar


Loader.
Up arrow icon