HomeHome Product Discus... Product Discus...SmithCartSmithCartA critical error has occurred. Input string was not in a correct format. A critical error has occurred. Input string was not in a correct format.
Previous
 
Next
New Post
4/23/2012 10:59 AM
 

Hi - hoping you can help us find the problem.  It happens after we try to calculate shipping within the cart. We have Shipping Calculator turned on for USPS. We are on DNN 6.01.05; and Smith Cart 4.93   Thank you.

AssemblyVersion: 6.1.5

PortalID: 0

PortalName: Party Pig

UserID: -1

UserName:

ActiveTabID: 84

ActiveTabName: Store

RawURL: /Store/tabid/84/ctl/Cart/mid/475/Default.aspx

AbsoluteURL: /Default.aspx

AbsoluteURLReferrer: http://develop.partypig.com/Default.aspx?tabid=84&error=An%20unexpected%20error%20has%20occurred

UserAgent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 5.2; Trident/4.0; .NET CLR 1.1.4322; .NET CLR 2.0.50727; .NET CLR 3.0.4506.2152; .NET CLR 3.5.30729)

DefaultDataProvider: DotNetNuke.Data.SqlDataProvider, DotNetNuke.SqlDataProvider

ExceptionGUID: 86b64698-0449-4757-8084-e592c87c4718

InnerException: Input string was not in a correct format.

FileName:

FileLineNumber: 0

FileColumnNumber: 0

Method: System.Number.StringToNumber

StackTrace:

Message: DotNetNuke.Services.Exceptions.PageLoadException: Input string was not in a correct format. ---> System.FormatException: Input string was not in a correct format. at System.Number.StringToNumber(String str, NumberStyles options, NumberBuffer& number, NumberFormatInfo info, Boolean parseDecimal) at System.Number.ParseDecimal(String value, NumberStyles options, NumberFormatInfo numfmt) at System.Convert.ToDecimal(String value) at Smith.DNN.Modules.BuyNow.Cart.bindShippingRates() at Smith.DNN.Modules.BuyNow.Cart.CalShippingRates() at Smith.DNN.Modules.BuyNow.Cart.SetShippingPanel() at Smith.DNN.Modules.BuyNow.Cart.InitializeShipping() at Smith.DNN.Modules.BuyNow.Cart.Page_Load(Object sender, EventArgs e) at System.Web.Util.CalliHelper.EventArgFunctionCaller(IntPtr fp, Object o, Object t, EventArgs e) at System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e) at System.Web.UI.Control.OnLoad(EventArgs e) at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) --- End of inner exception stack trace ---

 
New Post
4/23/2012 8:28 PM
 
Hi Jenny,

Is this a clean installation or an upgrade?

Also, which Shipping Methods do you have selected for the USPS Shipping Calculator?

Thanks,
 
New Post
4/23/2012 9:17 PM
 

Hi Kevin,  to answer your questions:

This was a clean install a week or more ago.  We have close to all the shipping methods turned on in the USPS Shipping calculator - so my client can see which methods come closest to their needs.

But - because of your questions - I removed all put priority mail and parcel post.  The error has resolved itself.

For future reference - what did we do incorrectly? One of the USPS shipping methods was not initialized correctly is my guess or had other dependancies.

 Thanks much for your help.

Jenny

 
New Post
4/25/2012 3:12 PM
 
Hi Jenny,

Not sure what was causing the issue as I had also added all the Shipping Methods and was not able to replicate the issue you reported. Please let us know if the issue returns.

Thanks,
 
Previous
 
Next
HomeHome Product Discus... Product Discus...SmithCartSmithCartA critical error has occurred. Input string was not in a correct format. A critical error has occurred. Input string was not in a correct format.