Click here to Skip to main content
15,888,008 members
Home / Discussions / ASP.NET
   

ASP.NET

 
AnswerRe: Passing data through hyperlink Pin
Yusuf31-Mar-09 12:23
Yusuf31-Mar-09 12:23 
GeneralRe: Passing data through hyperlink Pin
zy5187593931-Mar-09 17:43
zy5187593931-Mar-09 17:43 
GeneralRe: Passing data through hyperlink Pin
yorockk31-Mar-09 18:49
yorockk31-Mar-09 18:49 
AnswerRe: Passing data through hyperlink Pin
vinodkrebc31-Mar-09 18:32
vinodkrebc31-Mar-09 18:32 
GeneralRe: Passing data through hyperlink Pin
yorockk31-Mar-09 20:43
yorockk31-Mar-09 20:43 
GeneralRe: Passing data through hyperlink Pin
vinodkrebc1-Apr-09 0:53
vinodkrebc1-Apr-09 0:53 
GeneralRe: Passing data through hyperlink Pin
yorockk3-Apr-09 3:22
yorockk3-Apr-09 3:22 
QuestionError retrieving password Pin
Cyberpulse31-Mar-09 8:33
Cyberpulse31-Mar-09 8:33 
Hi,

I have an application in which I am trying to retrieve a user's password. The code is as follows:-



1 MembershipUser resetPass = MyUsers[UserInfo.Rows[e.NewSelectedIndex].Cells[0].Text];
2 string password = resetPass.GetPassword();


However on execution I am hit with the following error:-

This Membership Provider has not been configured to support password retrieval.

I have tried the following steps to resolve this issue but to no avail:-

In the WebConfig in I have modified the <Membership></Membership> tag to reflect the following:-

<membership>
<providers>
<clear/>
<add name=”AspNetSqlMembershipProvider”
connectionStringName=”247Db”
minRequiredPasswordLength=”4″
minRequiredNonalphanumericCharacters=”0″
type=”System.Web.Security.SqlMembershipProvider”
applicationName=”/247App”
enablePasswordRetrieval=”true”
requiresQuestionAndAnswer=”false”
passwordFormat=”Encrypted”
requiresUniqueEmail=”false” />
</providers>
</membership>


I also added a machineKey to support the setup above as follows:-

1 <machineKey validationKey="11D7D8362528F04266ACACDDEA7..."
2 decryptionKey=”4C0…”
3 validation=”SHA1″/>


However, now i get the following error:-

"Hashed passwords cannot be encoded".

I am guessing this is because the passwordFormat property in the web.config was "Hashed" befrore I changed it to Encrypted. Nevertheless, what should I do ?

Thanks
Questionsending email in ASP.NET Pin
Ariful Islam Sabuz31-Mar-09 5:05
Ariful Islam Sabuz31-Mar-09 5:05 
AnswerRe: sending email in ASP.NET Pin
Yusuf31-Mar-09 5:17
Yusuf31-Mar-09 5:17 
AnswerRe: sending email in ASP.NET Pin
Abhijit Jana31-Mar-09 5:21
professionalAbhijit Jana31-Mar-09 5:21 
AnswerRe: sending email in ASP.NET Pin
sheemap31-Mar-09 5:51
sheemap31-Mar-09 5:51 
Questionhow do we implement the themes in the button click event instead of Page_PreInit event Pin
M.Ramesh31-Mar-09 4:27
M.Ramesh31-Mar-09 4:27 
AnswerRe: how do we implement the themes in the button click event instead of Page_PreInit event Pin
Yusuf31-Mar-09 4:54
Yusuf31-Mar-09 4:54 
Questionencrypting passwords and accessing textboxes within a formview Pin
mh.31107831-Mar-09 3:59
mh.31107831-Mar-09 3:59 
Questionto retrieve image from sqlserver and display it in grid view Pin
maheshsahini31-Mar-09 3:27
maheshsahini31-Mar-09 3:27 
AnswerRe: to retrieve image from sqlserver and display it in grid view Pin
Colin Angus Mackay31-Mar-09 3:30
Colin Angus Mackay31-Mar-09 3:30 
GeneralRe: to retrieve image from sqlserver and display it in grid view Pin
maheshsahini31-Mar-09 3:34
maheshsahini31-Mar-09 3:34 
AnswerRe: to retrieve image from sqlserver and display it in grid view Pin
Abhijit Jana31-Mar-09 3:41
professionalAbhijit Jana31-Mar-09 3:41 
GeneralRe: to retrieve image from sqlserver and display it in grid view Pin
maheshsahini31-Mar-09 3:44
maheshsahini31-Mar-09 3:44 
GeneralRe: to retrieve image from sqlserver and display it in grid view Pin
zy5187593931-Mar-09 17:49
zy5187593931-Mar-09 17:49 
AnswerRe: to retrieve image from sqlserver and display it in grid view Pin
Ch.Gayatri Subudhi31-Mar-09 19:42
Ch.Gayatri Subudhi31-Mar-09 19:42 
QuestionConnect to report sever via code Pin
mehrdadc4831-Mar-09 3:26
mehrdadc4831-Mar-09 3:26 
AnswerRe: Connect to report sever via code Pin
Yusuf31-Mar-09 4:57
Yusuf31-Mar-09 4:57 
QuestionNeed Help Pin
Anand Ranjan Pandey31-Mar-09 3:11
professionalAnand Ranjan Pandey31-Mar-09 3:11 

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.