Click here to Skip to main content
15,891,951 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
when i am try to change password to an active directory user using the following code i am getting the the exception


//string OldPassword, string NewPassword)

try
{
entry.Invoke("ChangePassword", object[] password);
entry.CommitChanges();
}


Configuration information could not be read from the domain controller, either because the machine is unavailable, or access has been denied
Posted

1 solution

There's a list of exceptions that can be thrown in the documentation[^], including their reasons. I suggest you also read the notes below the exceptions, as this would require a specific set-up.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900