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.
Migrated To New Hosting Company / Site Error
-
- Ensign (ENS)
- Posts: 3
- Joined: Tue Oct 07, 2014 6:57 am
Re: Migrated To New Hosting Company / Site Error
The error points to a source file -
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
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.\App_Code\DataBase\AcCategory.cs Line: 404
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
http://help.ablecommerce.com - product support
http://wiki.ablecommerce.com - developer support
-
- Ensign (ENS)
- Posts: 3
- Joined: Tue Oct 07, 2014 6:57 am
Re: Migrated To New Hosting Company / Site Error
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