By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
446,190 Members | 814 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 446,190 IT Pros & Developers. It's quick & easy.

Imports System.DirectoryServices

P: n/a
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
Share this Question
Share on Google+
2 Replies


P: n/a
* =?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

P: n/a
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.