Hello and welcome to our community! Is this your first visit?
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2
  1. #1
    New to the CF scene
    Join Date
    Jul 2009
    Thanked 0 Times in 0 Posts

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

    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?

  • #2
    Regular Coder
    Join Date
    May 2004
    New Hampshire, America
    Thanked 2 Times in 2 Posts
    Remove the reference to SQLDMO.dll. What do you need it for exactly anyway, and how are you including it? Code please.


    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts