HomeHome Product Discus... Product Discus...SmithCartSmithCartSubscription Item Error once placed in cart with upgrade to 4.42Subscription Item Error once placed in cart with upgrade to 4.42
Previous
 
Next
New Post
7/26/2011 4:04 PM
 
Placing a subscription item in the cart works fine. But when view cart is click you cannot load the cart. The critical error reads "Specified cast is not valid".

This is on DNN 5.6.2 with Smith Cart 4.42. This didn't happen before I upgraded to 4.42 over the weekend from 4.38.

Here is the full error:


DefaultDataProvider: DotNetNuke.Data.SqlDataProvider, DotNetNuke.SqlDataProvider
ExceptionGUID: 12b762f0-1a35-4cfc-a11a-b382d87c83de
InnerException: Specified cast is not valid.
FileName:
FileLineNumber: 0
FileColumnNumber: 0
Method: Smith.DNN.Modules.BuyNow.Cart.grdQuoteDetails_RowDataBound
StackTrace:
Message: DotNetNuke.Services.Exceptions.PageLoadException: Specified cast is not valid. ---> System.InvalidCastException: Specified cast is not valid. at Smith.DNN.Modules.BuyNow.Cart.grdQuoteDetails_RowDataBound(Object sender, GridViewRowEventArgs e) at System.Web.UI.WebControls.GridView.CreateRow(Int32 rowIndex, Int32 dataSourceIndex, DataControlRowType rowType, DataControlRowState rowState, Boolean dataBind, Object dataItem, DataControlField[] fields, TableRowCollection rows, PagedDataSource pagedDataSource) at System.Web.UI.WebControls.GridView.CreateChildControls(IEnumerable dataSource, Boolean dataBinding) at System.Web.UI.WebControls.CompositeDataBoundControl.PerformDataBinding(IEnumerable data) at System.Web.UI.WebControls.GridView.PerformDataBinding(IEnumerable data) at System.Web.UI.WebControls.DataBoundControl.OnDataSourceViewSelectCallback(IEnumerable data) at System.Web.UI.WebControls.DataBoundControl.PerformSelect() at Smith.DNN.Modules.BuyNow.Cart.bindgrdQuoteDetails() at Smith.DNN.Modules.BuyNow.Cart.Page_Load(Object sender, EventArgs e) at System.Web.Util.CalliHelper.EventArgFunctionCaller(IntPtr fp, Object o, Object t, EventArgs e) at System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e) at System.Web.UI.Control.OnLoad(EventArgs e) at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) --- End of inner exception stack trace ---
 
New Post
7/26/2011 6:50 PM
 
I just tried this on my testing server and got the same results. I also created new products non-subscription and subscription. The non-subscription products function perfection. But every subscription product I create has the same behavior when attempting to view the cart.

 
New Post
7/26/2011 9:25 PM
 

Hi Brady,

In v.4.42 we made the following upgrades to recurring billing:

  • Recurring Billing Start Date - In the product setup page, recurring billing section added a new field titled “Recurring Billing Start Date” with the following 2 dropdowns:
  • Recurring Billing Month – Allows you to select the month that the recurring billing begins.
  • Recurring Billing Day - Allows you to select the day that the recurring billing begins.
  • The recurring billing month and day allow you to configure the start date for a recurring billing transaction. Normally a recurring billing transaction starts on the day that the order was placed.
  • Exclude variants price adjustments from recurring billing
  • Program a new checkbox on the product variant setup screen titled “Exclude from Recurring Billing”. When checked will exclude the variant price adjustment from recurring billing giving you the ability to charge recurring billing ONLY on the base price of the products, not for the accessories (variant price change), other fees, etc.
  • Provides the ability to exclude variants price adjustments from being added to the total recurring billing amount.

You might to try going into your settings and product setup and re-saving/updating the settings to intialize the new feature fields.  

Thanks, 

 
New Post
7/27/2011 3:42 AM
 
Kevin,

I've created new products since the upgrade that are subscription products and I still get this error. I've tried adding recurring month and date of the new feature, month alone, and date alone I still get the same error. With and without the check box for exclude variant pricing. All yields in the same error as posted above. I've had to disabled my membership items cause of this....






 
New Post
7/29/2011 5:45 AM
 
Bump.. Anyone?
 
New Post
7/29/2011 7:16 PM
 

Hi Brady,

I just tried to re-produce this issue on our test portal and I have not been able to replicate the error but I may not have the exact same configuration as you. Can you login to our test site http://www7.smith-consulting.com which is running Cart v.4.48 and try to replicate the error. This will determine if the issue is with the latest version of the cart or an issue with your specific dnn portal/cart install. Please send an email to kevin@smith-consulting.com if you need login credentials.

Thanks,

 
New Post
7/30/2011 6:35 PM
 
Sent you an email.
 
New Post
8/1/2011 5:11 PM
 
Hi Brady,

I received your email and sent you the login credentials for our test portal. Please let me know if you are able to replicate the issue there.

Thanks,
 
New Post
8/1/2011 5:18 PM
 
Hey... Just tried those credentials. Check your email.
 
New Post
8/1/2011 9:18 PM
 
Hi Brady,

Thank you for reporting this, the updated version with the fix is now available as a trial and on the downloads page.

Thanks,
 
Previous
 
Next
HomeHome Product Discus... Product Discus...SmithCartSmithCartSubscription Item Error once placed in cart with upgrade to 4.42Subscription Item Error once placed in cart with upgrade to 4.42