I have an application which I have added all the required configurations to the Active Directory but when I try to log in it prompts me that the credentials are wrong.
When I check in the Active Directory, the user name and password that I would have used is there.
I log in using the username@domain according to my AD configurations.
Could you please help me if I may be leaving out something either at the active directory or in my web.config
these are the configurations I amde in the web.config:
Mahesh ChandPosted Nov 23, 2008, 11:51 AM
I would put a try...catch statement around your Active Directory connection code and see what is the exact error. Something like this. It will give you an error if your login is working fine or
try
{
// Your active directory code
}
catch (Exeption exp)
{
string str = exp.Message;
}