1-888-365-2779
+1-888-365-2779
Try Now
More in this section

Forums / Developing with Sitefinity / Errors on pages containing news

Errors on pages containing news

11 posts, 0 answered
  1. Mitch Thraves
    Mitch Thraves avatar
    9 posts
    Registered:
    05 Feb 2006
    14 May 2008
    Link to this post
    Our clients Sitefinity site has been running fine for the last couple of weeks but suddenly any pages that contain News modules show the following errors:

    "DataBinding: 'Telerik.Cms.Engine.Data.CmsContentBase' does not contain a property with the name 'Title'."

    Everthing else is working fine so any idea what is causing this error?
  2. Ivan
    Ivan avatar
    478 posts
    Registered:
    16 Jun 2015
    14 May 2008
    Link to this post
    Hello Mitch Thraves,

    It seems like the provider for NewsList control has been replaced with some other provider (perhaps Generic_Content). Can you make sure that in your web.config you have News.Title meta key and that your NewsList controls have "News" as ProviderName in "Data" section, when you open properties of NewsList control.

    Let us know how it goes or if you need any more information.

    Best wishes,
    Ivan
    the Telerik team

    Instantly find answers to your questions at the new Telerik Support Center
  3. Zack
    Zack avatar
    41 posts
    Registered:
    18 Apr 2007
    04 Jun 2008
    Link to this post
    I am having this same issue.  I double-checked all of the configuration parameters that you specified and they are all set correctly.  Any other ideas / thoughts?

    Zack
  4. Lyn
    Lyn avatar
    15 posts
    Registered:
    30 Apr 2008
    05 Jun 2008
    Link to this post
    Hi Telerik,

    Very occassionally in 3.1 we saw this error appear in the logs too. I can't recall seeing it since upgrading to 3.2 SP1 though.

    "DataBinding: 'Telerik.Cms.Engine.Data.CmsContentBase' does not contain a property with the name 'Caption'."

    We added a caption field to News module.

    Just thought I would confirm that I have also seen it.

    Hope that helps.

    Seth
  5. Bob
    Bob avatar
    330 posts
    Registered:
    30 Dec 2016
    06 Jun 2008
    Link to this post
    Hello Zack and Seth,

    Could please post the full information that was logged for this error or send me the sitefinity.log file containing the error.

    Greetings,
    Bob
    the Telerik team

    Instantly find answers to your questions at the new Telerik Support Center
  6. S. Webb
    S. Webb avatar
    36 posts
    Registered:
    28 Dec 2006
    28 Nov 2008
    Link to this post
    Has this been resolved, or is there a fix for this in 3.1?
  7. Georgi
    Georgi avatar
    3583 posts
    Registered:
    28 Oct 2016
    28 Nov 2008
    Link to this post
    Hello senzani,

    Could you please paste us the stack trace of the error?
    We introduced new controls in Sitefinity 3.2 SP2 which should resolve this, but still, we would require the stack trace to confirm this.

    Greetings,
    Georgi
    the Telerik team

    Check out Telerik Trainer, the state of the art learning tool for Telerik products.
  8. S. Webb
    S. Webb avatar
    36 posts
    Registered:
    28 Dec 2006
    28 Nov 2008
    Link to this post



    - L0 -------------------------------------------------------------------------------

    Exception Type: System.Web.HttpException

    Message: DataBinding: 'Telerik.Cms.Engine.Data.CmsContentBase' does not contain a property with the name 'Title'.

    Source: System.Web

    Stack Trace:
       at System.Web.UI.DataBinder.GetPropertyValue(Object container, String propName)
       at System.Web.UI.DataBinder.Eval(Object container, String[] expressionParts)
       at System.Web.UI.DataBinder.Eval(Object container, String expression)
       at ASP.sitefinity_controltemplates_news_newsbox_ascx.__DataBind__control4(Object sender, EventArgs e) in E:\www.1075koolfm.com\Sitefinity\ControlTemplates\News\newsbox.ascx:line 5
       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.Repeater.CreateItem(Int32 itemIndex, ListItemType itemType, Boolean dataBind, Object dataItem)
       at System.Web.UI.WebControls.Repeater.CreateControlHierarchy(Boolean useDataSource)
       at System.Web.UI.WebControls.Repeater.OnDataBinding(EventArgs e)
       at System.Web.UI.WebControls.Repeater.DataBind()
       at Telerik.News.WebControls.NewsList.CreateChildControls()
       at System.Web.UI.Control.EnsureChildControls()
       at System.Web.UI.WebControls.CompositeControl.get_Controls()
       at System.Web.UI.Control.LoadChildViewStateByIndex(ArrayList childState)
       at System.Web.UI.Control.LoadViewStateRecursive(Object savedState)
       at System.Web.UI.Control.LoadChildViewStateByIndex(ArrayList childState)
       at System.Web.UI.Control.LoadViewStateRecursive(Object savedState)
       at System.Web.UI.Control.LoadChildViewStateByIndex(ArrayList childState)
       at System.Web.UI.Control.LoadViewStateRecursive(Object savedState)
       at System.Web.UI.Control.LoadChildViewStateByIndex(ArrayList childState)
       at System.Web.UI.Control.LoadViewStateRecursive(Object savedState)
       at System.Web.UI.Control.AddedControl(Control control, Int32 index)
       at System.Web.UI.ControlCollection.Add(Control child)
       at Telerik.Cms.Web.InternalPage.CreateChildControls()
       at System.Web.UI.Control.EnsureChildControls()
       at System.Web.UI.Control.FindControl(String id, Int32 pathOffset)
       at System.Web.UI.Page.FindControl(String id)
       at System.Web.UI.Page.ProcessPostData(NameValueCollection postData, Boolean fBeforeLoad)
       at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
    ------------------------------------------------------------------------------------

  9. Georgi
    Georgi avatar
    3583 posts
    Registered:
    28 Oct 2016
    28 Nov 2008
    Link to this post
    Hi senzani,

    Could you please confirm that News.Title meta key and that your NewsList controls have "News" as ProviderName in "Data" section, when you open properties of NewsList control?

    Kind regards,
    Georgi
    the Telerik team

    Check out Telerik Trainer, the state of the art learning tool for Telerik products.
  10. S. Webb
    S. Webb avatar
    36 posts
    Registered:
    28 Dec 2006
    28 Nov 2008
    Link to this post
    Hi Georgi,

    I have confirmed both settings. This is a high traffic site and this error only occurs intermittenly, usually, by looking at the logs, about once every 5-10 minutes. As traffic increases on the site this error becomes more prominent and is become rather annoying to our client and casts a negative opinion of the site on users.

    Steve
  11. Georgi
    Georgi avatar
    3583 posts
    Registered:
    28 Oct 2016
    02 Dec 2008
    Link to this post
    Hi Steve,

    Looking at the stack trace, I see that there is a control:     ASP.sitefinity_controltemplates_news_newsbox_ascx.__DataBind__control4(Object sender, EventArgs e) in E:\www.1075koolfm.com\Sitefinity\ControlTemplates\News\newsbox.ascx:line 5
    Which is causing this error. We are not sure what the exact implementation of this control is. Still the error looks pretty much like the one described above. Having that said, if control have something in common with the NewsList control, the only thing we suggest you is upgrading your project, since the NewsList control is obsolete and we created a new control (NewsView) for proper handling of the content.

    Regards,
    Georgi
    the Telerik team

    Check out Telerik Trainer, the state of the art learning tool for Telerik products.
Register for webinar
11 posts, 0 answered