Click here to Skip to main content
15,889,216 members
Home / Discussions / ASP.NET
   

ASP.NET

 
GeneralRe: The name '###' does not exist in the current context - error Pin
Richard Deeming5-Nov-13 4:34
mveRichard Deeming5-Nov-13 4:34 
GeneralRe: The name '###' does not exist in the current context - error Pin
miss78611-Nov-13 3:28
miss78611-Nov-13 3:28 
QuestionASP Buttons event not firing Pin
Blikkies3-Nov-13 19:18
professionalBlikkies3-Nov-13 19:18 
AnswerRe: ASP Buttons event not firing Pin
Joshua Omundson4-Nov-13 4:16
Joshua Omundson4-Nov-13 4:16 
GeneralRe: ASP Buttons event not firing Pin
Blikkies4-Nov-13 5:06
professionalBlikkies4-Nov-13 5:06 
GeneralRe: ASP Buttons event not firing Pin
Joshua Omundson5-Nov-13 12:28
Joshua Omundson5-Nov-13 12:28 
GeneralRe: ASP Buttons event not firing Pin
Blikkies5-Nov-13 21:00
professionalBlikkies5-Nov-13 21:00 
QuestionNeeds help for DirectoryEntry.Invoke ("ChangePassword","Old_Pass","New_Pass") method Pin
tiyyob2-Nov-13 0:42
tiyyob2-Nov-13 0:42 
I am trying to change the password of users in Active Directory. My code is given below
------------------------------------------------------------------

DirectoryEntry entry = null;


entry = new DirectoryEntry("LDAP://10.8.128.101:389", "KSUSH\\" + username, password, AuthenticationTypes.Secure);

entry.UsePropertyCache = true;

DirectorySearcher search = new DirectorySearcher(entry);

search.Filter = "(&(objectClass=user)(sAMAccountName=Temp7))";

DirectoryEntry entryUser = search.FindOne().GetDirectoryEntry();

entryUser.Invoke("ChangePassword", Old_Password, New_Password);

entry.CommitChanges();
----------------------------------------------------------------

When it execute the entryUser.Invoke line. it gives me the error given below

Configuration information could not be read from the domain controller, either because the machine is unavailable, or access has been denied. (Exception from HRESULT: 0x80070547)

Please advice
tiyyob

Questionpc-phone,mobile dialer Pin
kalaiselvansurya2-Nov-13 0:14
kalaiselvansurya2-Nov-13 0:14 
AnswerRe: pc-phone,mobile dialer Pin
Mycroft Holmes2-Nov-13 1:10
professionalMycroft Holmes2-Nov-13 1:10 
QuestionDelegate Pin
Member 103756361-Nov-13 21:42
Member 103756361-Nov-13 21:42 
AnswerRe: Delegate Pin
Richard MacCutchan1-Nov-13 23:49
mveRichard MacCutchan1-Nov-13 23:49 
AnswerRe: Delegate Pin
Bernhard Hiller4-Nov-13 3:13
Bernhard Hiller4-Nov-13 3:13 
QuestionMVC4 Ajax call does not reach controller method Pin
MYSHKSL1-Nov-13 10:46
MYSHKSL1-Nov-13 10:46 
SuggestionRe: MVC4 Ajax call does not reach controller method Pin
Richard Deeming1-Nov-13 10:50
mveRichard Deeming1-Nov-13 10:50 
AnswerRe: MVC4 Ajax call does not reach controller method Pin
Pratik Bhuva1-Nov-13 22:29
professionalPratik Bhuva1-Nov-13 22:29 
QuestionHow to rebind more three RadGrid after close the RadWindow Pin
Rahul_Pandit1-Nov-13 2:08
Rahul_Pandit1-Nov-13 2:08 
SuggestionRe: How to rebind more three RadGrid after close the RadWindow Pin
Richard Deeming1-Nov-13 3:06
mveRichard Deeming1-Nov-13 3:06 
QuestionReturn value of variable from Stored Procedure to BC layer Pin
Uma Sengoden31-Oct-13 8:10
Uma Sengoden31-Oct-13 8:10 
QuestionRe: Return value of variable from Stored Procedure to BC layer Pin
Richard MacCutchan31-Oct-13 15:14
mveRichard MacCutchan31-Oct-13 15:14 
AnswerRe: Return value of variable from Stored Procedure to BC layer Pin
Pratik Bhuva1-Nov-13 22:32
professionalPratik Bhuva1-Nov-13 22:32 
Questionwhat do you think of iron speed designer? Pin
Valery Possoz31-Oct-13 1:00
professionalValery Possoz31-Oct-13 1:00 
QuestionCan you help me in this token? if(this._Item==null){ this._Item = new List<Cart>(); this._dateCreate = DateTime.Now; } }.I do not understand it and why use Pin
Danh Le29-Oct-13 18:18
Danh Le29-Oct-13 18:18 
AnswerRe: Can you help me in this token? if(this._Item==null){ this._Item = new List<Cart>(); this._dateCreate = DateTime.Now; } }.I do not understand it and why Pin
Joshua Omundson30-Oct-13 4:01
Joshua Omundson30-Oct-13 4:01 
AnswerRe: Can you help me in this token? if(this._Item==null){ this._Item = new List<Cart>(); this._dateCreate = DateTime.Now; } }.I do not understand it and why Pin
Richard MacCutchan30-Oct-13 7:03
mveRichard MacCutchan30-Oct-13 7:03 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.