473,395 Members | 1,452 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,395 software developers and data experts.

Compiler Error Message: BC30002: Type 'LdapAuthentication' is not defined

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 Authentication and Visual
Basic .NET. After completing and running the page I get
the following error message on the Logon.aspx file:

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

Source Error:
Line 19: sub Login_Click(sender as object,e as EventArgs)
Line 20: Dim adPath as String
= "LDAP://DC=dec,DC=com" 'Path to your LDAP directory
server
Line 21: Dim adAuth as LdapAuthentication = new
LdapAuthentication(adPath)
Line 22: try
Line 23: if(true = adAuth.IsAuthenticated
(txtDomain.Text, txtUsername.Text, txtPassword.Text)) then
Anyone have any idea of how to fix this?
Thanks
nuve
..
Nov 17 '05 #1
0 1443

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

Similar topics

3
by: Chris Peacock | last post by:
Using Visual Studio .NET 2003, I'm intermittently getting the VB.NET error BC30002 ("Type ... is not defined.") when I build a particular assembly that I have written. This error does not occur every...
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: SomSallyX | last post by:
Hi I'm new to .Net; I tried a program to check for the internet connection. but when i tried to compile the code i got the following error error BC30002: Type 'WebResponse' is not defined....
1
by: Shadow Lynx | last post by:
If this is not the most appropriate group for this question, please let me know. I noticed an odd priority difference in resolving names in VS 2005 (VWD Express) vs. the .NET 2.0 compiler (the...
8
by: Jon Paal | last post by:
Compiler Error Message: BC30002: Type 'System.Management.ManagementObjectCollection' is not defined. Source Error: Imports System.Management .... Line 40: Dim moColl As...
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....
3
by: Jon Paal | last post by:
how do I "define" 'MSXML.XMLHTTPRequest' type ? Compiler Error Message: BC30002: Type 'MSXML.XMLHTTPRequest' is not defined. Source Error: Line 82: Dim XMLReq As New...
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. ...
1
by: JoeP | last post by:
Hi All, I have class named xRep.vb located at the App_Code folder. The below works just fine under the Visual Studio environment, but when running this code from the web server I am getting this...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
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: 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
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
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
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...

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.