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. COM
  4. NT Service DCOM server always return 0x80070424

NT Service DCOM server always return 0x80070424

Scheduled Pinned Locked Moved COM
c++helpsysadmintutorialquestion
3 Posts 1 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.
  • K Offline
    K Offline
    Krouer
    wrote on last edited by
    #1

    Hello, If I register my DCOM exe server as local server, it works fine. If I register it as NT Service, the registration seems good but every call to CoCreateIntance failed with the error ERROR_SERVICE_DOES_NOT_EXIST. If I try to configure with DCOMCNFG.EXE, it prompts the service is installed but it show the same error when I want to apply the modification. When I go in the Service window, my service is present and I can run it/stop it via the Service Manager. In the EventViewer, I can see the info/warning/error message the server drops. The DCOM server is developped under VC++ 6.0 with ATL. Can you give me a hint on how to solve that problem? I have read the Richard Grimes' book but found nothing. I read it again and again wo any success. Thanks, Bruno

    K 1 Reply Last reply
    0
    • K Krouer

      Hello, If I register my DCOM exe server as local server, it works fine. If I register it as NT Service, the registration seems good but every call to CoCreateIntance failed with the error ERROR_SERVICE_DOES_NOT_EXIST. If I try to configure with DCOMCNFG.EXE, it prompts the service is installed but it show the same error when I want to apply the modification. When I go in the Service window, my service is present and I can run it/stop it via the Service Manager. In the EventViewer, I can see the info/warning/error message the server drops. The DCOM server is developped under VC++ 6.0 with ATL. Can you give me a hint on how to solve that problem? I have read the Richard Grimes' book but found nothing. I read it again and again wo any success. Thanks, Bruno

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

      No one??

      K 1 Reply Last reply
      0
      • K Krouer

        No one??

        K Offline
        K Offline
        Krouer
        wrote on last edited by
        #3

        I got it. The name of the LocalService appid entry does not match the service name. I have chnage the IDS_SERVICENAME and ATL use a hardcoded name one time and I miss to change it.

        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