HomeHome Product Discus... Product Discus...SmithCartSmithCartObject cannot be cast from DBNull to other types.Object cannot be cast from DBNull to other types.
Previous
 
Next
New Post
7/9/2013 8:59 AM
 
Hello,

I was just trying to add a 3rd master variant onto a selection of products and once it is added, it gives me this error. 
currently on DNN 7 and smith cart 5.52.

this is the error log i get
DotNetNuke.Services.Exceptions.ModuleLoadException: Object cannot be cast from DBNull to other types. ---> System.InvalidCastException: Object cannot be cast from DBNull to other types. at System.DBNull.System.IConvertible.ToBoolean(IFormatProvider provider) at System.Convert.ToBoolean(Object value) at Smith.DNN.Modules.ProductDetail.ProductMain.q() at Smith.DNN.Modules.ProductDetail.ProductMain.Page_Load(Object sender, EventArgs e) --- End of inner exception stack trace ---


Thanks
Kyle
 
New Post
7/9/2013 2:58 PM
 
Hi Kyle,

Master Variants are different from the normal Variants and are only to be used when utilizing the SmithVariantList and/or SmithSlider modules. I recommend deleting the Master Variants and use the Variant Copy feature instead if you wish to add a Variant to multiple Products.

Please let us know if you have any questions.
 
Previous
 
Next
HomeHome Product Discus... Product Discus...SmithCartSmithCartObject cannot be cast from DBNull to other types.Object cannot be cast from DBNull to other types.