Unable to use System.DirectoryServices
Hi all,
I am trying to create a .NET app to administer IIS 5.0 and am trying to use the System.DirectoryServices namespace. I see lots of tutorials on the web but the main problem that I'm having is that I always get the following error:
Compiler Error Message: BC30466: Namespace or type 'DirectoryServices' for the Imports 'System.DirectoryServices' cannot be found.
The only way that I can get this namespace to work is to copy the System.DirectoryServices.dll file and place it inside a /bin folder inside the app. Is this really necessary? Is there anything else that needs to be done on the server end (permissions, anything) so that the namespace can be normally called just like the other namespaces??
Many thanks,
Marlon
|