how to register COM dll on web server?

Last post 08-11-2008 10:10 AM by Neno. 7 replies.

Sort Posts:

  • how to register COM dll on web server?

    07-17-2008, 2:33 AM
    • Loading...
    • Neno
    • Joined on 02-20-2007, 4:50 PM
    • Posts 45

    I've got a 3.5 .NET application which references a few COM dlls. 

    On my local maschine everything works fine, but on my production web server I got an error:

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

    So, I have to register COM dlls on my web server .. I tried to register it using regsvr32 , but I got an error:

    dll was loaded, but the DLLRegisterServer entry point was not found. The file cannot be registered.

    Any ideas how to register it?

     

  • Re: how to register COM dll on web server?

    07-17-2008, 3:16 AM
    Answer
  • Re: how to register COM dll on web server?

    07-17-2008, 5:00 AM
    • Loading...
    • Neno
    • Joined on 02-20-2007, 4:50 PM
    • Posts 45

     

    I visited these links already yesterday.. I haven't tried all yet, but I doubt that it'd solve my problem..

    So , further ideas and advices are welcome !Smile

  • Re: how to register COM dll on web server?

    07-20-2008, 7:02 PM
    • Loading...
    • jsiddharthj
    • Joined on 06-18-2008, 3:54 PM
    • Virginia U.S
    • Posts 178

    It seems your dll has some dependency.Is it the only one dll you have to register.I guess if there are more than one before registering the one thats giving an error register the other ones.

    Sid heart
  • Re: how to register COM dll on web server?

    07-22-2008, 9:32 AM
    • Loading...
    • Neno
    • Joined on 02-20-2007, 4:50 PM
    • Posts 45

    Thanks for answer, my boss solved the problem..

    I'm going to put the solution here....

     

    Neno

  • Re: how to register COM dll on web server?

    08-08-2008, 12:25 PM
    • Loading...
    • Lorddog
    • Joined on 06-07-2006, 8:08 PM
    • Posts 19

    I think I have a simular problem so how did you solve yours?

    I am moving a server to a new server and this one dll is not registering for the same reason. On the old machine it shows up in the registry but not the assembly telling me i need to register it the old way. I also opened it in dependancy walker and it just shows 3 system dll's are are on the system.

    This dll was customized by a russian team that may be hard for me to get ahold of on how they initially registered it. Anyhow if I can get it registered then my problem is solved.

    Lorddog

  • Re: how to register COM dll on web server?

    08-08-2008, 4:23 PM
    • Loading...
    • Lorddog
    • Joined on 06-07-2006, 8:08 PM
    • Posts 19

    ok after much searching and trying different things I got it to work. just had to run it as regasm to register it. regsvr32 didnt work and dropping it into the assembly folder did not work. my problem is it needed another dll installed via regasm (which I saw on the old server was installed in the assembly so it threw me off).

     Lorddog

  • Re: how to register COM dll on web server?

    08-11-2008, 10:10 AM
    • Loading...
    • Neno
    • Joined on 02-20-2007, 4:50 PM
    • Posts 45

    For me it was solved by using Setup1 of VB6 (intgral part of vb6 instalation)

    Setup1 could be found in the following path : C:\Program Files\Microsoft Visual Studio\VB98\Wizards\PDWizard\Setup1

    (for those who will read this thread in future)

Page 1 of 1 (8 items)
Microsoft Communities
Page view counter