Google Analytics İzleme

05 Ağustos 2011

.net ile Active Directory'de işlem yaparken oluşan hata - Logon failure: unknown user name or bad password

Bu hatanın sebebi şunlar olabilir:

Some times while connecting to active directory you may get the error (Logon failure: unknown user name or bad password) which i have faced many times.

This error comes because of many reasons:
1. The username/password is incorrect.

2. You dont have access to the active directory domain.

3. Third and most important which i observed while connecting to active directory through any windows application is that you haven't passed fully qualified name. e.g.
if you domain name of active directory is abc.com and username(say 'ashish') then you haven't provided it as ashish@abc.com.

So for this just pass the user name as ashish@abc.com . It'll work
 

Kaynak:


Hiç yorum yok: