Server Crashed - cannot get Able working - need Advice
Server Crashed - cannot get Able working - need Advice
We had a server casualty, and I need to get 2 Able 7.0.3 shopping carts back up and running. Luckily, I was able to recover the database and the website files. I've set those up on the same O/S (Windows Server 2003) in the same version of IIS (6.0) and on the same version of SQL (2000). However, the sites will not come up. I also tried following the instructions at help.ablecommerce.com for "How do I change or move an existing installation?". That did not work at all because when I tried to surf to the http://mysite/install/default.aspx file, I received a "file not found" error. I've checked the version of ASP - 2.0 - and I've set up "default.aspx" as a default content page. I do not have any idea how to proceed further.
Wendy Cummins
WDDX.net
WDDX.net
Re: Server Crashed - cannot get Able working - need Advice
What is the errors you are getting from the installation? Possible reasons:
- If the new install is under a new physical folder location the AbleCommerce license will be required
- make sure the new folder has Read/Write permissions granted for IIS ASP.NET Worker Process
- check the IP binding in IIS and make sure the binding is being set properly
- If the new install is under a new physical folder location the AbleCommerce license will be required
- make sure the new folder has Read/Write permissions granted for IIS ASP.NET Worker Process
- check the IP binding in IIS and make sure the binding is being set properly
Dimi Goranov
Drundo Software Inc.
AbleCommerce Hosting and Management
Email: dgoranov@drundo.com
Ph: 888.464.2140
Drundo Software Inc.
AbleCommerce Hosting and Management
Email: dgoranov@drundo.com
Ph: 888.464.2140
Re: Server Crashed - cannot get Able working - need Advice
Thanks for your response. There were actually many issues, and I have resolved some of them. I did not complete a new installation... I just moved the files and the database to the new server. One issue was that the AC license was showing c:\inetpub\wwwroot... and I had the files on D:. Moving the files fixed that. I also had to install Asp.Net 2.0 AJAX Extensions 1.0. That fixed one issue. Now I have a situation where some of the tables are not showing "dbo" as the owner. I'm getting the following error now:
------------------------------------------------------
Server Error in '/' Application.
Invalid object name 'ac_Kits'.
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
Exception Details: System.Data.SqlClient.SqlException: Invalid object name 'ac_Kits'.
------------------------------------------------------
I've been searching online for a way to change the ownership of the tables, and I've found some posts, but they are confusing.
------------------------------------------------------
Server Error in '/' Application.
Invalid object name 'ac_Kits'.
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
Exception Details: System.Data.SqlClient.SqlException: Invalid object name 'ac_Kits'.
------------------------------------------------------
I've been searching online for a way to change the ownership of the tables, and I've found some posts, but they are confusing.
Wendy Cummins
WDDX.net
WDDX.net
Re: Server Crashed - cannot get Able working - need Advice
wendyc wrote:I've been searching online for a way to change the ownership of the tables, and I've found some posts, but they are confusing.
I have an article on how to do it here: http://support.ablemods.com/default.asp?W23
The title doesn't apply to your situation, but the steps do.
Joe Payne
AbleCommerce Custom Programming and Modules http://www.AbleMods.com/
AbleCommerce Hosting http://www.AbleModsHosting.com/
Precise Fishing and Hunting Time Tables http://www.Solunar.com
AbleCommerce Custom Programming and Modules http://www.AbleMods.com/
AbleCommerce Hosting http://www.AbleModsHosting.com/
Precise Fishing and Hunting Time Tables http://www.Solunar.com
Re: Server Crashed - cannot get Able working - need Advice
Thanks, Joe, your post was very helpful. I wasn't able to use it specifically as it was written since our SQL server for the AC databases is SQL 2000. Apparently, there was a shift in how the owner/schema was handled from 2000 to 2005. What I ended up using was this (in case it helps anyone):
use mydatabasename
EXEC sp_changeobjectowner 'tablenameprefix.ac_Wishlistiteminputs', 'dbo';
I ran that in SQL Query Analyzer once for every table that was showing the "bad" schema. This fixed the issues on one of my databases/shopping carts, but I'm still experiencing an issue with the other one. Don't know if you can help, but when I surf to the website I'm just getting "Service Unavailable". So descriptive...
use mydatabasename
EXEC sp_changeobjectowner 'tablenameprefix.ac_Wishlistiteminputs', 'dbo';
I ran that in SQL Query Analyzer once for every table that was showing the "bad" schema. This fixed the issues on one of my databases/shopping carts, but I'm still experiencing an issue with the other one. Don't know if you can help, but when I surf to the website I'm just getting "Service Unavailable". So descriptive...
Wendy Cummins
WDDX.net
WDDX.net
Re: Server Crashed - cannot get Able working - need Advice
I resolved the "Service Unavailable" issue...some of the files in the website directory were read only. I also realized that I needed to install an SSL certificate, so once that was done the Admin login page and backend manager started working. Now there's just one more issue to resolve (that I know of). The error I'm getting is:
[[ConLib:CategoryGridPage4]] (0): error CS1705: Assembly 'AjaxControlToolkit, Version=3.0.20229.20843, Culture=neutral, PublicKeyToken=28f01b0e84b6d53e' uses 'System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' which has a higher version than referenced assembly 'System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35'
My research indicates that this is because there are multiple files that are pointing to different versions of the same dll. I found a post on this forum viewtopic.php?f=42&t=12168&p=52375&hili ... ly#p52375" from someone who reported the issue in 2009, but there was no resolution posted with it. I'm researching this now, but if anyone has a clue please chime in.
[[ConLib:CategoryGridPage4]] (0): error CS1705: Assembly 'AjaxControlToolkit, Version=3.0.20229.20843, Culture=neutral, PublicKeyToken=28f01b0e84b6d53e' uses 'System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' which has a higher version than referenced assembly 'System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35'
My research indicates that this is because there are multiple files that are pointing to different versions of the same dll. I found a post on this forum viewtopic.php?f=42&t=12168&p=52375&hili ... ly#p52375" from someone who reported the issue in 2009, but there was no resolution posted with it. I'm researching this now, but if anyone has a clue please chime in.
Wendy Cummins
WDDX.net
WDDX.net
Re: Server Crashed - cannot get Able working - need Advice
The web.config for Asp.Net 2.0 should be used. In your error, it looks like you might be using version 3.5.I also had to install Asp.Net 2.0 AJAX Extensions 1.0.
Besides the web.config file, you need to be using the older AjaxControlToolkit.dll and ComponentArt.Web.UI.dll. All 3 files can be found in the \install\Framework\NET20 folder of the original software download.
I'm not sure this will solve the problem, but it seems possible from the error message that there is an Asp.Net version mismatch.
Hope it helps,
Katie
Thank you for choosing AbleCommerce!
http://help.ablecommerce.com - product support
http://wiki.ablecommerce.com - developer support
http://help.ablecommerce.com - product support
http://wiki.ablecommerce.com - developer support
Re: Server Crashed - cannot get Able working - need Advice
Thanks, Katie. I brought in the 3 files from the Install\Net20 folder as mentioned at http://help.ablecommerce.com/installati ... mework.htm. Everything seems to be working on one of my shopping carts but not on the other.
Wendy Cummins
WDDX.net
WDDX.net
Re: Server Crashed - cannot get Able working - need Advice
Still the same error?wendyc wrote:Everything seems to be working on one of my shopping carts but not on the other.
Joe Payne
AbleCommerce Custom Programming and Modules http://www.AbleMods.com/
AbleCommerce Hosting http://www.AbleModsHosting.com/
Precise Fishing and Hunting Time Tables http://www.Solunar.com
AbleCommerce Custom Programming and Modules http://www.AbleMods.com/
AbleCommerce Hosting http://www.AbleModsHosting.com/
Precise Fishing and Hunting Time Tables http://www.Solunar.com
Re: Server Crashed - cannot get Able working - need Advice
Joe,
I still have the ASP error on some of the pages of one of the carts. I haven't taken any action on Katie's post because as far as I know what she recommended is what I did. It does seem like she's targeted the problem, but I still don't know how to resolve it. I'm using the same set of files for both carts (in terms of the web.config and 2 dlls). They are also both set to use the same version of ASP in IIS.
I still have the ASP error on some of the pages of one of the carts. I haven't taken any action on Katie's post because as far as I know what she recommended is what I did. It does seem like she's targeted the problem, but I still don't know how to resolve it. I'm using the same set of files for both carts (in terms of the web.config and 2 dlls). They are also both set to use the same version of ASP in IIS.
Wendy Cummins
WDDX.net
WDDX.net
Re: Server Crashed - cannot get Able working - need Advice
Doesn't sound like permissions on the SQL tables are correct yet.
Joe Payne
AbleCommerce Custom Programming and Modules http://www.AbleMods.com/
AbleCommerce Hosting http://www.AbleModsHosting.com/
Precise Fishing and Hunting Time Tables http://www.Solunar.com
AbleCommerce Custom Programming and Modules http://www.AbleMods.com/
AbleCommerce Hosting http://www.AbleModsHosting.com/
Precise Fishing and Hunting Time Tables http://www.Solunar.com
Re: Server Crashed - cannot get Able working - need Advice
Problem solved. Added code to webconfig file, restarted the website and it worked. Here is a link to the page that helped us resolve the issue http://wiki.asp.net/page.aspx/1075/ajax ... n-problem/
Wendy Cummins
WDDX.net
WDDX.net
Re: Server Crashed - cannot get Able working - need Advice
I actually run into that a lot now when I open a .Net 2.0 AC7 install in Visual Studio 2010. VS2010 won't rebuild the site until you set target framework to .Net 4.0 which then reconfigures the web.config which then breaks the AJAX. it's still very confusing to me.
Joe Payne
AbleCommerce Custom Programming and Modules http://www.AbleMods.com/
AbleCommerce Hosting http://www.AbleModsHosting.com/
Precise Fishing and Hunting Time Tables http://www.Solunar.com
AbleCommerce Custom Programming and Modules http://www.AbleMods.com/
AbleCommerce Hosting http://www.AbleModsHosting.com/
Precise Fishing and Hunting Time Tables http://www.Solunar.com