B
Ben
Hi,
i try to get the password of the membershipuser that is just created in
ASPNETDB.MDF (i checked it) with CreateUserWizard.
I tried with "Clear" and with "Encrypted" (with generating a machinekey)
passwordFormat.
The property enablePasswordRetrieval="true".
The CreateUserWizard page redirects to the pw.aspx page which contains in
code-behind this code:
Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs)
Handles Me.Load
If User.Identity.IsAuthenticated Then
Dim pw As String
pw = Membership.GetUser.GetPassword.ToString
End If
End Sub
This produces following error for both "Clear" and "Encrypted"
passwordFormat at line:
' pw = Membership.GetUser.GetPassword.ToString'
"Value cannot be null.
Parameter name: passwordAnswer "
Thanks for help
Ben
i try to get the password of the membershipuser that is just created in
ASPNETDB.MDF (i checked it) with CreateUserWizard.
I tried with "Clear" and with "Encrypted" (with generating a machinekey)
passwordFormat.
The property enablePasswordRetrieval="true".
The CreateUserWizard page redirects to the pw.aspx page which contains in
code-behind this code:
Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs)
Handles Me.Load
If User.Identity.IsAuthenticated Then
Dim pw As String
pw = Membership.GetUser.GetPassword.ToString
End If
End Sub
This produces following error for both "Clear" and "Encrypted"
passwordFormat at line:
' pw = Membership.GetUser.GetPassword.ToString'
"Value cannot be null.
Parameter name: passwordAnswer "
Thanks for help
Ben