Solved

PasswordRecovery not acknowledging user

Posted on 2014-03-28
3
113 Views
Last Modified: 2014-03-29
I'm putting a username into the passwordrecovery control.  I see it's on the aspnet_users and aspnet_membership tables.
However when I press submit I get the UserNameFailureText
I'm using .NET framework 3.5.
0
Comment
Question by:AlHal2
  • 2
3 Comments
 

Author Comment

by:AlHal2
ID: 39961366
I did some more googling and found out the user was locked out.
Should I run this SQL to unlock him?

update aspnet_membership
set islockedOut=0
where userid=@UserID
0
 
LVL 26

Accepted Solution

by:
Alan Warren earned 250 total points
ID: 39963114
Hi AlHal2

Probably better off executing the aspnet_Membership_UnlockUser stored procedure, it does a couple of other things besides toggling the isLockedOut bit
exec aspnet_Membership_UnlockUser 'ApplicationName','UserName'

Open in new window

Respectfully yours,
Alan
0
 

Author Closing Comment

by:AlHal2
ID: 39964274
Thanks
0

Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Summary Displaying images in RichTextBox is a common requirement with limited solutions available. Pasting through clipboard or embedding into RTF content only support static images.  This article describes how to insert Windows control objects int…
This article shows how to deploy dynamic backgrounds to computers depending on the aspect ratio of display
A short tutorial showing how to set up an email signature in Outlook on the Web (previously known as OWA). For free email signatures designs, visit https://www.mail-signatures.com/articles/signature-templates/?sts=6651 If you want to manage em…

831 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question