move store from one server to a new one what do i have to d

For general questions and discussions specific to the AbleCommerce 7.0 Asp.Net product.
Post Reply
User avatar
cerami2
Lieutenant Commander (LCDR)
Lieutenant Commander (LCDR)
Posts: 103
Joined: Thu Nov 08, 2007 5:29 am
Location: Plymouth MN
Contact:

move store from one server to a new one what do i have to d

Post by cerami2 » Tue Feb 05, 2008 7:28 pm

I been work on my site to replace my online store that is on a different server.
I want to move the ablecommerce store i built and move it to the server i have my old store on (i want to use the same ip address my old store is on ) is there anything i need to know to move it

Regards
Joe

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

Post by Logan Rhodehamel » Wed Feb 06, 2008 10:09 am

The only challenges in moving a site to a new server is that two files, App_Data/database.config and App_Data/encryption.config, are potentially encrypted with a machine specific key.

Before you move the site if you have set an encryption key, make sure you have a current backup.

After moving the files, you are probably going to have the error described here: viewtopic.php?t=6426

You'll need to manually update the database.config with a valid connection string. Once you get the application back up and running, you can go to the Configure -> Security -> Database menu to update and encrypt the connection string again.

Also if you had an encryption key set, you are going to need to open up App_Data/encryption.config file. Replace the contents with this:

Code: Select all

<encryption />
Essentially this resets the key to unset. Now assuming you have set database.config properly your application should be functional. The first thing you must do from admin is go to Configure -> Security -> Encryption Key and restore the key from your backup.

(Alternatively to the above procedure, you could use command line tools to decrypt the files on the source machine, make modifications as needed to database.config, and then re-encrypt the files on the destination machine. It is equally suitable but requires knowledge of the command line.)
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.

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

Post by Logan Rhodehamel » Wed Feb 06, 2008 10:16 am

If you are switching the store to a different IP/Domain from what it is running on now, there will also be key considerations. You may need to update the license key following the instructions for an "expired" key at the bottom of this bulletin:

http://help.ablecommerce.com/installati ... _for_7.htm
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.

User avatar
tonz
Lieutenant, Jr. Grade (LT JG)
Lieutenant, Jr. Grade (LT JG)
Posts: 48
Joined: Thu Mar 13, 2008 4:08 am

custom scriplets

Post by tonz » Fri Mar 28, 2008 3:47 am

Hi Everyone,

I have moved the custom header and footer scriplets ffrom my test site to the live site directory app_data/scriplets/custom. However the live site doesn't recognize them. Is there anything else I need to copy?

Also what do I need to copy in order to move to live site all the changes I made in the test site's editor zone (at the bottom of the pages in admin view, where I can specifying custom scriplets for sidebar)

Thanks ina dvance,

Tony

User avatar
tonz
Lieutenant, Jr. Grade (LT JG)
Lieutenant, Jr. Grade (LT JG)
Posts: 48
Joined: Thu Mar 13, 2008 4:08 am

my bad

Post by tonz » Fri Mar 28, 2008 4:58 am

Ok it was my fault, i have uploaded the files to the wrong place. FTP access was configured to a different site.

Post Reply