I have a page where I am calling the directory service name space using the following
<%@ import Namespace="System.DirectoryServices" %>
then I have this in my page
Dim objDE As New DirectoryServices.DirectoryEntry(CStr(Application("LDAP://CN=Users,DC=mydomain,DC=com")))
I am getting the following error.
Compiler Error Message: BC30002: Type 'DirectoryServices.DirectoryEntry' is not defined.
How can I get around this?