473,569 Members | 2,601 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Compiler Error Message: BC30002: Type 'LdapAuthentica tion' 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 'LdapAuthentica tion'
is not defined.

Source Error:
Line 19: sub Login_Click(sen der 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 LdapAuthenticat ion = new
LdapAuthenticat ion(adPath)
Line 22: try
Line 23: if(true = adAuth.IsAuthen ticated
(txtDomain.Text , txtUsername.Tex t, txtPassword.Tex t)) then
Anyone have any idea of how to fix this?
Thanks
nuve
Nov 17 '05 #1
0 1845

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

Similar topics

3
291
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 time the assembly is built, and seems more likely to occur when a change has been made in the assembly and it is another dependent assembly that is...
0
382
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 Authentication and Visual Basic .NET. After completing and running the page I get the following error message on the Logon.aspx file: Compiler Error...
2
3346
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. error BC30002: Type 'WebRequest' is not defined. (I compiled the program from command prompt using the switch /r and specified the system.dll and...
1
4158
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 one accessed from within VS). Let me give an example to clarify things. In a test solution, I created two web form pages with codebehinds and a...
8
4061
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 System.Management.ManagementObjectCollection
4
14835
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. Sorry to not be much help - I inherited the page from someone else and it all works except on the server. Thanks!
3
2710
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 MSXML.XMLHTTPRequest
0
1402
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. These components have been installed and are part of the reference on the web site. They are also part of the list on the project properties. I have...
1
2567
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 err: Compiler Error Message: BC30002: Type 'xRep' is not defined. I copied the class even to the same folder of the aspx and the vb page. Dim...
0
7615
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language...
0
8130
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that...
0
7979
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the...
0
6284
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, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then...
1
5514
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 presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes...
0
3653
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in...
0
3643
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
2115
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
1
1223
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.