HomeHome Product Discus... Product Discus...SmithCartSmithCart3.88 Add To Cart From BuyNow Page Error3.88 Add To Cart From BuyNow Page Error
Previous
 
Next
New Post
4/1/2011 12:28 PM
 

When I try to add a product to the cart from the BuyNow page I get the following error:

RawURL: /Resources/Store.aspx
AbsoluteURL: /Default.aspx
AbsoluteURLReferrer: http://www.nchh.org/Resources/Store.aspx
UserAgent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/534.16 (KHTML, like Gecko) Chrome/10.0.648.204 Safari/534.16
DefaultDataProvider: DotNetNuke.Data.SqlDataProvider, DotNetNuke.SqlDataProvider
ExceptionGUID: 4b4e3cfb-2ada-418d-be76-2acd97fd1de5
InnerException: Value cannot be null. Parameter name: key
FileName: 
FileLineNumber: 0
FileColumnNumber: 0
Method: System.ThrowHelper.ThrowArgumentNullException
StackTrace: 
Message: DotNetNuke.Services.Exceptions.PageLoadException: Value cannot be null. Parameter name: key ---> System.ArgumentNullException: Value cannot be null. Parameter name: key at System.ThrowHelper.ThrowArgumentNullException(ExceptionArgument argument) at System.Collections.Generic.SortedList`2.IndexOfKey(TKey key) at System.Collections.Generic.SortedList`2.ContainsKey(TKey key) at r2i.OWS.Wrapper.DNN.SkinObject.OnModuleCommunication(Object s, ModuleCommunicationEventArgs e) at DotNetNuke.Entities.Modules.Communications.ModuleCommunicationEventHandler.Invoke(Object sender, ModuleCommunicationEventArgs e) at Smith.DNN.Modules.BuyNow.ProductsList.btnAddBasket_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:

This happens from the featured products module or from the product listing module on the main buy now page. When I add from the product detail page it works fine. Any ideas?

Thanks,

Bryan

 
New Post
4/2/2011 3:07 AM
 
Try checking your product setup and make sure you have entered a manufacturer, category, weight, etc.

At your service,
Dave Smith
DotNetNuke Consulting, DotNetNuke Store and DNN Ecommerce
 
New Post
4/4/2011 6:34 AM
 

FYI: In my product module settings I had Use Mini-Cart checked. Unchecking that box fixed the problem. I'm sure it was trying to add the product to somewhere that didn't exist.

 

Bryan

 
New Post
4/4/2011 7:38 PM
 
Glad to hear you fixed the issue!!
 
New Post
4/6/2011 9:00 AM
 

THe mini-cart must also be configured with the page that has your BuyNow module on it.

 

 
Previous
 
Next
HomeHome Product Discus... Product Discus...SmithCartSmithCart3.88 Add To Cart From BuyNow Page Error3.88 Add To Cart From BuyNow Page Error