Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Retrieving the COM class factory for component with CLSID...failed

Status
Not open for further replies.

scarnavia

Programmer
Jul 9, 2009
2
RO
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?
 
Sounds like the .dll isn't being included in the setup process for some reason OR it's not being registered once setup installs it.

Are you registering it? Something to try would be to register the DLL, then run setup and see if it still fails.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top