I am trying to use Microsoft dot Net (C#) to connect to my company directory services. Found a freeware tool "Softerra LDAP Browser" that I can use to connect with no problem. When I try to connect from my Web program using Microsoft "DirectoryServices", however, I am always getting error messages like "The parameter is incorrect" and "Unspecified error". Think that the problem has to do with the fact that in ASP.Net I am using the Internet Guest Account (USR_*) instead of my own account, and this account does not have authentication to the LDAP server. Trying to get around this problem by using my account for authentication, but have not had any luck so far. Also I am worried that my access might be blocked somehow but IT policies on my personal computer which has their version of Windows. Have run into this problem in the past where something that works on my server does not work on my PC. Problem is I do not have my new server yet.
If any of this makes sense to you I would really appreciate any help you might give me.