HomeHome Product Discus... Product Discus...SmithCartSmithCartError after deleting All Items from cartError after deleting All Items from cart
Previous
 
Next
New Post
1/19/2010 12:48 PM
 

I get an error after I remove all items from my cart. After doing so, it automatically redirects me to the products listing page. On this page I recieve the error message "A critical error has occurred." Object reference not set to an instance of an object.

The event log has captured this error. It indicated that it is due to UPS shipping (I have no shipping setup as my product is a direct download)... I will post a reply to this as it is long.

I am running DNN 5.2 and Smith Cart 2.44.14

Dave has tried to help me but said he is unable to reproduce this. My site is pretty much a new install, installed by powerdnn.com. I have 3 modules total installed.

1) Dynamic Forms by DataSprings

2) Smith Cart 2.44.14

3)Flex2 By Dr. Nuke

I am not sure if any of these conflict or not. Has anyone had this issue or might have a suggestion to help me with this error? Thanks!!

Shaun

 
New Post
1/19/2010 12:55 PM
 

AssemblyVersion: 5.2.0
PortalID: 0
PortalName: <i removed this>
UserID: 1
UserName: host
ActiveTabID: 82
ActiveTabName: ProductList
RawURL: /ProductList/tabid/82/ctl/Cart/mid/452/Default.aspx?productid=1
AbsoluteURL: /Default.aspx
AbsoluteURLReferrer: <i removed this>/ProductList/tabid/82/ctl/Cart/mid/452/Default.aspx?productid=1
UserAgent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 5.1; Trident/4.0; .NET CLR 2.0.50727; .NET CLR 3.0.04506.648; .NET CLR 3.5.21022; .NET CLR 3.0.4506.2152; .NET CLR 3.5.30729; .NET CLR 1.1.4322; InfoPath.1)
DefaultDataProvider: DotNetNuke.Data.SqlDataProvider, DotNetNuke.SqlDataProvider
ExceptionGUID: ec6b5adf-94f4-4210-8e56-4ad2f7adf6a3
InnerException: Object reference not set to an instance of an object.
FileName:
FileLineNumber: 0
FileColumnNumber: 0
Method: Smith.DNN.Modules.BuyNow.Cart.BuildUPSRequest
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.Cart.BuildUPSRequest(String accessKey, String userId, String password) at Smith.DNN.Modules.BuyNow.Cart.GetUPSRates() at Smith.DNN.Modules.BuyNow.Cart.GetShippingRates() at Smith.DNN.Modules.BuyNow.Cart.CalShippingRates() at Smith.DNN.Modules.BuyNow.Cart.grdFinal_RowDeleting(Object sender, GridViewDeleteEventArgs e) at System.Web.UI.WebControls.GridView.OnRowDeleting(GridViewDeleteEventArgs e) at System.Web.UI.WebControls.GridView.HandleDelete(GridViewRow row, Int32 rowIndex) at System.Web.UI.WebControls.GridView.HandleEvent(EventArgs e, Boolean causesValidation, String validationGroup) at System.Web.UI.WebControls.GridView.OnBubbleEvent(Object source, EventArgs e) at System.Web.UI.Control.RaiseBubbleEvent(Object source, EventArgs args) at System.Web.UI.WebControls.GridViewRow.OnBubbleEvent(Object source, EventArgs e) at System.Web.UI.Control.RaiseBubbleEvent(Object source, EventArgs args) at System.Web.UI.WebControls.Button.OnCommand(CommandEventArgs e) at System.Web.UI.WebControls.Button.RaisePostBackEvent(String eventArgument) 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(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) --- End of inner exception stack trace ---
Source:
Server Name: GENERIC73

 
New Post
1/19/2010 2:10 PM
 

In the cart settings do you have any ship methods selected for UPS?


At your service,
Dave Smith
DotNetNuke Consulting, DotNetNuke Store and DNN Ecommerce
 
New Post
1/19/2010 6:38 PM
 

That did the trick. In the settings section, there were multiple carriers selected. I unchecked them all and now do not receive the error. Thanks for the help!

 
New Post
6/12/2010 11:52 AM
 

I'm getting the same error, but we don't charge for shipping. What should I check?

 
New Post
6/12/2010 12:20 PM
 

What version of the cart are you running?


At your service,
Dave Smith
DotNetNuke Consulting, DotNetNuke Store and DNN Ecommerce
 
New Post
6/13/2010 6:17 AM
 

Smith Shopping Cart module 2.76.0
Smith CategoryMenu 2.74.0
Smith FeaturedProducts 2.74.0
Smith MiniCart 2.74.0
Smith MyAccount 2.76.0

 
New Post
6/13/2010 11:26 AM
 

Can you post the link to your store and the error you get from the dnn event viewer?

 
New Post
6/14/2010 3:30 AM
 

https://www.vbioc.com/Default.aspx?tabid=688

AssemblyVersion: 5.2.3
PortalID: 11
PortalName: VBI Off-Campus
UserID: -1
UserName:
ActiveTabID: 688
ActiveTabName: DVD
RawURL: /Courses/DVD/tabid/688/ctl/Cart/mid/1920/Default.aspx?ProductID=4
AbsoluteURL: /Default.aspx
AbsoluteURLReferrer: https://www.vbioc.com/Courses/DVD/tabid/688/ctl/Cart/mid/1920/Default.aspx?ProductID=4
UserAgent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.0; Trident/4.0; GTB6.5; SLCC1; .NET CLR 2.0.50727; .NET CLR 3.5.30729; InfoPath.2; .NET CLR 3.0.30729; OfficeLiveConnector.1.5; OfficeLivePatch.1.3)
DefaultDataProvider: DotNetNuke.Data.SqlDataProvider, DotNetNuke.SqlDataProvider
ExceptionGUID: f758b744-87c1-4416-8d7a-6e9fc9189f10
InnerException: Object reference not set to an instance of an object.
FileName:
FileLineNumber: 0
FileColumnNumber: 0
Method: Smith.DNN.Modules.BuyNow.Cart.GetUSPSRates
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.Cart.GetUSPSRates() at Smith.DNN.Modules.BuyNow.Cart.GetShippingRates() at Smith.DNN.Modules.BuyNow.Cart.CalShippingRates() at Smith.DNN.Modules.BuyNow.Cart.btnUpdate_Click(Object sender, EventArgs e) at System.Web.UI.WebControls.Button.OnClick(EventArgs e) at System.Web.UI.WebControls.Button.RaisePostBackEvent(String eventArgument) 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(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) --- End of inner exception stack trace ---
Source:
Server Name:

 
New Post
6/16/2010 6:28 AM
 

I got this working...

1) installed BuyNow on a test server

2) updated the database tables/stored procedures to match the clean install

3) copied all the libraries and ASP.Net files (this fixed my other database related errors)

4) saved the module settings (this error didn't clear until I did this)

It seems like the 2.74 to 2.76 update did not work well at all.

 
New Post
6/16/2010 1:56 PM
 

Nice work! I'm glad you got it worked out.

-Scott


Scott Kelly
Project Manager
DotNetNuke Consulting, DotNetNuke Store and DNN Ecommerce
 
Previous
 
Next
HomeHome Product Discus... Product Discus...SmithCartSmithCartError after deleting All Items from cartError after deleting All Items from cart