M
Marco Widjojo
I was successful to add a new user to active directory.
However, the set password is failed in the server.
I ran adding user to AD in my local machine and it worked
perfectly.But, when I try it in our server it failed. The
actual coding of adding the user is successful, however
when invoking password is failed.
Thus in the server, the user is added but not the password
My local machine and the server have .Net framework1.1.
My local machine Windows XP and server, WIndows 2000
advanced server
Below is my code(C#) to set a password for a new user.
object obRet = dsUser.Invoke("SetPassword", new object[]
{txtPwd.Text});
dsUser.CommitChanges();
The server gives me(NOT my local mchine):
"Exception has been thrown by the target of an invocation"
and I don't understand what is that mean?
Any help would be greatly appreciated?
Please
However, the set password is failed in the server.
I ran adding user to AD in my local machine and it worked
perfectly.But, when I try it in our server it failed. The
actual coding of adding the user is successful, however
when invoking password is failed.
Thus in the server, the user is added but not the password
My local machine and the server have .Net framework1.1.
My local machine Windows XP and server, WIndows 2000
advanced server
Below is my code(C#) to set a password for a new user.
object obRet = dsUser.Invoke("SetPassword", new object[]
{txtPwd.Text});
dsUser.CommitChanges();
The server gives me(NOT my local mchine):
"Exception has been thrown by the target of an invocation"
and I don't understand what is that mean?
Any help would be greatly appreciated?
Please