Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Error: Active Directory Client is not installed on this computer

0 views
Skip to first unread message

EyalS

unread,
Nov 22, 2005, 3:19:44 AM11/22/05
to
Hey,
I'm using .NET2 c# and i get an error while running the following code:

using (DirectoryEntry entry = new DirectoryEntry())
{
string filter =
string.Format("(|(|(mail={0})(proxyAddresses=smtp:{0}))(legacyExchangeDN={0}))",
groupAccountsEmail);
DirectorySearcher search = new DirectorySearcher(entry, filter, new
string[] { "member" });
search.FindAll();
}
the search.FindAll method results in displaying an error message "Active
Directory Client is not installed on this computer".

The server impersonates as a user which has priveleges to access the AD.

Can anyone guide me what is wrong?

Thanks

Eyal


Joe Kaplan (MVP - ADSI)

unread,
Nov 22, 2005, 10:16:11 PM11/22/05
to
What is the OS version? This a weird error to get on anything newer than
Windows 2000.

Joe K.

"EyalS" <eyal...@hotmail.co.il> wrote in message
news:%23yP4xzz...@tk2msftngp13.phx.gbl...

0 new messages