SR-1 Upgrade Error

For general questions and discussions specific to the AbleCommerce 7.0 Asp.Net product.
Post Reply
tosypian
Ensign (ENS)
Ensign (ENS)
Posts: 9
Joined: Mon Aug 11, 2008 9:41 am
Location: Tampa, FL
Contact:

SR-1 Upgrade Error

Post by tosypian » Fri Oct 24, 2008 12:40 pm

My web admin who hosts my site tried to upgrade and when he did the following error appeared in the sidebar where the minibasket was supposed to be:

[[ConLib:MiniBasket AlternateControl="PopularProductsDialog.ascx"]] d:\HTTP\kindnessresources.com\wwwroot\Checkout\Google\GoogleCheckoutButton.ascx.cs(42): error CS0266: Cannot implicitly convert type 'decimal' to 'int'. An explicit conversion exists (are you missing a cast?)

Any thoughts or suggestions as to what that might mean?

Here's the info about my install:

PLATFORM: ASP.NET
VERSION: 7.0
BUILD: 9879

AjaxControlToolkit: 1.0.10301.0
CommerceBuilder: 7.0.9366.0
CommerceBuilder.AuthorizeNet: 7.0.9374.0
CommerceBuilder.CanadaPost: 7.0.0.0
CommerceBuilder.CCH: 7.0.0.0
CommerceBuilder.Configuration: 7.0.9344.0
CommerceBuilder.CyberSource: 7.0.9310.0
CommerceBuilder.DataClient.Api: 1.0.0.19
CommerceBuilder.DataClient.Csv: 1.0.0.0
CommerceBuilder.DHL: 7.0.8825.0
CommerceBuilder.ECB: 7.0.0.0
CommerceBuilder.FedEx: 7.0.9292.0
CommerceBuilder.FRBNY: 7.0.0.0
CommerceBuilder.GoogleCheckout: 7.0.9243.0
CommerceBuilder.InternetSecure: 7.0.9219.0
CommerceBuilder.LinkPoint: 7.0.9195.0
CommerceBuilder.Paradata: 7.0.9206.0
CommerceBuilder.PayFlowPro: 7.0.9198.0
CommerceBuilder.PayJunction: 7.0.9197.0
CommerceBuilder.PayPal: 7.0.9354.0
CommerceBuilder.Services: 7.0.9344.0
CommerceBuilder.SkipJack: 7.0.9194.0
CommerceBuilder.UPS: 7.0.8695.0
CommerceBuilder.USPS: 7.0.8568.0
CommerceBuilder.Web: 7.0.9344.0
ComponentArt.Web.UI: 2007.1.1566.3
CyberSource.Base: 2.0.0.0
CyberSource.Clients: 5.0.2.0
CyberSource.Clients.XmlSerializers: 5.0.2.0
CyberSource.WSSecurity: 2.0.0.0
CybsWSSecurityIOP: 1.0.0.0
edtFTPnet: 1.2.4.0
FredCK.FCKeditorV2: 2.2.2833.20809
ICSharpCode.SharpZipLib: 0.85.1.271
LinkPointTransaction: 1.0.1797.29766
log4net: 1.2.10.0
Microsoft.Practices.EnterpriseLibrary.Common: 2.0.0.0
Microsoft.Practices.EnterpriseLibrary.Data: 2.0.0.0
Microsoft.Practices.ObjectBuilder: 1.0.51205.0
Microsoft.Web.Preview: 1.2.61025.0
NVelocity: 7.0.8530.0
PaygatewayNET: 3.0.0.0
paypal_base: 4.2.1.0
PFProCOMLib: 1.0.0.0
PFProdotNET: 0.0.0.0
Validators: 1.0.0.0
WebChart: 1.1.1.6
wwHoverPanel: 1.60.0.0

Thanks.

User avatar
mazhar
Master Yoda
Master Yoda
Posts: 5084
Joined: Wed Jul 09, 2008 8:21 am
Contact:

Re: SR-1 Upgrade Error

Post by mazhar » Wed Oct 29, 2008 12:11 pm

The line number shown by the error have the following statement

Code: Select all

decimal minOrderAmount = settings.OrderMinimumAmount;
It seems that in your case the minOrderAmount is of type int instead of decimal. It could be due customization or mistake in upgrade.
Here is the upgrade instructions please follow these instructions
http://help.ablecommerce.com/upgrades/a ... sp.net.htm

sfeher
Captain (CAPT)
Captain (CAPT)
Posts: 220
Joined: Fri Jun 04, 2004 1:58 pm
Location: Steubenville, Ohio

Re: SR-1 Upgrade Error

Post by sfeher » Fri Mar 25, 2011 10:47 pm

Having this same error -- cannot find a solution.

Migrating a store with the same conditions. Original installation was build 9879. Attempted to perform a straight migration from a GoDaddy server to our own data center.
I received the same error reported here.

[[ConLib:Basket]] c:\Websites\Client\ConLib\Basket.ascx.cs(115): error CS0266: Cannot implicitly convert type 'decimal' to 'int'. An explicit conversion exists (are you missing a cast?)

What's frustrating is several things:
1.) This same source code works on the still live website.
2.) The db and code was just copied over -- no other edits were made.
3.) Attempts to follow the updates that are recommended either fail or create different errors.

Has this been reasonably solved? Any further recommendations?
I can give live URLs if that would help.....

Thanks!
Steve

Post Reply