HomeHome Product Discus... Product Discus...SmithCartSmithCartSpecified Cast is not valid errorSpecified Cast is not valid error
Previous
 
Next
New Post
8/1/2011 9:45 AM
 

I’m a new user, testing the Demo version of smith cart for a new site I’m developing.  I continue to get a critical error (see below) whenever I try add a subscription product to the cart. See details of the problem below.  I saw something very similar on the forums, but the post ended in “email me” and didn’t provide an answer.  I’m using the latest 4.48 on DNN 5.6.3

 

AssemblyVersion: 5.6.3
PortalID: 0
PortalName: The Fit Factor
UserID: 3
UserName: test1@email.com
ActiveTabID: 75
ActiveTabName: Store
RawURL: /Store/tabid/75/ctl/Cart/mid/399/Default.aspx
AbsoluteURL: /Default.aspx
AbsoluteURLReferrer: http://dev.the-fit-factor.com/Store/t...
UserAgent: Mozilla/5.0 (compatible; MSIE 9.0; Windows NT 6.1; WOW64; Trident/5.0)
DefaultDataProvider: DotNetNuke.Data.SqlDataProvider, DotNetNuke.SqlDataProvider
ExceptionGUID: de5f8457-da61-47b8-8474-0687f6077245
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.OnRowDataBound(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.DataSourceView.Select(DataSourceSelectArguments arguments, DataSourceViewSelectCallback callback) at System.Web.UI.WebControls.DataBoundControl.PerformSelect() at System.Web.UI.WebControls.BaseDataBoundControl.DataBind() at System.Web.UI.WebControls.GridView.DataBind() 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 ---
Source:
Server Name: GENERIC75 

 
 Login to download attachment
New Post
8/1/2011 5:38 PM
 
Hi Steve,

Can you attach a screenshot of the Product Setup screen where you are attempting to add the subscription product?

Thanks,
 
Previous
 
Next
HomeHome Product Discus... Product Discus...SmithCartSmithCartSpecified Cast is not valid errorSpecified Cast is not valid error