HomeHome Product Discus... Product Discus...SmithCartSmithCart2.92: Save order changes throws error2.92: Save order changes throws error
Previous
 
Next
New Post
6/10/2010 12:37 PM
 

I just upgraded to 2.92 (without errors) and then tried something that was broken back in 2.89.

When I go into an order and try to change the status of the order from Open to Shipped, I get sent back to the home page with a message "A critical error has occurred. Input string was not in a correct format." and it logs the following error:

AssemblyVersion: 5.2.3
PortalID: 0
PortalName: Irrigator Nasal Spray
UserID: 1
UserName: host
ActiveTabID: 40
ActiveTabName: Home
RawURL: /Home/tabid/40/ctl/ManageOrderDetail/mid/389/Default.aspx
AbsoluteURL: /Default.aspx
AbsoluteURLReferrer: https://www.irrigatornasalspray.com/Home/tabid/40/ctl/ManageOrderDetail/mid/389/Default.aspx
UserAgent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.2.3) Gecko/20100401 Firefox/3.6.3
DefaultDataProvider: DotNetNuke.Data.SqlDataProvider, DotNetNuke.SqlDataProvider
ExceptionGUID: ff9b2400-0284-4371-8d31-ae716b140cab
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 System.Convert.ToInt32(String value) at Smith.DNN.Modules.BuyNow.ManageOrderDetail.btnSave_Click(Object sender, EventArgs e) at System.EventHandler.Invoke(Object sender, EventArgs e) at System.Web.UI.WebControls.Button.OnClick(EventArgs e) at System.Web.UI.WebControls.Button.RaisePostBackEvent(String eventArgument) at System.Web.UI.WebControls.Button.System.Web.UI.IPostBackEventHandler.RaisePostBackEvent(String eventArgument) at System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument) at System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData) at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) --- End of inner exception stack trace ---
Source:
Server Name: P3NW8SHSSL017

I confirmed that the latest copy of the ManageOrderDetail control was installed and is loading, so it's not missing a field. I even put zeros in the Affiliate ID, Other Phone, Tracking Number and Transaction ID fields thinking that it may not be checking for blanks on those. Still the same error.

It seems like something in btnSave_Click() is doing a Convert.ToInt32() on a string but there is no way for me to tell which string it's trying to convert into an int.

It happens when I am logged in as host or admin, the only accounts with access to the permissions.

 
New Post
6/10/2010 2:44 PM
Accepted Answer 

Programming did fix a bug on the manage order detail page if you enter a coupon code that was non integer. This may fix the issue you reported. Cart version 2.93 will be released tomorrow with this hotfix in it.

-Scott


Scott Kelly
Project Manager
DotNetNuke Consulting, DotNetNuke Store and DNN Ecommerce
 
Previous
 
Next
HomeHome Product Discus... Product Discus...SmithCartSmithCart2.92: Save order changes throws error2.92: Save order changes throws error