Products

Solutions

Resources

Partners

Community

Blog

About

QA

Ideas Test

New Community Website

Ordinarily, you'd be at the right spot, but we've recently launched a brand new community website... For the community, by the community.

Yay... Take Me to the Community!

Welcome to the DNN Community Forums, your preferred source of online community support for all things related to DNN.
In order to participate you must be a registered DNNizen

HomeHomeUsing DNN Platf...Using DNN Platf...Administration ...Administration ...Resetting password does not workResetting password does not work
Previous
 
Next
New Post
1/6/2015 7:50 AM
 

When a user requests to reset his/her password an email is being sent to his/her email address containing a link. When the user navigates to that link to change the password the following message is being displayed:

There was an error setting the password. The password has not been changed.

Under Host/Membership Management we have Enable password history - disabled. 

In our web.config we have the following settings:

      <providers>

        <clear />

        <!-- Configuration for AspNetSqlMembershipProvider:

                connectionStringName="string"               Name corresponding to the entry in <connectionStrings> section where the connection string for the provider is specified

                maxInvalidPasswordAttempts="int"            The number of failed password attempts, or failed password answer attempts that are allowed before locking out a user?s account

                passwordAttemptWindow="int"                 The time window, in minutes, during which failed password attempts and failed password answer attempts are tracked

                enablePasswordRetrieval="true]"      Should the provider support password retrievals

                enablePasswordReset="[true|false]"          Should the provider support password resets

                requiresQuestionAndAnswer="[true|false]"    Should the provider require Q & A

                minRequiredPasswordLength="int"        The minimum password length

                minRequiredNonalphanumericCharacters="int"  The minimum number of non-alphanumeric characters

                applicationName="string"                    Optional string to identity the application: defaults to Application Metabase path

                requiresUniqueEmail="true"          Should the provider require a unique email to be specified

                passwordFormat="[Clear|Hashed|Encrypted]"   Storage format for the password: Hashed (SHA1), Clear or Encrypted (Triple-DES)

                description="string"                        Description of what the provider does

                -->

        <add name="AspNetSqlMembershipProvider" type="System.Web.Security.SqlMembershipProvider" connectionStringName="SiteSqlServer" enablePasswordRetrieval="true" enablePasswordReset="true" requiresQuestionAndAnswer="false" minRequiredPasswordLength="7" minRequiredNonalphanumericCharacters="0" requiresUniqueEmail="false" passwordFormat="Encrypted" applicationName="DotNetNuke" description="Stores and retrieves membership data from the local Microsoft SQL Server database" />

      </providers>

Is there anything else that needs to be changed to enable this feature? We are using DNN 734. 

Thanks


 
New Post
1/6/2015 9:15 AM
 
typically that means that the password does not meet the complexity requirements e.g. minimum of 7 characters and not the same as the username

Buy the new Professional DNN7: Open Source .NET CMS Platform book Amazon US
 
New Post
1/6/2015 9:58 AM
 
Hi Cathal, we do use a qualified password such as "abcdefg12"
From the logfile I got the following exception once I tried to reset the password:

2015-01-06 14:56:59,779 [id19903][Thread:13][FATAL] DotNetNuke.Framework.PageBase - An error has occurred while loading page.
System.FormatException: Unrecognized Guid format.
at System.Guid.GuidResult.SetFailure(ParseFailureKind failure, String failureMessageID, Object failureMessageFormatArgument, String failureArgumentName, Exception innerException)
at System.Guid.TryParseGuid(String g, GuidStyles flags, GuidResult& result)
at System.Guid..ctor(String g)
at DotNetNuke.Entities.Users.UserController.ChangePasswordByToken(Int32 portalid, String username, String newPassword, String resetToken)
at DotNetNuke.Modules.Admin.Security.PasswordReset.cmdChangePassword_Click(Object sender, EventArgs e)
at System.Web.UI.WebControls.LinkButton.OnClick(EventArgs e)
at System.Web.UI.WebControls.LinkButton.RaisePostBackEvent(String eventArgument)
at System.Web.UI.WebControls.LinkButton.System.Web.UI.IPostBackEventHandler.RaisePostBackEvent(String eventArgument)
at System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument)
at System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData)
at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
2015-01-06 14:56:59,801 [id19903][Thread:13][ERROR] DotNetNuke.Services.Exceptions.Exceptions - ~/Default.aspx?tabid=756&error=An unexpected error has occurred
System.FormatException: Unrecognized Guid format.
at System.Guid.GuidResult.SetFailure(ParseFailureKind failure, String failureMessageID, Object failureMessageFormatArgument, String failureArgumentName, Exception innerException)
at System.Guid.TryParseGuid(String g, GuidStyles flags, GuidResult& result)
at System.Guid..ctor(String g)
at DotNetNuke.Entities.Users.UserController.ChangePasswordByToken(Int32 portalid, String username, String newPassword, String resetToken)
at DotNetNuke.Modules.Admin.Security.PasswordReset.cmdChangePassword_Click(Object sender, EventArgs e)
at System.Web.UI.WebControls.LinkButton.OnClick(EventArgs e)
at System.Web.UI.WebControls.LinkButton.RaisePostBackEvent(String eventArgument)
at System.Web.UI.WebControls.LinkButton.System.Web.UI.IPostBackEventHandler.RaisePostBackEvent(String eventArgument)
at System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument)
at System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData)
at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)

Any ideas?
 
New Post
1/7/2015 3:07 PM
 
that suggests the link is missing the GUID - can you paste a copy of the link that comes in the reset mail please

Buy the new Professional DNN7: Open Source .NET CMS Platform book Amazon US
 
New Post
1/8/2015 5:22 AM
 
Cathal, the reset link URL is the following:
/default.aspx?ctl=PasswordReset&resetToken=bb3a160a-f639-42c7-870b-24842700032c
 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Administration ...Administration ...Resetting password does not workResetting password does not work


These Forums are dedicated to discussion of DNN Platform and Evoq Solutions.

For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:

  1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DNN.
  2. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  3. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  4. No Flaming or Trolling.
  5. No Profanity, Racism, or Prejudice.
  6. Site Moderators have the final word on approving / removing a thread or post or comment.
  7. English language posting only, please.
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out