Order details

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.
13 лет назад
Hello,
I have a strange issue when trying to view the order details (below the error stack).
This is happening with any ID (it exists on the DB) opened (example: OrderDetails.aspx?OrderID=3)
Do you have any idea?
Any help will be appreciated.

Thanks, Giuseppe

[FormatException: Input string was not in a correct format.]
   System.Text.StringBuilder.AppendFormat(IFormatProvider provider, String format, Object[] args) +9362001
   System.String.Format(IFormatProvider provider, String format, Object[] args) +107
   System.String.Format(String format, Object arg0) +54
   NopSolutions.NopCommerce.Web.Administration.Modules.OrderDetailsControl.rptrTaxRates_ItemDataBound(Object sender, RepeaterItemEventArgs e) +404
   System.Web.UI.WebControls.Repeater.OnItemDataBound(RepeaterItemEventArgs e) +115
   System.Web.UI.WebControls.Repeater.CreateItem(Int32 itemIndex, ListItemType itemType, Boolean dataBind, Object dataItem) +138
   System.Web.UI.WebControls.Repeater.CreateControlHierarchy(Boolean useDataSource) +478
   System.Web.UI.WebControls.Repeater.OnDataBinding(EventArgs e) +61
   System.Web.UI.WebControls.Repeater.DataBind() +76
   NopSolutions.NopCommerce.Web.Administration.Modules.OrderDetailsControl.BindOrderTotals(Order order) +3226
   NopSolutions.NopCommerce.Web.Administration.Modules.OrderDetailsControl.BindData() +1621
   NopSolutions.NopCommerce.Web.Administration.Modules.OrderDetailsControl.Page_Load(Object sender, EventArgs e) +83
   System.Web.Util.CalliHelper.EventArgFunctionCaller(IntPtr fp, Object o, Object t, EventArgs e) +14
   System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e) +35
   System.Web.UI.Control.OnLoad(EventArgs e) +91
   System.Web.UI.Control.LoadRecursive() +74
   System.Web.UI.Control.LoadRecursive() +146
   System.Web.UI.Control.LoadRecursive() +146
   System.Web.UI.Control.LoadRecursive() +146
   System.Web.UI.Control.LoadRecursive() +146
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +2207
13 лет назад
It seems that you entered wrong tax rates when editing your order details in admin area (admin area > order details page > 'Edit order details' button > 'Tax rates in primary currency' and 'Tax rates in customer currency' textboxes). Tax rate format should be N1:M1;N2:M2; where N is tax rate and M is tax value. For example, "4:5.20;5:0.88;" means that you have the following taxes applied to your order:
Tax 4%: $5.20
Tax 5%: $0.88
13 лет назад
Hello Andrey,
Thanks for the attention to this matter.
Unfortunatelly I am sure it doesn't depend on these settings (untouched and on a fresh install).
I am getting this error either on version 1.8 and 1.9.
Is it possible that this is somehow related to the DB server configuration?
13 лет назад
opso wrote:
Is it possible that this is somehow related to the DB server configuration?

I don't think so. It just needs some debugging in order to know what's wrong - 'rptrTaxRates_ItemDataBound' method in \Modules\OrderDetails.ascx.cs file
This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.