Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > Compiler Error Message: BC30002: Type 'LdapAuthentication' is not defined

Thread Tools

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

Nuve Nai
Posts: n/a
I followed the instructions on the Microsoft article
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
Line 21: Dim adAuth as LdapAuthentication = new
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?

Reply With Quote

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Compiler error dependent name is not a type prefix with 'typename' toindicate a type Sanil C++ 2 12-14-2007 09:14 AM
Compiler error: Type not defined inspite of available class =?Utf-8?B?SmF5?= ASP .Net 1 01-26-2006 08:12 AM
#if (defined(__STDC__) && !defined(NO_PROTOTYPE)) || defined(__cplusplus) Oodini C Programming 1 09-27-2005 07:58 PM
Compiler Error Message: BC30002: Type 'LdapAuthentication' is not defined Nuve ASP .Net 0 10-22-2003 08:27 PM
'NODE' is used as a type, but has not been defined as a type Kabeer C++ 6 08-21-2003 03:54 PM