Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C#
  4. DLL Hell?

DLL Hell?

Scheduled Pinned Locked Moved C#
csharpcomhelpquestion
4 Posts 3 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • R Offline
    R Offline
    Radgar
    wrote on last edited by
    #1

    I wrote an app using some active-x com dlls in C#.NET The app works fine on my computer where I wrote it but when I install it on an other computer I recieve the following error: An unhandled exception of type 'System.Runtime.InteropServices.COMException' occurred in TestApp.exe Additional information: Retrieving the COM class factory for component with CLSID {8B71E7FF-699F-4610-9379-DE3A92D519BD} failed due to the following error: 80040154. I've included all the dlls I use but still receive this error on the other machine. Do you have an idea why? regards

    Radgar "Imagination is more important than knowledge." - Albert Einstein

    K 1 Reply Last reply
    0
    • R Radgar

      I wrote an app using some active-x com dlls in C#.NET The app works fine on my computer where I wrote it but when I install it on an other computer I recieve the following error: An unhandled exception of type 'System.Runtime.InteropServices.COMException' occurred in TestApp.exe Additional information: Retrieving the COM class factory for component with CLSID {8B71E7FF-699F-4610-9379-DE3A92D519BD} failed due to the following error: 80040154. I've included all the dlls I use but still receive this error on the other machine. Do you have an idea why? regards

      Radgar "Imagination is more important than knowledge." - Albert Einstein

      K Offline
      K Offline
      kubben
      wrote on last edited by
      #2

      My guess would be even through the dll's are on the PC they haven't been registered. I think you need to run the regsvr32.exe on those dlls. That's my best guess. Hope that helps. Ben

      R 1 Reply Last reply
      0
      • K kubben

        My guess would be even through the dll's are on the PC they haven't been registered. I think you need to run the regsvr32.exe on those dlls. That's my best guess. Hope that helps. Ben

        R Offline
        R Offline
        Radgar
        wrote on last edited by
        #3

        Thanks Ben but that's definitely not the problem.

        Radgar "Imagination is more important than knowledge." - Albert Einstein

        D 1 Reply Last reply
        0
        • R Radgar

          Thanks Ben but that's definitely not the problem.

          Radgar "Imagination is more important than knowledge." - Albert Einstein

          D Offline
          D Offline
          Dave Kreskowiak
          wrote on last edited by
          #4

          Well, that's what error 80040154 says is the problem. It basically means "Class not found", whether that's in reference to a direct call by your code, or one of your .DLL's has a dependancy on another DLL that's not registered properly. It's possible that the COM Servers you registered have to be restarted.

          Dave Kreskowiak Microsoft MVP - Visual Basic

          1 Reply Last reply
          0
          Reply
          • Reply as topic
          Log in to reply
          • Oldest to Newest
          • Newest to Oldest
          • Most Votes


          • Login

          • Don't have an account? Register

          • Login or register to search.
          • First post
            Last post
          0
          • Categories
          • Recent
          • Tags
          • Popular
          • World
          • Users
          • Groups