Last post Jan 20, 2010 10:04 AM by rishi23
Jan 17, 2010 12:11 AM|rishi23|LINK
Hi can anyone please help me solve this issue:
I am using the DirectoryENtry.Invoke("changePassword",obj) to reset the windows user credentials and had been running into the following error:
b - Unknown name. (Exception from HRESULT: 0x80020006 (DISP_E_UNKNOWNNAME))
at System.DirectoryServices.DirectoryEntry.Invoke(String methodName, Object args)
I had been trying a lot to solve it can anyone please guide the right way.
Jan 17, 2010 02:32 AM|amanbhullar|LINK
check the thread
Jan 17, 2010 10:39 AM|rishi23|LINK
Thanks for the reply but it doesn't seem to be related to what I am asking.
The problem with mine is with the invoke("ChangePassword") method it isn't being called. The same method worked fine when I ran on My local system but it is not working on the server, further I used a InvokeGet() else where and it is working fine.
Jan 17, 2010 11:27 AM|D Kethireddy|LINK
I suspect, that on server on IIS server it might be running under account that does not have enough privilege. On your local you might be admin.
Jan 20, 2010 10:04 AM|rishi23|LINK
Sorry I was using the method on an empty DE. My bad should have put in proper error handling