HomeHome Product Discus... Product Discus...SmithCartSmithCartErrors when deleting items from cartErrors when deleting items from cart
Previous
 
Next
New Post
11/29/2010 7:13 AM
 

I know it's an ongoing issue, but I still get a couple of complaints a day about errors in the cart.

Here's a snippet from the event log:

AssemblyVersion: 5.5.1
PortalID: 0
PortalName: Advantage Emblem
UserID: -1
UserName:
ActiveTabID: 327
ActiveTabName: Product Details
RawURL: /ProductDetails/tabid/327/ProductID/1564/Default.aspx
AbsoluteURL: /Default.aspx
AbsoluteURLReferrer: https://www.advantageemblem.com/ProductDetails/tabid/327/ProductID/1564/Default.aspx
UserAgent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; .NET CLR 1.1.4322)
DefaultDataProvider: DotNetNuke.Data.SqlDataProvider, DotNetNuke.SqlDataProvider
ExceptionGUID: 564581dc-c9a6-49f0-ac0c-9b54b9652514
InnerException: Object reference not set to an instance of an object.
FileName:
FileLineNumber: 0
FileColumnNumber: 0
Method: Smith.DNN.Modules.BuyNow.MyCart.SaveToCartTable
StackTrace:
Message: DotNetNuke.Services.Exceptions.PageLoadException: Object reference not set to an instance of an object. ---> System.NullReferenceException: Object reference not set to an instance of an object. at Smith.DNN.Modules.BuyNow.MyCart.SaveToCartTable(DataTable myProductList) at Smith.DNN.Modules.ProductDetail.ProductDetails.AddToCart(Int32 ProductID, Decimal Quantity, Decimal price, Boolean isRequired, Int32 bundleID, Boolean inBundle, Decimal myWeight, Int32 catID) at Smith.DNN.Modules.ProductDetail.ProductDetails.ibAddtoCart_Click(Object sender, ImageClickEventArgs e) at System.Web.UI.WebControls.ImageButton.OnClick(ImageClickEventArgs e) at System.Web.UI.WebControls.ImageButton.RaisePostBackEvent(String eventArgument) at System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument) at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) --- End of inner exception stack trace ---
Source:
Server Name: WEBSERVER2010

It *Seems* to happen when things are deleted from the cart. I will try to replicate.....

 
New Post
11/29/2010 7:17 AM
 

Here is information that seems to be specific to deleting information from the cart:

AssemblyVersion: 5.5.1
PortalID: 0
PortalName: Advantage Emblem
UserID: 22576
UserName: gshh2_3_4
ActiveTabID: 84
ActiveTabName: Stock Patch Store
RawURL: /Home/StockPatchStore/tabid/84/ctl/SavedCart/mid/931/Default.aspx
AbsoluteURL: /Default.aspx
AbsoluteURLReferrer: https://www.advantageemblem.com/Home/StockPatchStore/tabid/84/ctl/SavedCart/mid/931/Default.aspx
UserAgent: Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US; rv:1.9.2.12) Gecko/20101026 AskTbMMG/3.9.1.14019 Firefox/3.6.12 ( .NET CLR 3.5.30729; .NET4.0C) PBSTB/1.2
DefaultDataProvider: DotNetNuke.Data.SqlDataProvider, DotNetNuke.SqlDataProvider
ExceptionGUID: 9606e8b5-56a2-42b5-9347-356cf6751c3f
InnerException: Deleted row information cannot be accessed through the row.
FileName:
FileLineNumber: 0
FileColumnNumber: 0
Method: System.Data.DataRow.GetDefaultRecord
StackTrace:
Message: DotNetNuke.Services.Exceptions.PageLoadException: Deleted row information cannot be accessed through the row. ---> System.Data.DeletedRowInaccessibleException: Deleted row information cannot be accessed through the row. at System.Data.DataRow.GetDefaultRecord() at System.Data.DataRow.get_Item(String columnName) at Smith.DNN.Modules.BuyNow.SavedCart.MoveToCart(Int32 CartID) at Smith.DNN.Modules.BuyNow.SavedCart.grdSavedCart_RowCommand(Object sender, GridViewCommandEventArgs e) at System.Web.UI.WebControls.GridView.HandleEvent(EventArgs e, Boolean causesValidation, String validationGroup) at System.Web.UI.WebControls.GridView.RaisePostBackEvent(String eventArgument) at System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument) at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) --- End of inner exception stack trace ---
Source:
Server Name: WEBSERVER2010

If I had to guess, it's not deleting successfully from both the in-memory table and the SQL table, and one of them is re-loading and looking for a row that is no longer there. OR, perhaps, it's getting a count of rows that is stale, and so it's going past the EOF on the recordset.

 
New Post
11/29/2010 10:17 AM
 

Thanks for posting the dnn event viewer error that helps can you outline the steps to replicate the error as I just deleted a few items in the cart without receiving the error.

-Scott


Scott Kelly
Project Manager
DotNetNuke Consulting, DotNetNuke Store and DNN Ecommerce
 
Previous
 
Next
HomeHome Product Discus... Product Discus...SmithCartSmithCartErrors when deleting items from cartErrors when deleting items from cart