473,405 Members | 2,167 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,405 software developers and data experts.

BC30002: Type 'DirectoryEntry' is not defined.

B R
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

Jul 21 '05 #1
1 6489
<=?Utf-8?B?QiBS?= <B R@discussions.microsoft.com>> wrote:
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?

--
Jon Skeet - <sk***@pobox.com>
http://www.pobox.com/~skeet
If replying to the group, please do not mail me too
Jul 21 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: Jim Hansen | last post by:
I re-installed Framework and now I am getting this error ClassBrowser. Most other page work just fine. Additionally, the debugger will not start from Visual Studio 2003.. Compilation Error...
0
by: Nuve | last post by:
I followed the instructions on the Microsoft article (http://support.microsoft.com/default.aspx?scid=kb;en- us;326340) on HOW TO: Authenticate against the Active Directory by Using Forms...
0
by: ADE | last post by:
Hi, I am compiling my ASP.NET /VB.NET code without any errors But on running the .aspx file on the browser i m getting an error like BC30002 type <classname> not defined.I am getting a similar...
2
by: Jason Callas | last post by:
I have a simple class written in vb.net: 'SongsDb.vb Imports System.Configuration Imports System.Data Imports Microsoft.Data.Odbc Namespace AquehongaPortal Public Class SongsDb Public...
7
by: CJM | last post by:
I'm finally taking my first few steps with ASP.NET, and I'm just workign my way through some of the basics. As a vehicle for my learning, I'm re-writing a simple report page for on of my ASP...
1
by: B R | last post by:
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...
7
by: Martin Robins | last post by:
I am currently looking to be able to read information from Active Directory into a data warehouse using a C# solution. I have been able to access the active directory, and I have been able to return...
4
by: Gina | last post by:
I get this error: BC30002: Type 'Intranet.dsScreenShow' is not defined. My page works on my machine but when put on the server I get the above error. Any ideas why? PS Intranet is my namspace....
0
by: =?Utf-8?B?amFzbGVndW1l?= | last post by:
The error Compiler Error Message: BC30002: Type 'CUNAMutual.CorporateComponents.PageTemplate' is not defined. I have some corporate components that are used as styles for page uniformity. ...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.