You need to post the code you are using plus the full error message. I
received this type of error while trying to use query AD using
DirectoryServices and the authentication/impersonation settings in my
web.config were set to a system account that didn't have rights.
Want to reply to this thread or ask your own question?
You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.