Solved

PasswordRecovery not acknowledging user

Posted on 2014-03-28
3
110 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
Comment Utility
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
Comment Utility
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
Comment Utility
Thanks
0

Featured Post

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

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…
Today I had a very interesting conundrum that had to get solved quickly. Needless to say, it wasn't resolved quickly because when we needed it we were very rushed, but as soon as the conference call was over and I took a step back I saw the correct …
In this seventh video of the Xpdf series, we discuss and demonstrate the PDFfonts utility, which lists all the fonts used in a PDF file. It does this via a command line interface, making it suitable for use in programs, scripts, batch files — any pl…
Polish reports in Access so they look terrific. Take yourself to another level. Equations, Back Color, Alternate Back Color. Write easy VBA Code. Tighten space to use less pages. Launch report from a menu, considering criteria only when it is filled…

728 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

Need Help in Real-Time?

Connect with top rated Experts

9 Experts available now in Live!

Get 1:1 Help Now