Thanks for Brock's informative suggestion,
Hi Sck10,
The problem you mentioned is caused by the System.DirectoryServices
namespace is in the System.DirectoryServices.dll assembly which is not
referenced by default in .net application. You can use the Project--->Add
Reference to add that assembly's reference into your application or
directly modify your web.config as Brock has suggested (since ASP.NET2.0
web application is projectless, all the assembly references are configured
in web.config).
Hope helps. Thanks,
Steven Cheng
Microsoft Online Support
Get Secure!
www.microsoft.com/security
(This posting is provided "AS IS", with no warranties, and confers no
rights.)