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