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 ...Unlock password throws an excepitonUnlock password throws an excepiton
Previous
 
Next
New Post
8/1/2014 3:20 PM
 

Hi,

We are using DotNetNuke software since long time in our live project. We use DotNetNuke 5.6.1 version. Since last couple of month, we noticed that application throws an exception during reset password functionality if user is locked out.

Here is the implemented logic:

1. If user is locked out, call UserController.UnLockUser API
2. Call DataCache.ClearUserCache
3. UserController.GetPassword
4. UserController.ChangePassword

It fails while calling GetPassword and throws exception below:

OUTERMOST EXCEPTION:

 Type = System.Web.Security.MembershipPasswordException

 Message = The user account has been locked out.

 StackTrace =    at System.Web.Security.SqlMembershipProvider.GetPassword(String username, String passwordAnswer)

   at System.Web.Security.MembershipUser.GetPassword()

   at DotNetNuke.Security.Membership.AspNetMembershipProvider.GetPassword(UserInfo user, String passwordAnswer)

   at DotNetNuke.Entities.Users.UserController.GetPassword(UserInfo& user, String passwordAnswer)

Interestingly, when we reset IIS or recycle application pool, it works fine.

Any help would be appreciated.

 

Thanks,
Kumar

 

 
New Post
8/2/2014 8:23 AM
 

Hi,

 

first I moved your thread to the right Forum, about your question or Problem have nothing to do with the DNN Forum module.

You used an old and obsolete Version of DNN.  There will no fixed comming out for it. 

 

For your Problem check if anything of the Windows Server was updated (security fixes Hotfixes, patches).  Check if the Maschine key is still the same as after Installation.  Check if still all Connection strings are set well.  Check Database if you have still mapped with your SQL user Login Name, and the database permissions are correct.  Check if database is on read only mode.

 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Administration ...Administration ...Unlock password throws an excepitonUnlock password throws an excepiton


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.

Content Layout

Subscribe to DNN Digest

Subscribe to DNN Digest

DNN Digest is our monthly email newsletter. It highlights news and content from around the DNN ecosystem, such as new modules and themes, messages from leadership, blog posts and notable tweets. Keep your finger on the pulse of the ecosystem by subscribing.  


Copyright 2017 by DNN Corp Terms of Use Privacy
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out