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: The server has rejected your login. Please verify that your userna
    ... messages telling me that "The server has rejected your login. ... start windows Mail, I can get new mail, send mail, delete mail... ... Here's my exact error message track: ... Windows Mail with my Gmail account today and I'm running into the same issue ...
    (microsoft.public.windows.vista.mail)
  • 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: This keeps popping up when I open Windows Mail....
    ... Then click on Digital IDs. ... If no improvement, delete that mail account, restart Windows Mail, ... now i get the error message, if i delete the acct and just use the1princess ... the server you are connected to is using a security certificate that could ...
    (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: Set up on Mail not working
    ... Go to Tools, Accounts, select that mail account, Properties, Servers. ... Account: 'Windows Mail ', Server: 'pop.gmail.com', Protocol: ... Secure: Yes, Server Error: 0x800CCC90, Error Number: 0x800CCC18 ... right-click on your error message, copy, then paste it into a reply ...
    (microsoft.public.windows.vista.mail)