632 users online
Register
Log in
Shopping Cart
(0)
Home
Product
Overview
Features
Store demo
Screenshots
Showcase - live shops
Copyright Notice Removal
System Requirements
Roadmap
Contribute
Team Members
License
Downloads
Download nopCommerce
Extensions
Release Notes
Support
Documentation
Forums
Partners
Recommended Hosting
Solution Partners
Become a Partner
Community sponsorship program
My Account
Contacts
Tweet
Home
/
Forums
/
General
/
Bug Reports
/
nopCommerce 2.4: Clicking on New Products from Home page after doing upgrade from 2.3
nopCommerce 2.4: Clicking on New Products from Home page after doing upgrade from 2.3
Reply
salsafreakpr
Total Posts:
7
Karma:
65
Joined:
1/22/2009
PM
Posted:
3 months ago
Quote
Hi,
Not sure if this has been reported yet (looked but didnt see). All I did was as follows:
o downloaded and extracted nopCommerce2.40 onto a new folder
o copied Settings.txt file from nopCommerce2.30 App_Data folder onto nopCommerce2.40 corresponding folder
o created backup of nopCommerce23 database
o restored backup of nopCommerce23 database onto nopCommerce24
o ran the upgrade.sql script
o started VS and ran it
o The default store is displayed without issues
o Click on New Products and get the following:
Object reference not set to an instance of an object.
on line 239 of the TaxService.cs file
//get tax rate
239 var calculateTaxResult = activeTaxProvider.GetTaxRate(calculateTaxRequest);
if (calculateTaxResult.Success)
{
//ensure that tax is equal or greater than zero
if (calculateTaxResult.TaxRate < decimal.Zero)
calculateTaxResult.TaxRate = decimal.Zero;
return calculateTaxResult.TaxRate;
}
0
Please
login or register
to vote for this post.
(click on this box to dismiss)
salsafreakpr
Total Posts:
7
Karma:
65
Joined:
1/22/2009
PM
Posted:
3 months ago
Quote
You apparently wont get this error if you have one or more tax providers installed. I installed the StrikeIron provider and reran the code and it ran fine this time. I would imagine that most folks wont be running into this since they'll have at least one tax provider.
0
Please
login or register
to vote for this post.
(click on this box to dismiss)