error in commerce server
Web Server forum
Back To The Forum Home!Search!Private Messaging System

Web Server Talk Web Server Talk > Web Servers reviews > Microsoft Commerce Server > Commerce Server General > error in commerce server




  Last Thread   Next Thread Next
  Show Printable Version Email this Page Subscribe to this Thread      Post New Thread    Post A Reply      

    error in commerce server  
vensi


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
09-07-05 10:52 PM

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? ...r />
82012BBE0
 0C93DF3F583BE99057661ADBB9CF38D96BCE2832
B829A1076488187930361B81EAFFE00E7701
 C3F98749B2E69B9F3AED4D381B2975448DB1005C
44F528B8
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(I
nt32 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(I
nt32 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.RaisePo
stBackEvent(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)






[ Post a follow-up to this message ]



    RE: error in commerce server  
Ravi Shankar


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
09-08-05 12:52 PM

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
F98749B2E69B
 9F3AED4D381B2975448DB1005C44F528B8[vbcol
=seagreen]
> Stack Trace: System.Web.HttpUnhandledException: Exception of type
> System.Web.HttpUnhandledException was thrown. --->
> Microsoft.CommerceServer.Runtime.Orders.CommerceOrderSystemException: Fail
ed
> 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(Strin
g
> message, Exception inner, String source)
> at
> Microsoft.CommerceServer.Interop.Orders.OrderGroupFreeThreaded.GetItemInfo
(Int32 nItemIndex, Object strOrderFormName)
> at Microsoft.CommerceServer.Runtime.Orders.LineItemCollection.get_Item(Int
32
> 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.Raise
PostBackEvent(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)
>[/vbcol]





[ Post a follow-up to this message ]



    Sponsored Links  




 





   All times are GMT. The time now is 11:12 AM.      Post New Thread    Post A Reply      
  Last Thread   Next Thread Next


Most Popular forums 

Forum Jump:
Rate This Thread:

Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is OFF
vB code is ON
Smilies are ON
[IMG] code is OFF
 
Medical and Health forum | Computer Games Reviews | Graphics design forum

Back To The Top
Home | Usercp | Faq | Register