Error during upgrade from 7.0 to 7.0.2

For general questions and discussions specific to the AbleCommerce 7.0 Asp.Net product.
Post Reply
User avatar
draneb
Captain (CAPT)
Captain (CAPT)
Posts: 314
Joined: Sun Jun 12, 2005 4:07 pm
Location: Texas
Contact:

Error during upgrade from 7.0 to 7.0.2

Post by draneb » Wed Jun 03, 2009 6:43 am

I searched the forums and found another person who was getting this error. I wanted to make sure this is the solution as I was unclear. I get the following error when almost done with the upgrade...

Server Error in '/' Application.
--------------------------------------------------------------------------------

Object reference not set to an instance of an object.
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.NullReferenceException: Object reference not set to an instance of an object.

Source Error:

Line 158: {
Line 159: //VALIDATE DATA IN SHIPZONES
Line 160: _ShipZones = ShipZoneDataSource.LoadForStore();
Line 161: foreach (ShipZone zone in _ShipZones)
Line 162: {

Is this the solution?
With 7.0.2 install package there is a file named web_NET35.config. Rename it to web.config and replace your old web.config file with this one.
Thank you.
AC 7.0.3 build 13937

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

Re: Error during upgrade from 7.0 to 7.0.2

Post by jmestep » Wed Jun 03, 2009 6:53 am

That shouldn't be the problem-- the switch to 3.5 was optional. It sounds more like a database access issue. The fields in the ac_ShipZones table changed between the builds. The one in 7.0.2 has more fields.
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
mazhar
Master Yoda
Master Yoda
Posts: 5084
Joined: Wed Jul 09, 2008 8:21 am
Contact:

Re: Error during upgrade from 7.0 to 7.0.2

Post by mazhar » Wed Jun 03, 2009 7:43 am

Make sure that that there is not pending database upgrade script.

Post Reply