Walkthrough: Adding Active Directory Objects

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Jack Russell

    #1

    Walkthrough: Adding Active Directory Objects

    I am trying to get the example in this help topic to work

    The only change that I have made is :

    entryPc.Path = "WinNT://" + Environment.Use rDomainName + "/" +
    Environment.Mac hineName
    because I did not know my domain name (which seems to be the same as
    my machine name)

    The program throws an exception on
    For Each child In entryPC.Childre n

    The exception is

    An unhandled exception of type
    'System.Runtime .InteropService s.COMException' occurred in
    system.director yservices.dll

    Additional information: The group name could not be found

    Does this only work for some networks or is the example wrong?/

    Jack Russell
  • Jack Russell

    #2
    Re: Walkthrough: Adding Active Directory Objects

    Its ok I got it to work by taking out the domain name (I am sure that I
    tried that before)



    Jack Russell wrote:[color=blue]
    > I am trying to get the example in this help topic to work
    >
    > The only change that I have made is :
    >
    > entryPc.Path = "WinNT://" + Environment.Use rDomainName + "/" +
    > Environment.Mac hineName
    > because I did not know my domain name (which seems to be the same as
    > my machine name)
    >
    > The program throws an exception on
    > For Each child In entryPC.Childre n
    >
    > The exception is
    >
    > An unhandled exception of type
    > 'System.Runtime .InteropService s.COMException' occurred in
    > system.director yservices.dll
    >
    > Additional information: The group name could not be found
    >
    > Does this only work for some networks or is the example wrong?/
    >
    > Jack Russell[/color]

    Comment

    Working...