Is anyone using System.DirectoryServices successfully in an
application on Vista?
Using this amazing article ( http://www.codeproject.com/useritems/everythingInAD.asp
) I've been working on making a program to do various LDAP things.
With preliminary testing, it was working fine on an XP machine
(connecting to a Windows 2003 server), but when I moved the
development over to a Vista machine on our testbed network I started
getting an error with activeds.dll (don't remember exact error, but it
was something along the lines of:
Unable to load DLL 'activeds.dll': A dynamic link library (DLL)
initialization routine failed. (Exception from HRESULT: 0x8007045A)
Except a different code at the end and a different error message which
suggested that it couldn't find activeds.dll.
activeds.dll was in the c:\windows\system32 directory, which was in
the path. I tried copying over the activeds.dll from the XP machine,
but wasn't able to overwrite the real one or otherwise override it.
Using regsvr32, the XP one was able to be registered successfully on
the XP machine, though, while the one there couldn't be registered
successfully.
I've since wiped the machine and put XP on it so I can continue
development, but I need to figure this out ASAP because unfortunately
we're switching over to Vista sooner rather than later. :/ Any ideas?
Anyone else have problems with this?