Retrieving the COM class factory ......failed due to the following error: 80040154. | Mana Blog... for all
Aug 18, 2010

Retrieving the COM class factory for component with CLSID .....failed due to the following error: 80040154.

This error occuer when you reference unregistered DLL in your solution

Solution: Register your dll using regsvr32.exe utility then add the reference again.

>>> regsvr32 Mydll.dll /u --For unregister
>>> regsvr32 Mydll.dll --For register

How do i find out which dll it is that CLSID {0006F03A-0000-0000-C000-000000000046} refers to ??

to find the dll from CLSID go to the Registry Eidtor.(Run regedit)

  • In Registry Eidtor on left pan u will get details of all CLSID under:-->
  • My Computer --> HKEY_LOCAL_MACHIN --> SOFTWARE --> Classes --> CLSID