?
Solved

PasswordRecovery not acknowledging user

Posted on 2014-03-28
3
Medium Priority
?
125 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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 1000 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

Get free NFR key for Veeam Availability Suite 9.5

Veeam is happy to provide a free NFR license (1 year, 2 sockets) to all certified IT Pros. The license allows for the non-production use of Veeam Availability Suite v9.5 in your home lab, without any feature limitations. It works for both VMware and Hyper-V environments

Question has a verified solution.

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

Many of us here at EE write code. Many of us write exceptional code; just as many of us write exception-prone code. As we all should know, exceptions are a mechanism for handling errors which are typically out of our control. From database errors, t…
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…
Add bar graphs to Access queries using Unicode block characters. Graphs appear on every record in the color you want. Give life to numbers. Hopes this gives you ideas on visualizing your data in new ways ~ Create a calculated field in a query: …
In this video, Percona Solution Engineer Dimitri Vanoverbeke discusses why you want to use at least three nodes in a database cluster. To discuss how Percona Consulting can help with your design and architecture needs for your database and infras…
Suggested Courses

770 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