Recovering from server crash...

For general questions and discussions specific to the AbleCommerce 7.0 Asp.Net product.
Post Reply
User avatar
Intelliflex
Lieutenant (LT)
Lieutenant (LT)
Posts: 78
Joined: Tue Feb 17, 2004 7:51 pm

Recovering from server crash...

Post by Intelliflex » Thu Aug 11, 2011 11:58 pm

Version: AC 7.6
Server: Windows 2008 Server
SQL Server: MS SQL Server 2008 Express.
===
I had a server go down after a lightning storm which trashed the OS on the Raid 5. Although I have backups of the database, I would prefer to use the database files that were in use at the time so the data will be as up-to-date as possible, which appear to be in good condition.

I have copied the database and log files over to another server and attached the database and the data appears to be intact. I have copied the contents of the web folder and recreated the website in IIS7. Now, I have to recreate a database connection user/password to access the database. How can I enter that into the system from the Able Commerce Admin so Able will connect? I assume it is encrypted in the database, so I don't think I can just enter it in the database from the SQL Manager. Can I get into the Admin without connecting to the database to start with?

If anyone has any experience with this, I would sure appreciate a little direction...

Thanks...
Dave

User avatar
jmestep
AbleCommerce Angel
Posts: 8164
Joined: Sun Feb 29, 2004 8:04 pm
Location: Dayton, OH
Contact:

Re: Recovering from server crash...

Post by jmestep » Fri Aug 12, 2011 7:24 am

You can replace the code in your App_Data/Database.config file with the following, only use your connection information for the connection string.
<connectionStrings>
<add name="AbleCommerce" connectionString="CONNECTIONSTRING" providerName="System.Data.SqlClient" />
</connectionStrings>
It would be something like this:
Server=Precision;Database=14481Test1;Uid=xxxx;Pwd=xxxxx;
Judy Estep
Web Developer
jestep@web2market.com
http://www.web2market.com
708-653-3100 x209
New search report plugin for business intelligence:
http://www.web2market.com/Search-Report ... -P154.aspx

User avatar
Intelliflex
Lieutenant (LT)
Lieutenant (LT)
Posts: 78
Joined: Tue Feb 17, 2004 7:51 pm

Re: Recovering from server crash...

Post by Intelliflex » Fri Aug 12, 2011 8:47 am

Thanks Judy!

You always come through!
Dave

Post Reply