Hey all,

I used NWDirAuthClass.Login(string FullName, string Password) to try to login eDirectory and it always failed with message:
System.Runtime.InteropServices.COMException (0x8004889A): Not able to resolve the DN.
at NWDirAuthLib.NWDirAuthClass.Login(String FullName, String Password)

While in console mode, it can success. Did anyone can provide any help, please? Thanks.

We have already register the Interop.NWDirAuthLib.dll & Interop.NWDirLib.dll by regsvr32 and we call the API by C# with code bellow:

Code:
NWDirAuth auth = new NWDirAuthClass();
return auth.Login(fullName, pwd);
Thanks
-Justin