Select the search type
  • Site
  • Web
Search
You are here:  Support/Forums
Support

Bring2mind Forums

what's new 2.2.1
Last Post 12/10/2010 4:21 AM by j.mcdonagh. 3 Replies.
Sort:
PrevPrev NextNext
You are not authorized to post a reply.
Author Messages
j.mcdonagh
New Member
New Member
Posts:14


--
12/03/2010 12:46 AM
Hi Peter

I ran into a bug in what's new 2.2.1. When you display over 34 items in the site I get:
Error loading What's New
DotNetNuke.Services.Exceptions.ModuleLoadException: Conversion from type 'DBNull' to type 'String' is not valid. ---> System.InvalidCastException: Conversion from type 'DBNull' to type 'String' is not valid. at Microsoft.VisualBasic.CompilerServices.Conversions.ToString(Object Value) at ASP.desktopmodules_bring2mind_dmx_addons_whatsnew_whatsnew_ascx.__DataBind__control5(Object sender, EventArgs e) at System.Web.UI.Control.OnDataBinding(EventArgs e) at System.Web.UI.Control.DataBind(Boolean raiseOnDataBinding) at System.Web.UI.Control.DataBind() at System.Web.UI.Control.DataBindChildren() at System.Web.UI.Control.DataBind(Boolean raiseOnDataBinding) at System.Web.UI.Control.DataBind() at System.Web.UI.Control.DataBindChildren() at System.Web.UI.Control.DataBind(Boolean raiseOnDataBinding) at System.Web.UI.Control.DataBind() at System.Web.UI.WebControls.DataGrid.CreateItem(Int32 itemIndex, Int32 dataSourceIndex, ListItemType itemType, Boolean dataBind, Object dataItem, DataGridColumn[] columns, TableRowCollection rows, PagedDataSource pagedDataSource) at System.Web.UI.WebControls.DataGrid.CreateControlHierarchy(Boolean useDataSource) at System.Web.UI.WebControls.BaseDataList.OnDataBinding(EventArgs e) at System.Web.UI.WebControls.BaseDataList.DataBind() at Bring2mind.DNN.Modules.DMX.WhatsNew.WhatsNew.ShowCollection() --- End of inner exception stack trace ---

it works fine with 33 items

I am running dmx 5.3.3 and DNN 5.5.1

Regards
Jonathan

Peter Donker
Veteran Member
Veteran Member
Posts:4536


--
12/03/2010 10:22 PM
Hi Jonathan,

My guess is that it has to do with the 34th record. The error is a type conversion error where it expected a string but got a NULL from the record. What you could do is to open the ascx in question and remove fields until the error vanishes. You will have found the offending field and I'd be very interested to know which one that was.

Peter
j.mcdonagh
New Member
New Member
Posts:14


--
12/07/2010 11:45 PM
Peter

Thanks, for the suggestion. I will give it a try.
j.mcdonagh
New Member
New Member
Posts:14


--
12/10/2010 4:21 AM
Peter

In the File types the icon fields were NULL for mp3/mp4 as soon as I added an icon file the error when away.

Regards
Jonathan
You are not authorized to post a reply.