Important Notice from AspDotNetStorefront
It is with dismay that we report that we have been forced, through the action of hackers, to shut off write-access to this forum. We are keen to leave the wealth of material available to you for research. We have opened a new forum from which our community of users can seek help, support and advice from us and from each other. To post a new question to our community, please visit: http://forums.vortx.com
Results 1 to 12 of 12

Thread: user locked out

  1. #1
    sherry is offline Junior Member
    Join Date
    Jul 2009
    Posts
    16

    Default user locked out

    a user is locked out because of too many failed logins. Says contact the Admin.

    I am the Administrator and I do not know how to handle this situation.

    sherry

  2. #2
    Jao is offline Senior Member
    Join Date
    Oct 2008
    Posts
    1,132

  3. #3
    MelanieA is offline Junior Member
    Join Date
    Sep 2008
    Posts
    313

    Default

    To unlock the customer account:

    1 - Connect to your DB using MS SQL Server Management Studio, Enterprise Manager, or your host's web-based query tool
    2 - Run the following query against the DB:

    UPDATE [Customer]
    SET [LockedUntil] = DateAdd(mi, -1, GetDate())
    WHERE [Email] = 'your customer email address here'
    UPDATE [Customer]
    SET [BadLoginCount] = 0
    WHERE [Email] = 'your customer email address here'

    Or simply wait for 30 minutes to for the expiration of the locked account.

    Check if this works for you

  4. #4
    ssitech is offline Junior Member
    Join Date
    Sep 2008
    Location
    Burbank, CA
    Posts
    2

    Default

    But the article that is always referred to says:

    "The proper method would be to have another super admin user unlock the account through the admin site..."

    How do you do this? I cannot find any article that says how to use the "proper method".

  5. #5
    AspDotNetStorefront Staff - Scott's Avatar
    AspDotNetStorefront Staff - Scott is offline Administrator
    Join Date
    Mar 2007
    Location
    Ashland, OR
    Posts
    2,390

    Default

    Just log in as the other admin, open up the locked account through View/Edit Customers and uncheck the 'Account Locked' box.

  6. #6
    ssitech is offline Junior Member
    Join Date
    Sep 2008
    Location
    Burbank, CA
    Posts
    2

    Default

    ...And it is that easy. Thanks.

  7. #7
    mskVenus is offline Junior Member
    Join Date
    Aug 2011
    Location
    China
    Posts
    25

    Default customer account locked

    Quote Originally Posted by AspDotNetStorefront Staff - Scott View Post
    Just log in as the other admin, open up the locked account through View/Edit Customers and uncheck the 'Account Locked' box.
    Hello,

    I checked the locked account through View/Edit Customers, and the "account locked" check box is not checked! But I still can log in, it always tell me that "Your account has been locked by the administrator". I am very confused! Does anyone can tell me where is wrong?

    Many Thanks,
    Venus

  8. #8
    deanfp is offline Senior Member
    Join Date
    May 2009
    Location
    Sweden
    Posts
    556

    Default

    Try resetting the cache. If not then look in the SQL table to see if the Locked Until column has a value. If so change that to NULL you should be good to go.

  9. #9
    mskVenus is offline Junior Member
    Join Date
    Aug 2011
    Location
    China
    Posts
    25

    Default

    Quote Originally Posted by deanfp View Post
    Try resetting the cache. If not then look in the SQL table to see if the Locked Until column has a value. If so change that to NULL you should be good to go.
    Thanks your reply. But it did not work. I have change the locked until to null. my account was locked when I checked out using paypal. After paypal transaction is complete, my account was locked and I can not unlock. Any sugestions? Thanks

  10. #10
    webopius is offline Senior Member
    Join Date
    Nov 2008
    Location
    London, UK
    Posts
    440

    Default

    Hi

    Confusingly, ASPDotNetStorefront generates the "Your account has been locked by the administrator" message if the Customer's account is not active (the 'Active' field in the Customer record is 0).

    One way that this can occur if an order placed by the Customer is marked as Fraudulent.

    I can't say for sure if this is the issue in your case, but I can see that the Pay Pal gateway does appear to mark an order as fraud if the payment total differs from the order total by more than 5 cents.

  11. #11
    deanfp is offline Senior Member
    Join Date
    May 2009
    Location
    Sweden
    Posts
    556

    Default

    Good advice. You may also want to check the IsRegistered column. When a customer pays via PayPal on our sites this value comes back as zero. Though if you can see the customer account in Admin this will not be the case.

    Worth double checking anyway.

  12. #12
    mskVenus is offline Junior Member
    Join Date
    Aug 2011
    Location
    China
    Posts
    25

    Default

    Quote Originally Posted by webopius View Post
    Hi

    Confusingly, ASPDotNetStorefront generates the "Your account has been locked by the administrator" message if the Customer's account is not active (the 'Active' field in the Customer record is 0).

    One way that this can occur if an order placed by the Customer is marked as Fraudulent.

    I can't say for sure if this is the issue in your case, but I can see that the Pay Pal gateway does appear to mark an order as fraud if the payment total differs from the order total by more than 5 cents.
    Hi webopius,

    Thanks you help me out. The issue was cuaseed by an order placed is marked as fraud, and the active in customer table is 0. Now I change the active=1, It's ok now. May I make friends with you? Could you please tell me your skype account, My Skype account is lanlei-venus. If you can add me in your contact list will be better.

    Sincerely,
    Venus