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

Bring2mind Forums

PrevPrev Go to previous topic
NextNext Go to next topic
Last Post 03/06/2007 10:08 PM by  Geoff Van Brunt
Click on Service/FileTypes causes an error
 4 Replies
Sort:
You are not authorized to post a reply.
Author Messages
Holger Kopf
New Member
New Member
Posts:57


--
11/17/2006 8:47 AM

    Hi,

    if i click on Options/Service/FileTypes to define new FileTypes the following error occurs:

    AssemblyVersion: 04.03.05
    PortalID: 1
    PortalName: Web Protal of TSG
    UserID: 1
    UserName: host
    ActiveTabID: 72
    ActiveTabName: Documents
    RawURL: /dnn4/Documents/tabid/72/ctl/FileTypes/mid/397/Default.aspx
    AbsoluteURL: /dnn4/Default.aspx
    AbsoluteURLReferrer: https://sgartgua3/dnn4/Documents/tabid/72/ctl/Options/mid/397/Default.aspx
    UserAgent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.1.4322; .NET CLR 2.0.50727)
    DefaultDataProvider: DotNetNuke.Data.SqlDataProvider, DotNetNuke.SqlDataProvider
    ExceptionGUID: 3ab1c6c5-cbee-4dd3-8e74-1774ed5ef337
    InnerException: Conversion from type 'DBNull' to type 'Boolean' is not valid.
    FileName:
    FileLineNumber: 0
    FileColumnNumber: 0
    Method: Microsoft.VisualBasic.CompilerServices.Conversions.ToBoolean
    StackTrace:
    Message: DotNetNuke.Services.Exceptions.PageLoadException: Conversion from type 'DBNull' to type 'Boolean' is not valid. ---> System.InvalidCastException: Conversion from type 'DBNull' to type 'Boolean' is not valid. at Microsoft.VisualBasic.CompilerServices.Conversions.ToBoolean(Object Value) at ASP.desktopmodules_bring2mind_dmx_admin_filetypes_ascx.__DataBind__control16(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.Controls.Admin.FileTypes.a() at Bring2mind.DNN.Modules.DMX.Controls.Admin.FileTypes.e(Object A_0, EventArgs A_1) at System.Web.UI.Control.OnPreRender(EventArgs e) at System.Web.UI.Control.PreRenderRecursiveInternal() at System.Web.UI.Control.PreRenderRecursiveInternal() at System.Web.UI.Control.PreRenderRecursiveInternal() at System.Web.UI.Control.PreRenderRecursiveInternal() at System.Web.UI.Control.PreRenderRecursiveInternal() at System.Web.UI.Control.PreRenderRecursiveInternal() at System.Web.UI.Control.PreRenderRecursiveInternal() at System.Web.UI.Control.PreRenderRecursiveInternal() at System.Web.UI.Control.PreRenderRecursiveInternal() at System.Web.UI.Control.PreRenderRecursiveInternal() at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) --- End of inner exception stack trace ---

    Peter Donker
    Veteran Member
    Veteran Member
    Posts:4536


    --
    11/17/2006 9:32 AM
    Holger,
    Are you using any addons? Maye you can verify for me the table DMX_Extensions to identify the row where this happpens. In all probability this happens on a row where either IsPrivate or ViewByDefault is NULL. Can you see any candidates?
    Peter
    Holger Kopf
    New Member
    New Member
    Posts:57


    --
    11/17/2006 9:53 AM
    Peter,

    the problem entries were at the AddOn 'ADOSearch' (Options.AdoSearch). ViewByDefault was NULL. I changed it to False. Now it works.

    Thx Holger
    Peter Donker
    Veteran Member
    Veteran Member
    Posts:4536


    --
    11/17/2006 10:05 AM
    OK, thanks. I'll make a note of it.
    Geoff Van Brunt
    New Member
    New Member
    Posts:16


    --
    03/06/2007 10:08 PM

    He Peter,

    Just wanted to add that this also happened to me on a new installation of DMX. I installed DMX and the various add-ons you have available to check them out. At some point after installing the add-ons I noticed the same problem described above. I fixed it the same way the other poster mentioned.

    You are not authorized to post a reply.