472,127 Members | 1,763 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 472,127 software developers and data experts.

Imports System.DirectoryServices

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
Nov 20 '05 #1
2 5106
* =?Utf-8?B?S2Vsdmlu?= <an*******@discussions.microsoft.com> scripsit:
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"?

--
Herfried K. Wagner [MVP]
<http://www.mvps.org/dotnet>
Nov 20 '05 #2
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" <an*******@discussions.microsoft.com> wrote in message
news:B9**********************************@microsof t.com...
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.
Line 2: Imports System.Text
Line 3: Imports System.Collections
Line 4: Imports System.DirectoryServices
Line 5:
Line 6: Namespace FormsAuth

Nov 20 '05 #3

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

reply views Thread by Chris Frohlich | last post: by
2 posts views Thread by sck10 | last post: by
7 posts views Thread by =?Utf-8?B?SmVycnkgQw==?= | last post: by

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.