Migrated To New Hosting Company / Site Error

For general questions and discussions specific to the AbleCommerce 7.0 Asp.Net product.
Post Reply
cm3solutions
Ensign (ENS)
Ensign (ENS)
Posts: 3
Joined: Tue Oct 07, 2014 6:57 am

Migrated To New Hosting Company / Site Error

Post by cm3solutions » Wed Jan 21, 2015 12:34 pm

I moved our site to a new hosting company. Restored the database to their MSSQL server. Made changes in the database.config following the instuctions from this site. http://help.ablecommerce.com/mergedProj ... ection.htm

When I try to access the site I get;

Compilation Error

Description: An error occurred during the compilation of a resource required to service this request. Please review the following specific error details and modify your source code appropriately.

Compiler Error Message: CS0234: The type or namespace name 'AcCatalogNodeCollection' does not exist in the namespace 'Database' (are you missing an assembly reference?)

Source Error:


Line 402:
Line 403:
Line 404: public Database.AcCatalogNodeCollection AcCatalogNodes()
Line 405: {
Line 406: return new Database.AcCatalogNodeCollection().Where(AcCatalogNode.Columns.CategoryId, CategoryId).Load();

Source File: h:\root\home\????\www\site1\App_Code\DataBase\AcCategory.cs Line: 404

SQL connection is tested and working. It's set to .NET 2/3.5.x Classic mode in IIS.

Any idea what this error means? No matter what page I go, I get this.

User avatar
Katie
AbleCommerce Admin
AbleCommerce Admin
Posts: 2651
Joined: Tue Dec 02, 2003 1:54 am
Contact:

Re: Migrated To New Hosting Company / Site Error

Post by Katie » Wed Jan 21, 2015 1:21 pm

The error points to a source file -
\App_Code\DataBase\AcCategory.cs Line: 404
This file (and the \database\ folder) does not exist in a stock install of AbleCommerce 7, so you are trying to work through an error that is from a customization. Make sure that you are using your original DLL files in the \bin\ folder, and recycle the application if you make any updates.

Also, I sometimes see customers who try to move an install and upgrade at the same time. This usually results in problems, so make sure that you are using all the same files as your original install (excluding the few .config files of course).

Thanks
Katie
Thank you for choosing AbleCommerce!

http://help.ablecommerce.com - product support
http://wiki.ablecommerce.com - developer support

cm3solutions
Ensign (ENS)
Ensign (ENS)
Posts: 3
Joined: Tue Oct 07, 2014 6:57 am

Re: Migrated To New Hosting Company / Site Error

Post by cm3solutions » Mon Jan 26, 2015 12:47 pm

I followed this and also created a new license for the new test domain. Then things started working. Custom code and all. http://help.ablecommerce.com/faqs/ablec ... ation_.htm

Post Reply