November Happy Hour will be moved to Thursday December 5th.

Clicking on order presents server error

Vote:
 

Hi Guys,

Clicking on any order presents following error in Commerce Manager. Do you have any clue why this is happening?

Any help would be greatly appreciated.

 

[ArgumentOutOfRangeException: ArgumentOutOfRange_Index
Parameter name: index]
   Mediachase.Commerce.Storage.StorageCollectionBase.System.Collections.IList.get_Item(Int32 index) +249
   Mediachase.Commerce.Storage.MetaStorageCollectionBase`1.get_Item(Int32 index) +103
   Mediachase.Commerce.Orders.Shipment.GetShipmentLineItems(Shipment shipment) +450
   Mediachase.Commerce.Manager.Apps.Order.Modules.<GetShipmentLineItems>d__a.MoveNext() +1318
   Mediachase.Commerce.Manager.Apps.Order.Modules.RelatedEntityView.LoadDataAndDataBind() +615
   Mediachase.Commerce.Manager.Apps.Order.Modules.RelatedEntityView.DataBind() +42
   Mediachase.Commerce.Manager.Apps.Order.Modules.ObjectRepeater.MakeDataBindColl(ControlCollection coll, Object obj) +304
   Mediachase.Commerce.Manager.Apps.Order.Modules.ObjectRepeater.MakeDataBindColl(ControlCollection coll, Object obj) +412
   Mediachase.Commerce.Manager.Apps.Order.Modules.ObjectRepeater.MakeDataBindColl(ControlCollection coll, Object obj) +412
   Mediachase.Commerce.Manager.Apps.Order.Modules.ObjectRepeater.MakeDataBindColl(ControlCollection coll, Object obj) +412
   Mediachase.Commerce.Manager.Apps.Order.Modules.ObjectRepeater.objectItem_InnerDataBind(Object sender, EventArgs e) +113
   Mediachase.BusinessFoundation.XmlFormBuilder.OnInnerDataBind(Object sender, EventArgs e) +134
   Mediachase.BusinessFoundation.XmlFormBuilder.CreateChildControls(IEnumerable dataSource, Boolean dataBinding) +214
   System.Web.UI.WebControls.CompositeDataBoundControl.PerformDataBinding(IEnumerable data) +72
   System.Web.UI.WebControls.DataBoundControl.OnDataSourceViewSelectCallback(IEnumerable data) +147
   System.Web.UI.WebControls.DataBoundControl.PerformSelect() +261
   Mediachase.Commerce.Manager.Apps.Order.Modules.ObjectRepeater.ObjRepeater_ItemDataBound(Object sender, RepeaterItemEventArgs e) +473
   System.Web.UI.WebControls.Repeater.CreateControlHierarchy(Boolean useDataSource) +693
   System.Web.UI.WebControls.Repeater.OnDataBinding(EventArgs e) +68
   Mediachase.Commerce.Manager.Apps.Order.Modules.ObjectRepeater.DataBind() +552
   Mediachase.Commerce.Manager.Apps.Order.Modules.OrderView.MakeDataBindColl(ControlCollection coll, Object obj) +304
   Mediachase.Commerce.Manager.Apps.Order.Modules.OrderView.MakeDataBindColl(ControlCollection coll, Object obj) +412
   Mediachase.Commerce.Manager.Apps.Order.Modules.OrderView.MakeDataBindColl(ControlCollection coll, Object obj) +412
   Mediachase.Commerce.Manager.Apps.Order.Modules.OrderView.MakeDataBindColl(ControlCollection coll, Object obj) +412
   Mediachase.Commerce.Manager.Apps.Order.Modules.OrderView.MakeDataBindColl(ControlCollection coll, Object obj) +412
   Mediachase.Commerce.Manager.Apps.Order.Modules.OrderView.MakeDataBindColl(ControlCollection coll, Object obj) +412
   Mediachase.Commerce.Manager.Apps.Order.Modules.OrderView.MakeDataBindColl(ControlCollection coll, Object obj) +412
   Mediachase.Commerce.Manager.Apps.Order.Modules.OrderView.xmlStruct_InnerDataBind(Object sender, EventArgs e) +88
   Mediachase.BusinessFoundation.XmlFormBuilder.OnInnerDataBind(Object sender, EventArgs e) +134
   Mediachase.BusinessFoundation.XmlFormBuilder.CreateChildControls(IEnumerable dataSource, Boolean dataBinding) +214
   System.Web.UI.WebControls.CompositeDataBoundControl.PerformDataBinding(IEnumerable data) +72
   System.Web.UI.WebControls.DataBoundControl.OnDataSourceViewSelectCallback(IEnumerable data) +147
   System.Web.UI.WebControls.DataBoundControl.PerformSelect() +261
   Mediachase.Commerce.Manager.Apps.Order.Modules.OrderView.Page_Load(Object sender, EventArgs e) +2148
   System.Web.Util.CalliHelper.EventArgFunctionCaller(IntPtr fp, Object o, Object t, EventArgs e) +25
   System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e) +42
   System.Web.UI.Control.OnLoad(EventArgs e) +132
   System.Web.UI.Control.LoadRecursive() +66
   System.Web.UI.Control.LoadRecursive() +191
   System.Web.UI.Control.LoadRecursive() +191
   System.Web.UI.Control.LoadRecursive() +191
   System.Web.UI.Control.LoadRecursive() +191
   System.Web.UI.Control.LoadRecursive() +191
   System.Web.UI.Control.LoadRecursive() +191
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +2428
#64734
Jan 08, 2013 14:26
Vote:
 

Could you specify the version of Commerce you're using? How were these orders created? Does this affect new orders as well?

#64825
Jan 10, 2013 17:34
Vote:
 

Try if a index rebuild solves the problem

#64835
Jan 11, 2013 9:29
Vote:
 

We got similar errors before for orders without orderlines (baskets where created for users even they did not add any items), explained here:

http://world.episerver.com/Modules/Forum/Pages/Thread.aspx?id=61874&epslanguage=en

 

In your case it looks like something else is missing regarding shipment. Do you get the same error for all orders?

#64902
Jan 15, 2013 10:36
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.