PDA

View Full Version : Retrieving the COM class factory for component with CLSID...failed



scarnavia
07-15-2009, 10:08 AM
i have an application, i've created for it an setup project, and in setup project, in custom action, in Install node, i've attached a new custom action myCustomAction.

myCustomAction is a form that use interop.SQLDMO.dll

when i compile the solution, and run the created setup, this error appears:

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

if a don't use reference to SQLDMO.dll in myCustomAction, the setup works fine...

so, any suggestion?

Dunna
07-20-2009, 02:04 AM
Remove the reference to SQLDMO.dll. What do you need it for exactly anyway, and how are you including it? Code please.