Hi Katherine,

 

It's not saying that the account or the password are wrong. It's saying that
the account is locked out. Is it set up to automatically unlock accounts
after a period of time? Is there a flag in the database that holds the
authentication details that says whether or not an account is locked?

 

Regards,

 

Greg

 

Dr Greg Low

 

1300SQLSQL (1300 775 775) office | +61 419201410 mobile│ +61 3 8676 4913 fax


SQL Down Under | Web:  <http://www.sqldownunder.com/> www.sqldownunder.com

 

From: [email protected] [mailto:[email protected]]
On Behalf Of Katherine Moss
Sent: Wednesday, 10 July 2013 1:57 PM
To: [email protected]
Subject: Still trying to fix authentication on an ASP.net application: some
accounts work and others don't

 

Hi guys,

This is driving me crazy.  I'm trying to fix my web site and the
authentication modules.  I have since replaced the web.config file and some
people are able to log into the site.  I cannot log in either as the main
administrator with a user name of admin, or as my secondary account, yet my
friend's able to log in just fine.  I get the following error message when
trying to retrieve my user name since the site can no longer locate my
account:

Server Error in '/' Application.

  _____  

The user account has been locked out. 

Description: An unhandled exception occurred during the execution of the
current web request. Please review the stack trace for more information
about the error and where it originated in the code. 

Exception Details: System.Web.Security.MembershipPasswordException: The user
account has been locked out.

Source Error: 


An unhandled exception was generated during the execution of the current web
request. Information regarding the origin and location of the exception can
be identified using the exception stack trace below. 


Stack Trace: 


 

[MembershipPasswordException: The user account has been locked out.]

   System.Web.Security.SqlMembershipProvider.ResetPassword(String username,
String passwordAnswer) +1840

   System.Web.Security.MembershipUser.ResetPassword(String passwordAnswer)
+145

   Sueetie.Web.ForgotUsernamePage.AddBody(MailMessage _msg, SueetieUser
_user) +507

   Sueetie.Web.ForgotUsernamePage.SendEmail_Click(Object sender, EventArgs
e) +277

   System.Web.UI.WebControls.Button.RaisePostBackEvent(String eventArgument)
+154

   System.Web.UI.Page.ProcessRequestMain(Boolean
includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +3707

 

  _____  

Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET
Version:4.0.30319.272

I'm trying not to have to recreate the database, after all, how would one
place a fresh database under the application if all of the application's
data is in there?  So, my idea was to raise my friend as an administrator
via the database, but I don't know how to do that and have the site
replicate the change on the side of ASP.net.  and why are these particular
accounts being locked out and not taking email addresses?  Thanks.  

Reply via email to