How to resolve the below error? in c# dot net application.
Retrieving the COM class factory for component with CLSID {XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX} failed due to the following error: 80040154 Class not registered (Exception from HRESULT: 0x80040154 (REGDB_E_CLASSNOTREG)).


Rajeev PunhaniRank #551 · 4.4K reputationPosted Mar 8, 2017, 4:54 AM EST
Hassan Uddin MughalRank #2,508 · 560 reputationPosted Mar 8, 2017, 4:58 AM EST
Hariharan KrishnamoorthiRank #2,453 · 574 reputationPosted Jun 19, 2017, 2:23 AM EDT
prigoreanu constantin5 reputationPosted Sep 18, 2018, 2:08 AM EDT