While using the asp:ChangePassword control within a SharePoint application page I was getting the following exception.
Exception of type 'System.ArgumentException' was thrown.Parameter name: encodedValue
Using Fiddler I tracked this error down to the .ASPXAUTH cookie. Setting this cookie back to null fixed this issue for me.
- Call code behind method onChangedPassword
<asp:ChangePassword ID="cpUser" |
2. Clear .ASPXAUTH cookie
protected void cpUser_PasswordChanged(object sender, EventArgs e){ |
No comments:
Post a Comment