Imports System.DirectoryServices

G

Guest

Hello

I am using web matrix develop a login page through Active Directory but I cannot figure out why it is giving me an error when importing system.directoryServices. Any help will do! thank

Compiler Error Message: BC30466: Namespace or type 'DirectoryServices' for the Imports 'System.DirectoryServices' cannot be found

Line 2: Imports System.Tex
Line 3: Imports System.Collection
Line 4: Imports System.DirectoryService
Line 5:
Line 6: Namespace FormsAut
 
H

Herfried K. Wagner [MVP]

* =?Utf-8?B?S2Vsdmlu?= said:
I am using web matrix develop a login page through Active Directory
but I cannot figure out why it is giving me an error when importing
system.directoryServices. Any help will do! thanks

Did you add a reference to "System.Directoryservices.dll"?
 
K

Ken Tucker [MVP]

Hi,

Add a reference to system.directoryservices.dll to your project. You
have to have reference to directoryservices before you can import it.

Ken
--------------------------------
Kelvin said:
Hello,

I am using web matrix develop a login page through Active Directory but I
cannot figure out why it is giving me an error when importing
system.directoryServices. Any help will do! thanks
Compiler Error Message: BC30466: Namespace or type 'DirectoryServices' for
the Imports 'System.DirectoryServices' cannot be found.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top