1
Vote

The password change operation failed. The server could not be contacted.

description

WheneverI try to change a user password I get the error: The server could not be contacted. I checked connectivity with my domain controllers, performed succesful ldap binds, nslookups and no problems came up. Any ideas?

comments

fargodave wrote Jul 21, 2015 at 12:52 AM

Same issue here, however my server is not part of the domain, I am trying to push this through a firewall. I've opened ports 464, 88, 135 & 389 but still no response. I believe in my case I need to hard code a Domain. In my Source Code I've updated var principalContext = new PrincipalContext(ContextType.Domain, "MyDomain.com");
But I believe that just allows you to send a domain. Not sure how to force that connection.