|
Home > Archive > Commerce Server General > September 2005 > error in commerce server
You are viewing an archived Text-only version of the thread.
To view this thread in it's original format and/or if you want to reply to
this thread please [click here]
| Author |
error in commerce server
|
|
|
| I am getting this error in my production box any input is appreciated
An error occured while processing the request. Request Url:
https://www.jwod.com/payment.aspx? ...D123F282012BBE0
0C93DF3F583BE99057661ADBB9CF38D96BCE2832
B829A1076488187930361B81EAFFE00E7701C3F9
8749B2E69B9F3AED4D381B2975448DB1005C44F5
28B8
Stack Trace: System.Web.HttpUnhandledException: Exception of type
System.Web.HttpUnhandledException was thrown. --->
Microsoft.CommerceServer.Runtime.Orders.CommerceOrderSystemException: Failed
to retrieve item #0 from the line item collection. --->
Microsoft.CommerceServer.Runtime.CommerceException: GetItemInfo Failed. --->
System.Runtime.InteropServices.COMException (0x8002000B): Invalid index.
at Microsoft.CommerceServer.Runtime.ISimpleList.get_Item(Int32 Index)
at
Microsoft.CommerceServer.Interop.Orders.OrderGroupFreeThreaded.GetItemInfo(Int32 nItemIndex, Object strOrderFormName)
--- End of inner exception stack trace ---
at
Microsoft.CommerceServer.Internal.Common.Util.ThrowCommerceException(String
message, Exception inner, String source)
at
Microsoft.CommerceServer.Interop.Orders.OrderGroupFreeThreaded.GetItemInfo(Int32 nItemIndex, Object strOrderFormName)
at Microsoft.CommerceServer.Runtime.Orders.LineItemCollection.get_Item(Int32
itemIndex)
--- End of inner exception stack trace ---
at Microsoft.CommerceServer.Site.Payment.btnPurchase_Click(Object sender,
EventArgs e)
at System.Web.UI.WebControls.Button.OnClick(EventArgs e)
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()
--- End of inner exception stack trace ---
at System.Web.UI.Page.HandleError(Exception e)
at System.Web.UI.Page.ProcessRequestMain()
at System.Web.UI.Page.ProcessRequest()
at System.Web.UI.Page.ProcessRequest(HttpContext context)
at System.Web.CallHandlerExecutionStep.Execute()
at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean&
completedSynchronously)
| |
| Ravi Shankar 2005-09-08, 7:52 am |
| You're using a "0" as an index into the LineItems collection... either use a
for each lineitem in orderform.lineitems or start from 1.
--
Ravi Shankar
"vensi" wrote:
> I am getting this error in my production box any input is appreciated
>
> An error occured while processing the request. Request Url:
> https://www.jwod.com/payment.aspx? ...82D123F282012BB
E00C93DF3F583BE99057661ADBB9CF38D96BCE28
32B829A1076488187930361B81EAFFE00E7701C3
F98749B2E69B9F3AED4D381B2975448DB1005C44
F528B8
> Stack Trace: System.Web.HttpUnhandledException: Exception of type
> System.Web.HttpUnhandledException was thrown. --->
> Microsoft.CommerceServer.Runtime.Orders.CommerceOrderSystemException: Failed
> to retrieve item #0 from the line item collection. --->
> Microsoft.CommerceServer.Runtime.CommerceException: GetItemInfo Failed. --->
> System.Runtime.InteropServices.COMException (0x8002000B): Invalid index.
> at Microsoft.CommerceServer.Runtime.ISimpleList.get_Item(Int32 Index)
> at
> Microsoft.CommerceServer.Interop.Orders.OrderGroupFreeThreaded.GetItemInfo(Int32 nItemIndex, Object strOrderFormName)
> --- End of inner exception stack trace ---
> at
> Microsoft.CommerceServer.Internal.Common.Util.ThrowCommerceException(String
> message, Exception inner, String source)
> at
> Microsoft.CommerceServer.Interop.Orders.OrderGroupFreeThreaded.GetItemInfo(Int32 nItemIndex, Object strOrderFormName)
> at Microsoft.CommerceServer.Runtime.Orders.LineItemCollection.get_Item(Int32
> itemIndex)
> --- End of inner exception stack trace ---
> at Microsoft.CommerceServer.Site.Payment.btnPurchase_Click(Object sender,
> EventArgs e)
> at System.Web.UI.WebControls.Button.OnClick(EventArgs e)
> 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()
> --- End of inner exception stack trace ---
> at System.Web.UI.Page.HandleError(Exception e)
> at System.Web.UI.Page.ProcessRequestMain()
> at System.Web.UI.Page.ProcessRequest()
> at System.Web.UI.Page.ProcessRequest(HttpContext context)
> at System.Web.CallHandlerExecutionStep.Execute()
> at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean&
> completedSynchronously)
>
|
|
|
|
|