Results 1 to 2 of 2

Thread: ClickOnce, adding DLL's

  1. #1

    Thread Starter
    Frenzied Member
    Join Date
    Dec 2001
    Posts
    1,331

    ClickOnce, adding DLL's

    Hello,

    I have just had a error deploying a clickonce application. The error is below and has been solved

    System.Runtime.InteropServices.COMException (0x80040154): Retrieving the COM class factory for component with CLSID {10020200-E260-11CF-AE68-00AA004A34D5} failed due to the following error: 80040154.

    The above problem caused me hours to solve. However, was solved my simply by doing the following: regsvr32 sqldmo.dll. to register the dll on the client machine.

    I have created a deployment using the MSI, and never had this problem. But clickOnce does cause this problem if the dll does not exist and is not registered on the client machine.

    Is there any way that you can use clickone to add this dll on the client's machine, so I don't have to go to trouble of registering manually.

    When I publish this file I have added all the required dlls.

    This is what I have done:
    1. In the solution explorer | references | properties | set the sqldmo local copy to true
    2. On the publish tab | Application File | set the publish status for the sqldmo.dll to include and required
    3. Prereqisities | Added the .net framework, CR Reports .Net, MS Data Access components.

    VB 2005 & SQL Server 2005.

    Many thanks for any help,

    Steve
    steve

  2. #2
    Lively Member
    Join Date
    Oct 2006
    Posts
    71

    Re: ClickOnce, adding DLL's

    I've never done it, but this FAQ says you can
    http://www.windowsforms.net/FAQs/def...=24&tabindex=2

Posting Permissions

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



Click Here to Expand Forum to Full Width