|
|
|
Joined: 5/3/2011
Posts: 36
|
|
|
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 ---
|
|
|
|
| |
|
|
|
Joined: 5/3/2011
Posts: 36
|
|
|
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.
|
|
|
|
| |
|
|
|
Joined: 1/1/0001
Posts: 0
|
|
|
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,
|
|
|
|
| |
|
|
|
Joined: 5/3/2011
Posts: 36
|
|
|
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....
|
|
|
|
| |
|
|
|
Joined: 5/3/2011
Posts: 36
|
| |
| |
|
|
|
Joined: 1/1/0001
Posts: 0
|
|
|
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,
|
|
|
|
| |
|
|
|
Joined: 5/3/2011
Posts: 36
|
| |
| |
|
|
|
Joined: 1/1/0001
Posts: 0
|
|
|
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,
|
|
|
|
| |
|
|
|
Joined: 5/3/2011
Posts: 36
|
|
|
Hey... Just tried those credentials. Check your email.
|
|
|
|
| |
|
|
|
Joined: 1/1/0001
Posts: 0
|
|
|
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,
|
|
|
|