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. The Lounge
  3. DCOM access denied

DCOM access denied

Scheduled Pinned Locked Moved The Lounge
helpsysadminquestion
5 Posts 3 Posters 1 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.
  • A Offline
    A Offline
    Ali Issa
    wrote on last edited by
    #1

    has any body had this error from a machine that has the dcome server when trying to connect to remotely from a client?? Access denied attempting to launch a DCOM Server. The server is: xxx. where xxx is my dcome server. if you have had this problem how did you get rid of it?? Cheers :confused:

    J N 2 Replies Last reply
    0
    • A Ali Issa

      has any body had this error from a machine that has the dcome server when trying to connect to remotely from a client?? Access denied attempting to launch a DCOM Server. The server is: xxx. where xxx is my dcome server. if you have had this problem how did you get rid of it?? Cheers :confused:

      J Offline
      J Offline
      John Fisher
      wrote on last edited by
      #2

      This is probably a security settings issue. Did you write the server and the client? Of so, there is some code you could add in order to fix this. Otherwise, just run DCOMCNFG.exe on the server computer, and set the object's security for launch and access to something that will fit your security requirements while letting the client access the server. (You may also need to change the identity settings to "Interactive User". Playing with the connection level may also help, but isn't ususally needed.) John

      A 1 Reply Last reply
      0
      • J John Fisher

        This is probably a security settings issue. Did you write the server and the client? Of so, there is some code you could add in order to fix this. Otherwise, just run DCOMCNFG.exe on the server computer, and set the object's security for launch and access to something that will fit your security requirements while letting the client access the server. (You may also need to change the identity settings to "Interactive User". Playing with the connection level may also help, but isn't ususally needed.) John

        A Offline
        A Offline
        Ali Issa
        wrote on last edited by
        #3

        The server doesn't have UI the client creates an object of it and uses it which in itself a com server, from what i've read in tech net you can't set the identity to interactive if the server doesn't have an interface!! i have checked the access and launch permissions .. as you said :confused:

        J 1 Reply Last reply
        0
        • A Ali Issa

          The server doesn't have UI the client creates an object of it and uses it which in itself a com server, from what i've read in tech net you can't set the identity to interactive if the server doesn't have an interface!! i have checked the access and launch permissions .. as you said :confused:

          J Offline
          J Offline
          John Fisher
          wrote on last edited by
          #4

          Are you referring the the server machine interface (if your DCOM server runs as a service), or a UI for the DCOM server process? If you are referring only to the DCOM server process, UI issues are irrelevant to the interactive user identity. In fact, it was something one of our UI-less DCOM server programs needed. I don't think that the interactive user switch will fix your access denied problem, though. Where is it failing? Is it at CreateInstance? Is it when you try to create a connection point (if you do)? John

          1 Reply Last reply
          0
          • A Ali Issa

            has any body had this error from a machine that has the dcome server when trying to connect to remotely from a client?? Access denied attempting to launch a DCOM Server. The server is: xxx. where xxx is my dcome server. if you have had this problem how did you get rid of it?? Cheers :confused:

            N Offline
            N Offline
            Nick Carruthers
            wrote on last edited by
            #5

            I've run into this problem many times. I know it's a hack, but try this. Create an account on each machine, both with the same name and password, and preferably administrator rights (NOT domain accounts). Reference: COM Security FAQ from MSDN. Hope this helps. Nick Carruthers

            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