Page 1 of 1

Error during upgrade from 7.0 to 7.0.2

Posted: Wed Jun 03, 2009 6:43 am
by draneb
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.

Re: Error during upgrade from 7.0 to 7.0.2

Posted: Wed Jun 03, 2009 6:53 am
by jmestep
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.

Re: Error during upgrade from 7.0 to 7.0.2

Posted: Wed Jun 03, 2009 7:43 am
by mazhar
Make sure that that there is not pending database upgrade script.