Compiler Error Message: BC30002: Type 'LdapAuthentication' is not defined
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.
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?
|All times are GMT. The time now is 10:37 AM.|
Powered by vBulletin®. Copyright ©2000 - 2013, vBulletin Solutions, Inc.
SEO by vBSEO ©2010, Crawlability, Inc.