ResetPassword Requiring passwordAnswer
am 01.04.2008 04:25:01 von vpeppers
I have a site that is using membership as provided with ASP.NET. I have a
page to reset the password, that is only available to the site administrator.
I have RequireQuestionandAnswer set to false.
web.config entries
enablePasswordRetrieval="false" enablePasswordReset="true"
requiresUniqueEmail="false" requiresQuestionAndAnswer="false"
maxInvalidPasswordAttempts="5" passwordFormat="Hashed" applicationName="/"
name="SQLProvider" type="System.Web.Security.SqlMembershipProvider"/>
VB Code
labelReset.Text = "Password for " & ddUsers.Text & vbCrLf & "has been
changed to " & User.ResetPassword()
Whenever I run the site, and try to reset a password, I get an error that
the passwordAnswer can't be null. How do I fix this?
RE: ResetPassword Requiring passwordAnswer
am 01.04.2008 10:48:39 von stcheng
Hi vpeppers,
Regarding on this issue, I've found your another cross thread in the same
newsgroup. I've replied you there and provide some suggestion. Welcome to
continue followup there if you have any further questions.
Sincerely,
Steven Cheng
Microsoft MSDN Online Support Lead
Delighting our customers is our #1 priority. We welcome your comments and
suggestions about how we can improve the support we provide to you. Please
feel free to let my manager know what you think of the level of service
provided. You can send feedback directly to my manager at:
msdnmg@microsoft.com.
==================================================
Get notification to my posts through email? Please refer to
http://msdn.microsoft.com/subscriptions/managednewsgroups/de fault.aspx#notif
ications.
==================================================
This posting is provided "AS IS" with no warranties, and confers no rights.
--------------------
>From: =?Utf-8?B?VmVybm9uIFBlcHBlcnM=?=
>Subject: ResetPassword Requiring passwordAnswer
>Date: Mon, 31 Mar 2008 19:25:01 -0700
>
>I have a site that is using membership as provided with ASP.NET. I have a
>page to reset the password, that is only available to the site
administrator.
> I have RequireQuestionandAnswer set to false.
>
>web.config entries
>
>
>
>
>
>
>
>
>enablePasswordRetrieval="false" enablePasswordReset="true"
>requiresUniqueEmail="false" requiresQuestionAndAnswer="false"
>maxInvalidPasswordAttempts="5" passwordFormat="Hashed" applicationName="/"
>name="SQLProvider" type="System.Web.Security.SqlMembershipProvider"/>
>
>
>
>VB Code
>labelReset.Text = "Password for " & ddUsers.Text & vbCrLf & "has been
>changed to " & User.ResetPassword()
>
>Whenever I run the site, and try to reset a password, I get an error that
>the passwordAnswer can't be null. How do I fix this?
>
>