Hi,
I am trying to authenticate users against Active Directory using System.Directory Services.Below is the code I am using:
Dim Entry As DirectoryEntry
Dim obj As Object
Dim result As SearchResult
Try
Entry = New DirectoryEntry("LDAP://" & path)
obj = Entry.NativeObject
Catch ex As Exception
MessageBox.Show("The specified location " & Chr(34) & Me.txtLocation.Text & Chr(34) & _
" could not be found. Please ensure that you typed the location correctly." & _
"", "", MessageBoxButtons.OK, MessageBoxIcon.Warning)
Exit Function
End Try
When I say Entry.NativeObject, I am getting an exception which says:
"ActiveDirectory client is not installed on this system."
My operating system is Windows XP Professional and should not need installation of Active Directory client.
Any help will be greatly appreciated.
I am trying to authenticate users against Active Directory using System.Directory Services.Below is the code I am using:
Dim Entry As DirectoryEntry
Dim obj As Object
Dim result As SearchResult
Try
Entry = New DirectoryEntry("LDAP://" & path)
obj = Entry.NativeObject
Catch ex As Exception
MessageBox.Show("The specified location " & Chr(34) & Me.txtLocation.Text & Chr(34) & _
" could not be found. Please ensure that you typed the location correctly." & _
"", "", MessageBoxButtons.OK, MessageBoxIcon.Warning)
Exit Function
End Try
When I say Entry.NativeObject, I am getting an exception which says:
"ActiveDirectory client is not installed on this system."
My operating system is Windows XP Professional and should not need installation of Active Directory client.
Any help will be greatly appreciated.