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. Error

Error

Scheduled Pinned Locked Moved C#
questiondatabasehelpsql-serversysadmin
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.
  • S Offline
    S Offline
    StephenMcAllister
    wrote on last edited by
    #1

    Hi, I get the following error in an application. System.Runtime.InteropServices.COMException (0x80040154): ? I have set up a test machine where I can reproduce the error and it seems to be at a point where I am using SQLDMO to connect to a database. The wierd thing is that it works fine on my machine but not on a workstation. the only difference between the machines as far as database is that I have SQL Server 7.0 on my machine and the test machine does not. How can I find out what is needed to resolve this issue as far as files etc? Thanks

    R 1 Reply Last reply
    0
    • S StephenMcAllister

      Hi, I get the following error in an application. System.Runtime.InteropServices.COMException (0x80040154): ? I have set up a test machine where I can reproduce the error and it seems to be at a point where I am using SQLDMO to connect to a database. The wierd thing is that it works fine on my machine but not on a workstation. the only difference between the machines as far as database is that I have SQL Server 7.0 on my machine and the test machine does not. How can I find out what is needed to resolve this issue as far as files etc? Thanks

      R Offline
      R Offline
      Roger Stewart
      wrote on last edited by
      #2

      0x80040154 is an HRESULT error that translates to "Class not registered." Do you have MDAC[^] installed on the test machine? Roger Stewart "I Owe, I Owe, it's off to work I go..."

      S 1 Reply Last reply
      0
      • R Roger Stewart

        0x80040154 is an HRESULT error that translates to "Class not registered." Do you have MDAC[^] installed on the test machine? Roger Stewart "I Owe, I Owe, it's off to work I go..."

        S Offline
        S Offline
        StephenMcAllister
        wrote on last edited by
        #3

        MDAC installed fine when I installed the framework for .NET.

        T 1 Reply Last reply
        0
        • S StephenMcAllister

          MDAC installed fine when I installed the framework for .NET.

          T Offline
          T Offline
          Tom Larsen
          wrote on last edited by
          #4

          Then look for another object that is using COM. The HRESULT is very clear: the object you are looking for is not registered and therefore can not be created let alone call any function upon.

          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