I am going to attempted to create a WebApp for Schools that will alow Domain Admins to administer users fromanywhere in the school build. I am going to use Visual Studio 2010 to build the application. I have come accoss a snag when attempting to build my
first test page, I can't import the System.DirectoryService Namespace into the application. I get an error saying it Doesn't exsist in Namespace system. Has the System.DirectorySercies move or do I need to install something on my computer first. I haven't
used LDAP in this way before but have used it in other application that have it built in but where I have to write the quaries.
Any help would be usefull.
Regards
Thomas Park
Programming in ASPX and C# build Application on Microsoft .NET Framework 4.0 for Small Business and Education
In the Solution Explorer you go to References and make sure you have System.DirectoryServices included there If you don't see it in the .net class library, that is odd. You can try browsing for it. [C:\Windows\Microsoft.Net\Framework\version\....dll ] something
like that. If you still can't find it, try reinstalling .NET framework.
tparky
Member
112 Points
131 Posts
How to use LDAP in Visual Studio 2010
Sep 23, 2011 06:23 PM|LINK
Hi Guys,
I am going to attempted to create a WebApp for Schools that will alow Domain Admins to administer users fromanywhere in the school build. I am going to use Visual Studio 2010 to build the application. I have come accoss a snag when attempting to build my first test page, I can't import the System.DirectoryService Namespace into the application. I get an error saying it Doesn't exsist in Namespace system. Has the System.DirectorySercies move or do I need to install something on my computer first. I haven't used LDAP in this way before but have used it in other application that have it built in but where I have to write the quaries.
Any help would be usefull.
Thomas Park
Programming in ASPX and C# build Application on Microsoft .NET Framework 4.0 for Small Business and Education
shabirhakim1
Star
13528 Points
2151 Posts
Re: How to use LDAP in Visual Studio 2010
Sep 23, 2011 06:36 PM|LINK
Hi,
In the Solution Explorer you go to References and make sure you have System.DirectoryServices included there If you don't see it in the .net class library, that is odd. You can try browsing for it. [C:\Windows\Microsoft.Net\Framework\version\....dll ] something like that. If you still can't find it, try reinstalling .NET framework.