Solved

PasswordRecovery not acknowledging user

Posted on 2014-03-28
3
111 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

Master Your Team's Linux and Cloud Stack

Come see why top tech companies like Mailchimp and Media Temple use Linux Academy to build their employee training programs.

Question has a verified solution.

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

A long time ago (May 2011), I have written an article showing you how to create a DLL using Visual Studio 2005 to be hosted in SQL Server 2005. That was valid at that time and it is still valid if you are still using these versions. You can still re…
Real-time is more about the business, not the technology. In day-to-day life, to make real-time decisions like buying or investing, business needs the latest information(e.g. Gold Rate/Stock Rate). Unlike traditional days, you need not wait for a fe…
This Micro Tutorial demonstrates using Microsoft Excel pivot tables, how to reverse engineer competitors' marketing strategies through backlinks.
Email security requires an ever evolving service that stays up to date with counter-evolving threats. The Email Laundry perform Research and Development to ensure their email security service evolves faster than cyber criminals. We apply our Threat…

786 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