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

Episerver6CommerceManager.

Vote:
 

Hi Team,

Please help as it is urgent for the below error, i am getting this error when i am Clicking on a particular order in commerce manager in Epi6 configuration

--

Server Error in '/' Application.

ArgumentOutOfRange_Index
Parameter name: index

Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

Exception Details: System.ArgumentOutOfRangeException: ArgumentOutOfRange_Index
Parameter name: index

Source Error:

An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.

Stack Trace:


[ArgumentOutOfRangeException: ArgumentOutOfRange_Index
Parameter name: index]
Mediachase.Commerce.Storage.StorageCollectionBase.System.Collections.IList.get_Item(Int32 index) +275
Mediachase.Commerce.Orders.Shipment.GetShipmentLineItems(Shipment shipment) +295
Mediachase.Commerce.Manager.Apps.Order.Modules.d__4.MoveNext() +807
Mediachase.Commerce.Manager.Apps.Order.Modules.RelatedEntityView.LoadDataAndDataBind() +315
Mediachase.Commerce.Manager.Apps.Order.Modules.ObjectRepeater.MakeDataBindColl(ControlCollection coll, Object obj) +176
Mediachase.Commerce.Manager.Apps.Order.Modules.ObjectRepeater.MakeDataBindColl(ControlCollection coll, Object obj) +231
Mediachase.Commerce.Manager.Apps.Order.Modules.ObjectRepeater.MakeDataBindColl(ControlCollection coll, Object obj) +231
Mediachase.Commerce.Manager.Apps.Order.Modules.ObjectRepeater.MakeDataBindColl(ControlCollection coll, Object obj) +231
Mediachase.BusinessFoundation.XmlFormBuilder.OnInnerDataBind(Object sender, EventArgs e) +134
Mediachase.BusinessFoundation.XmlFormBuilder.CreateChildControls(IEnumerable dataSource, Boolean dataBinding) +225
System.Web.UI.WebControls.CompositeDataBoundControl.PerformDataBinding(IEnumerable data) +94
System.Web.UI.WebControls.DataBoundControl.OnDataSourceViewSelectCallback(IEnumerable data) +182
System.Web.UI.WebControls.DataBoundControl.PerformSelect() +274
System.Web.UI.WebControls.Repeater.CreateItem(Int32 itemIndex, ListItemType itemType, Boolean dataBind, Object dataItem) +204
System.Web.UI.WebControls.Repeater.CreateControlHierarchy(Boolean useDataSource) +627
System.Web.UI.WebControls.Repeater.OnDataBinding(EventArgs e) +167
Mediachase.Commerce.Manager.Apps.Order.Modules.ObjectRepeater.DataBind() +297
Mediachase.Commerce.Manager.Apps.Order.Modules.OrderView.MakeDataBindColl(ControlCollection coll, Object obj) +176
Mediachase.Commerce.Manager.Apps.Order.Modules.OrderView.MakeDataBindColl(ControlCollection coll, Object obj) +231
Mediachase.Commerce.Manager.Apps.Order.Modules.OrderView.MakeDataBindColl(ControlCollection coll, Object obj) +231
Mediachase.Commerce.Manager.Apps.Order.Modules.OrderView.MakeDataBindColl(ControlCollection coll, Object obj) +231
Mediachase.Commerce.Manager.Apps.Order.Modules.OrderView.MakeDataBindColl(ControlCollection coll, Object obj) +231
Mediachase.Commerce.Manager.Apps.Order.Modules.OrderView.MakeDataBindColl(ControlCollection coll, Object obj) +231
Mediachase.Commerce.Manager.Apps.Order.Modules.OrderView.MakeDataBindColl(ControlCollection coll, Object obj) +231
Mediachase.BusinessFoundation.XmlFormBuilder.OnInnerDataBind(Object sender, EventArgs e) +134
Mediachase.BusinessFoundation.XmlFormBuilder.CreateChildControls(IEnumerable dataSource, Boolean dataBinding) +225
System.Web.UI.WebControls.CompositeDataBoundControl.PerformDataBinding(IEnumerable data) +94
System.Web.UI.WebControls.DataBoundControl.OnDataSourceViewSelectCallback(IEnumerable data) +182
System.Web.UI.WebControls.DataBoundControl.PerformSelect() +274
Mediachase.Commerce.Manager.Apps.Order.Modules.OrderView.Page_Load(Object sender, EventArgs e) +1291
System.Web.Util.CalliHelper.EventArgFunctionCaller(IntPtr fp, Object o, Object t, EventArgs e) +25
System.Web.UI.Control.LoadRecursive() +71
System.Web.UI.Control.LoadRecursive() +190
System.Web.UI.Control.LoadRecursive() +190
System.Web.UI.Control.LoadRecursive() +190
System.Web.UI.Control.LoadRecursive() +190
System.Web.UI.Control.LoadRecursive() +190
System.Web.UI.Control.LoadRecursive() +190
System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +3064

Thanks & Regards,

Neha Ladia.

#178159
May 03, 2017 11:43
Vote:
 

The Shipments' "LineItemIds" field seems to be referencing a line item index that doesn't exist in the list of LineItems connected to the OrderForm for that particular order.

Do you have access to the database directly so that you can perform SQL queries on the Shipment-table and LineItem-table?

#178160
Edited, May 03, 2017 11:52
* 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.