I\'m trying to use System.DirectoryServices in a web site project and I\'m getting this error:
System.DirectoryServices
The type or namespace name \'DirectoryServices
This is a very old thread but just to provide a complete answer for the sake of posterity ;)
This issue occurs if the project is missing a reference to the .Net Component System.DirectoryServices
Adding this reference in the usual manner prefered by you will resolve the issue.