New Community Website

Ordinarily, you'd be at the right spot, but we've recently launched a brand new community website... For the community, by the community.

Yay... Take Me to the Community!

Welcome to the DNN Community Forums, your preferred source of online community support for all things related to DNN.
In order to participate you must be a registered DNNizen

HomeHomeDNN Open Source...DNN Open Source...Module ForumsModule ForumsStoreStoreDNN Display Catalogue errorsDNN Display Catalogue errors
New Post
7/26/2012 4:16 AM

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?

New Post
8/1/2012 8:08 PM


Could you confirm than you use the last Store module version 03.00.00?

Login to your website as host then go to Host > SQL. Copy and paste the following SQL command in the textbox and click on Execute. Tel me if this command return one or several records?

SELECT * FROM {databaseOwner}{objectQualifier}Store_Products WHERE PortalID IS NULL OR CategoryID IS NULL OR RegularPrice IS NULL OR UnitCost IS NULL OR Featured IS NULL OR Archived IS NULL OR ProductWeight IS NULL OR ProductHeight IS NULL OR ProductLength IS NULL OR ProductWidth IS NULL OR StockQuantity IS NULL OR LowThreshold IS NULL OR HighThreshold IS NULL OR DeliveryTime IS NULL OR PurchasePrice IS NULL OR Virtual IS NULL


We (team members) are Humans offering their knowledge, their work and their spare time FOR FREE to benefit the community. It would be so particularly appreciated that your messages begin with "Hello" and end with "Thank you" or any other form of politeness. Ask yourself what your reaction would be, if you were approached by me (a total stranger) on the street to ask you something without saying "Hello" nor "Thank you"? After several years of services dedicated to the community, I begin to be tired to read requests without any form of politeness.
HomeHomeDNN Open Source...DNN Open Source...Module ForumsModule ForumsStoreStoreDNN Display Catalogue errorsDNN Display Catalogue errors

These Forums are dedicated to discussion of DNN Platform and Evoq Solutions.

For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:

  1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DNN.
  2. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  3. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  4. No Flaming or Trolling.
  5. No Profanity, Racism, or Prejudice.
  6. Site Moderators have the final word on approving / removing a thread or post or comment.
  7. English language posting only, please.
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out