Migration SQL 2000 to SQL 2008 R2 for AC 7.0

For general questions and discussions specific to the AbleCommerce 7.0 Asp.Net product.
Post Reply
Pawan
Ensign (ENS)
Ensign (ENS)
Posts: 10
Joined: Mon May 04, 2009 5:56 am

Migration SQL 2000 to SQL 2008 R2 for AC 7.0

Post by Pawan » Tue Jan 11, 2011 5:01 am

I would like to migration from DB SQL 2000 to SQL 2008 R2.
My current ablecommerce details as follows:
PLATFORM: ASP.NET
VERSION: 7.0 BUILD: 9381
SQL: 2000
I already tried new installation (http://help.ablecommerce.com/installati ... sp.net.htm), but I could not find SQL 2008 in Database type.

I really appreciate any help you can provide. Thank you.

User avatar
mikek
Commander (CMDR)
Commander (CMDR)
Posts: 112
Joined: Wed Oct 15, 2008 9:30 pm
Location: Boston, MA
Contact:

Re: Migration SQL 2000 to SQL 2008 R2 for AC 7.0

Post by mikek » Tue Jan 11, 2011 12:38 pm

If you need to migrate an existing AC 7.0 site database from SQL 2000 to 2008 R2 you just need to create full database backup from the existing MSSQL 2000 server and then restore the backup file
under a new MSSQL 2008 R2 instance. Make sure you have a valid MSSQL 2008R2 DB login assigned to the database after the restore is done.

Another change you may have to make is changing the DB connection string in App_Data\database.config file. No licensing or other app. changes is required.
Mike Kolev

Pawan
Ensign (ENS)
Ensign (ENS)
Posts: 10
Joined: Mon May 04, 2009 5:56 am

Re: Migration SQL 2000 to SQL 2008 R2 for AC 7.0

Post by Pawan » Wed Jan 12, 2011 12:16 am

Thanks,

App_Data\Database.config file is Encrypted.
How can i change the DB connection string?

User avatar
mikek
Commander (CMDR)
Commander (CMDR)
Posts: 112
Joined: Wed Oct 15, 2008 9:30 pm
Location: Boston, MA
Contact:

Re: Migration SQL 2000 to SQL 2008 R2 for AC 7.0

Post by mikek » Wed Jan 12, 2011 3:45 pm

If the file is encrypted the connection string must be changed from your site Admin section.
Mike Kolev

Pawan
Ensign (ENS)
Ensign (ENS)
Posts: 10
Joined: Mon May 04, 2009 5:56 am

Re: Migration SQL 2000 to SQL 2008 R2 for AC 7.0

Post by Pawan » Thu Jan 13, 2011 7:36 am

Thanks a lot Michael,

I successfuly update my config file manually:
viewtopic.php?f=42&t=5747&p=61782&hilit ... ing#p61782

1) Make a backup copy of APP_DATA\database.config
2) Delete existing content.
3) Paste following it into database.config file.
<connectionStrings>
<add name="AbleCommerce" connectionString="Server=yourserver;
Database=yourDB;Uid=youruser;Pwd=yourPW;" ProviderName="System.Data.SqlClient" />
</connectionStrings>
4) Modify the connection string to have the correct new server, database name, username, and password information.
5) Save the updated database.config file.

Post Reply