error after upgrading to 7.03 from 7.02

For general questions and discussions specific to the AbleCommerce 7.0 Asp.Net product.
Post Reply
simpleweb
Lieutenant, Jr. Grade (LT JG)
Lieutenant, Jr. Grade (LT JG)
Posts: 21
Joined: Fri Jul 17, 2009 12:25 am

error after upgrading to 7.03 from 7.02

Post by simpleweb » Fri Dec 11, 2009 3:05 pm

I get an error as soon as I upgraded to the new version.

The call is ambiguous between the following methods or properties: 'CommerceBuilder.Products.ProductCalculator.LoadForProduct(int, short, string, System.Collections.Generic.List<int>)' and 'CommerceBuilder.Products.ProductCalculator.LoadForProduct(int, short, string, string)'

not sure what the problem is

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

Re: error after upgrading to 7.03 from 7.02

Post by jmestep » Fri Dec 11, 2009 4:05 pm

You have some custom code that needs to be upgraded. For example, one place would be in the ConLib/Utility/ProductPrice.ascx.cs

ProductCalculator pcalc = ProductCalculator.LoadForProduct(_Product.ProductId, 1, _OptionList, AlwaysConvert.ToList(",", _SelectedKitProducts), Token.Instance.UserId, true);
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

simpleweb
Lieutenant, Jr. Grade (LT JG)
Lieutenant, Jr. Grade (LT JG)
Posts: 21
Joined: Fri Jul 17, 2009 12:25 am

Re: error after upgrading to 7.03 from 7.02

Post by simpleweb » Sun Dec 13, 2009 10:36 am

It worked. thanks jmestep

Post Reply