BC30002: Type 'DirectoryEntry' is not defined.

  • Thread starter Thread starter Guest
  • Start date Start date
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
 
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?
 
Back
Top