Entered wrong licence key, can't change

For general questions and discussions specific to the AbleCommerce 7.0 Asp.Net product.
Post Reply
b3n
Lieutenant, Jr. Grade (LT JG)
Lieutenant, Jr. Grade (LT JG)
Posts: 23
Joined: Tue Sep 07, 2010 9:02 am

Entered wrong licence key, can't change

Post by b3n » Mon Oct 22, 2012 5:31 am

In the process of trying to run my development copy of the shop (on localhost) I managed to enter the wrong licence key and get redirected to the wrong store URL. I deleted the key and went back to localhost/Install/Updatekey.aspx and entered the correct key, but the store is still forwarding to the old key's URL.

I'm a bit stuck now with what else I need to change... Any help would be greatly appreciated.

ableExpert
Ensign (ENS)
Ensign (ENS)
Posts: 15
Joined: Mon Oct 22, 2012 4:25 pm

Re: Entered wrong licence key, can't change

Post by ableExpert » Mon Oct 22, 2012 4:44 pm

Hi b3n,
try to clear the cache of your browser also can you navigate to this page Store/Admin/Store/Security/Default.aspx if yes you can update the store url over there.

b3n
Lieutenant, Jr. Grade (LT JG)
Lieutenant, Jr. Grade (LT JG)
Posts: 23
Joined: Tue Sep 07, 2010 9:02 am

Re: Entered wrong licence key, can't change

Post by b3n » Wed Oct 24, 2012 9:26 am

Thanks for the pointers, I've double checked the cache and it's definitely not that (tried another browser too) and I can't navigate to that URL unfortunately because the shop uses a modified log in process which authenticates against an external source. This means the admin login form doesn't work. Where in the database should I be looking to update the URL?

User avatar
david-ebt
Captain (CAPT)
Captain (CAPT)
Posts: 253
Joined: Fri Dec 31, 2010 10:12 am

Re: Entered wrong licence key, can't change

Post by david-ebt » Wed Oct 24, 2012 11:04 am

The StoreURL is in the ac_StoreSettings table. A query like this will update it:

Code: Select all

update ac_StoreSettings set FieldValue = 'http://www.mynewdomain.com' where FieldName = 'Store_StoreUrl'
David
http://www.ecombuildertoday.com
Enhanced Reporting for AbleCommerce
Image

User avatar
Logan Rhodehamel
Developer
Developer
Posts: 4116
Joined: Wed Dec 10, 2003 5:26 pm

Re: Entered wrong licence key, can't change

Post by Logan Rhodehamel » Thu Oct 25, 2012 12:00 pm

Fixing the database might not help if the license is forcing redirection. You do have two options.

#1) delete the file App_Data/CommerceBuilder.lic

This is the license file. If it's missing the software will ask you to update the key on the next visit. That will give you an opportunity to enter the correct key.

#2) edit the file App_Data/ablecommerce.config and enable demo mode

Somewhere inside the <application ... > tag you can add the attribute demoMode="true". This will prevent the domain enforcement from taking place long enough for you to log in and fix the key.
Cheers,
Logan
Image.com

If I do not respond to an unsolicited private message, it's not because I'm ignoring you. It's because the answer to your question is valuable to others. Try the new topic button.

Post Reply