We have installed a Store module and then imported data to the store tables. (The Client has 1722 products so we created spreadheets that we could capture the data and were careful to enforce the data requirements
The Store Categories seem to load fine and display in the hierarchy as they normally do, The first 15 or so categories even those with 2 sublevels display fine, but then the problems start.
These product categories throw the following error:
Error: Store Catalogue is currently unavailable. 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.ToInt32(IFormatProvider provider) at System.Convert.ToInt32(Object value) at DotNetNuke.Modules.Store.Catalog.ProductInfo.Fill(IDataReader dr) at DotNetNuke.Common.Utilities.CBO.FillObjectFromReader(Object objObject, IDataReader dr) at DotNetNuke.Common.Utilities.CBO.CreateObjectFromReader(Type objType, IDataReader dr, Boolean closeReader) at DotNetNuke.Common.Utilities.CBO.FillListFromReader[TItem](IDataReader dr, IList`1 objList, Boolean closeReader) at DotNetNuke.Common.Utilities.CBO.FillCollection[TItem](IDataReader dr) at DotNetNuke.Modules.Store.Catalog.ProductController.GetCategoryProducts(Int32 portalID, Int32 categoryID, Boolean archived, Int32 sortBy, String sortDir) at DotNetNuke.Modules.Store.WebControls.Catalog.GetCategoryProducts(Int32 categoryID) at DotNetNuke.Modules.Store.WebControls.Catalog.processToken(String tokenName) at DotNetNuke.Modules.Store.Catalog.TemplateController.ParseTemplate(String templatePath, String templateName, String templateError, Boolean IsLogged, ProcessTokenDelegate processTokenDelegate) at DotNetNuke.Modules.Store.WebControls.Catalog.Page_Load(Object sender, EventArgs e) --- End of inner exception stack trace ---
Can anyone shed any light on this or know a solution?