SetPassword fails in not-trusted domains

Topics: Developer Forum
Developer
Feb 12, 2007 at 1:02 AM
I am not able to reset user password when connected to a domain using non-default credentials. The following exception is thrown:
System.IO.FileNotFoundException: The filename, directory name, or volume label syntax is incorrect. (Exception from HRESULT: 0x8007007B)
I am able to reset the password from ADSI edit, so it is clear it's me doing something wrong. I use the Secure AuthenticationType. Any ideas?