BC30002: Type 'DirectoryEntry' is not defined.

G

Guest

Hi,

I am trying to use System.DirectoryServices for quering Active Directory, I
am getting the following error

Compiler Error Message: BC30002: Type 'DirectoryEntry' is not defined.

Why I am getting this error ?

Any Help will be appriciated.

Thanks
 
J

Jon Skeet [C# MVP]

I am trying to use System.DirectoryServices for quering Active Directory, I
am getting the following error

Compiler Error Message: BC30002: Type 'DirectoryEntry' is not defined.

Why I am getting this error ?

Any Help will be appriciated.

Do you have the correct Imports statement?
Do you have the correct assembly reference?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top