HomeHome Product Discus... Product Discus...SmithCartSmithCartInput string not in a correct format.Input string not in a correct format.
Previous
 
Next
New Post
3/12/2012 1:46 PM
 
Just downloaded this product and installed on a clean install of DNN. After adding my first product to this cart, I get the following error after clicking on the product detail page: AssemblyVersion: 6.1.3 PortalID: 0 UserID: 1 UserName: host ActiveTabID: 88 ActiveTabName: Product Detail RawURL: /dotnetnuke/Default.aspx?tabid=88&ProductID=1 AbsoluteURL: /dotnetnuke/Default.aspx UserAgent: Mozilla/5.0 (compatible; MSIE 9.0; Windows NT 6.1; WOW64; Trident/5.0) DefaultDataProvider: DotNetNuke.Data.SqlDataProvider, DotNetNuke.SqlDataProvider ExceptionGUID: 87097bd8-e5f7-488a-ad70-29e3d0019af9 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.ParseInt32(String s, NumberStyles style, NumberFormatInfo info) at Smith.DNN.Modules.ProductDetail.ProductDetails.Page_Load(Object sender, EventArgs e) at System.Web.Util.CalliHelper.EventArgFunctionCaller(IntPtr fp, Object o, Object t, 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.Control.LoadRecursive() at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) --- End of inner exception stack trace ---
 
New Post
3/12/2012 2:35 PM
 
Found a similar post and corrected the issue. Had to add 'Buy it Now' page setting. Maybe it would be good to check for this setting instead of throwing that exception? Just a though.
 
New Post
3/12/2012 2:55 PM
 
So I got that fixed, now the Buy it now page has this error:

AssemblyVersion: 6.1.3

PortalID: 0

PortalName: Psi Chi

UserID: 1

UserName: host

ActiveTabID: 89

ActiveTabName: Buy Now

RawURL: /dotnetnuke/BuyNow/tabid/89/ctl/Cart/mid/452/Default.aspx

AbsoluteURL: /dotnetnuke/Default.aspx

AbsoluteURLReferrer: http://10.1.10.224/dotnetnuke/ProductDetail/tabid/88/ProductID/3/Default.aspx

UserAgent: Mozilla/5.0 (compatible; MSIE 9.0; Windows NT 6.1; WOW64; Trident/5.0)

DefaultDataProvider: DotNetNuke.Data.SqlDataProvider, DotNetNuke.SqlDataProvider

ExceptionGUID: c487f8fb-7d1a-4743-854d-f3ad3ba98bb8

InnerException: Object reference not set to an instance of an object.

FileName:

FileLineNumber: 0

FileColumnNumber: 0

Method: Smith.DNN.Modules.BuyNow.Cart.bindgrdQuoteDetails

StackTrace:

Message: DotNetNuke.Services.Exceptions.PageLoadException: Object reference not set to an instance of an object. ---> System.NullReferenceException: Object reference not set to an instance of an object. at Smith.DNN.Modules.BuyNow.Cart.bindgrdQuoteDetails() 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.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 ---

Source:

Server Name: IISTESTSRV
 
New Post
3/12/2012 5:38 PM
 
Hello,

Which version of SmithCart are you currently running?

Have you set the ProductDetails Page Name in the Cart Settings?

Thanks,
 
New Post
3/13/2012 6:01 AM
 

I have the latest version. I have resolved that issue. I had setup 2 Buy Now pages and had the wrong on setup for the details page.

 
New Post
3/13/2012 4:52 PM
 
Hello,

Glad this issue has been resolved and thank you from posting back with the solution.

When posting to the forum, please include the module version and DNN version you are running so anyone else viewing the thread in the future can use these posts for references in case the issue you are reporting exists only on specific versions of the software.

Thanks,
 
Previous
 
Next
HomeHome Product Discus... Product Discus...SmithCartSmithCartInput string not in a correct format.Input string not in a correct format.