Can't programatically create a Domain group

From: Buddy Robbins (BuddysSpam_at_hotmail.com)
Date: 04/27/05


Date: Wed, 27 Apr 2005 07:55:59 -0600

Folks,
I have a windows 2k3 server (Euclid) that belongs to a w2k active directory
(BudTest is the server, budtest.com is the domain).
The service I wrote in VB.Net to run on Euclid has to create new groups on
budtest.com.

I copied the code from the microsoft web site:
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/adam/adam/creating_groups.asp
The only change I made was to the LDAP address. I was able to do
Children.Find() and get a
response, so I'm pretty sure my LDAP address is right.

When I run it, when the code reaches the objGroup.CommitChanges line, it
throws an exception.
With a little digging, I got "The server is unwilling to process the
request."

My service runs under a domain account. I delegated control of the
appropriat OU to the account, and I even tried adding the account to the
domain administrators. Still nothing.

After google-ing the problem, it seems that the error message is a generic
response from the AD.

I don't suppose anyone can tell me what could be going on that the
off-the-shelf solution would throw errors?

Thanks in advance

Buddy Robbins



Relevant Pages

  • Re: Cant send emails HELP!!!
    ... > Secondly, if AVG is installed using the default install, its mail checking ... > restart Windows Mail and recreate the account. ... > error message, right-click on it, copy, then paste it into a reply here. ... have entered the server name correctly. ...
    (microsoft.public.windows.vista.mail)
  • Re: outlook express 6
    ... With the error message that you are getting it would not have worked ... Either of those can mess with your mail account settings. ... This one says that your account is Not correctly set up in in Outlook ... The server name would not be simply POP3. ...
    (microsoft.public.windows.inetexplorer.ie6_outlookexpress)
  • Re: OE 6 , Takes ages to connect.
    ... Select the account. ... Click the Connection tab. ... DNS Server and Alternate DNS Server: ... > Error Message: ...
    (microsoft.public.windows.inetexplorer.ie6_outlookexpress)
  • Re: cant seem to get iis 6 to work
    ... IWAM is a guest account on your machine set up in order for IIS to ... > account on my server so i tried to make a new user and use that it> doesnt matter which username and password combo i use as every time i> test ... > it does the same thing and the error message produced refernces ...
    (microsoft.public.inetserver.iis)
  • Re: OE6 does not connect with pop3 server
    ... Server times out” error message when you send or receive e-mail.: ... Account: ... >>>> when the connection fails there are zero bytes of information being ...
    (microsoft.public.windows.inetexplorer.ie6_outlookexpress)