[Last Call] Learn how to a build a cloud-first strategyRegister Now

x
?
Solved

PasswordRecovery not acknowledging user

Posted on 2014-03-28
3
Medium Priority
?
131 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 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

It seems a simple enough task, yet I see repeated questions asking how to do it: how to pass data between two forms. In this article, I will show you the different mechanisms available for you to do just that. This article is directed towards the .N…
Hello there! As a developer I have modified and refactored the unit tests which was written by fellow developers in the past. On the course, I have gone through various misconceptions and technical challenges when it comes to implementation. I would…
Exchange organizations may use the Journaling Agent of the Transport Service to archive messages going through Exchange. However, if the Transport Service is integrated with some email content management application (such as an anti-spam), the admin…
Loops Section Overview
Suggested Courses

829 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