This account has been disabled

For general questions and discussions specific to the AbleCommerce 7.0 Asp.Net product.
Post Reply
gfxinternetservices
Ensign (ENS)
Ensign (ENS)
Posts: 17
Joined: Wed Oct 24, 2007 4:43 pm
Location: Fair Oaks, CA
Contact:

This account has been disabled

Post by gfxinternetservices » Mon Oct 05, 2009 10:21 am

I am getting a strange issue on an AC7 site where if an administrative user tries to login, it gives the error "This account has been disabled."

I tried using the reset admin script (viewtopic.php?f=47&t=7778#p32968), however it then gives an error that "Admin recovery is not enabled!" Is there a way that I can enable admin recovery directly from the database so that I can run the script successfully?
Russ Miller
GFX Internet Services
Design - Development - Hosting
http://www.GFXInternetServices.com/

User avatar
mazhar
Master Yoda
Master Yoda
Posts: 5084
Joined: Wed Jul 09, 2008 8:21 am
Contact:

Re: This account has been disabled

Post by mazhar » Tue Oct 06, 2009 2:40 am

Well make sure that you made following change in recovery script in order to enable it. Locate following code

Code: Select all

 bool enabled = false;
Then update it as below

Code: Select all

 bool enabled = true;
Now admin account will be reset to username admin@ablecommerce.com and password to password. Better update username and password as well to your desired username and password. Save the script and finally execute it to achieve desired results.

On the other hand major need of using reset script is when you forgot your admin password and there is no way to get it back for example you didn't configured SMTP settings etc. If account is disabled just because of that you mistakenly typed wrong password then you can go to ac_Users table, locate your user name and then for this user change IsDisabled field value from true to false.

gfxinternetservices
Ensign (ENS)
Ensign (ENS)
Posts: 17
Joined: Wed Oct 24, 2007 4:43 pm
Location: Fair Oaks, CA
Contact:

Re: This account has been disabled

Post by gfxinternetservices » Tue Oct 06, 2009 8:15 am

Thanks for the reply Mazhar. I was thinking the account was locked out, but the IsApproved was set to false for some reason. Now I am back in!
Russ Miller
GFX Internet Services
Design - Development - Hosting
http://www.GFXInternetServices.com/

Post Reply