Sitefinity 8.0 - Blog Posts Error - Bugs & Issues - Bugs & Issues - Progress Community
 Bugs & Issues

Sitefinity 8.0 - Blog Posts Error

  • Sitefinity 8.0 - Blog Posts Error
  • I just upgraded from 5.4 to 8.0, and I am receiving the error (attached) when I try to view a blog post on the front end. 

    Tried below solution below and changed template ( New Template attached​)

     still getting the error, please advise.

  • fa7e511e-37c1-6deb-a958-ff0000446526_blog_comments_error2.png

    I replaced  "blog post - single" widget template and getting error (attached). I don't have Telerik.Sitefinity.Modules.Comments.dll in my /bin folder.


    is that causing the issue?

  • Lalit,

    I would install a fresh copy of the "blog post - single" widget template and review how Sitefinity setup it up.  For your reference, I have the default widget template code for "blog post - single" below.  Hope this helps.


    <%@ Control Language="C#" %>
    <%@ Register TagPrefix="telerik" Namespace="Telerik.Web.UI" Assembly="Telerik.Web.UI" %>
    <%@ Register TagPrefix="sf" Namespace="Telerik.Sitefinity.Web.UI" Assembly="Telerik.Sitefinity" %>
    <%@ Register TagPrefix="sf" Namespace="Telerik.Sitefinity.Web.UI.ContentUI" Assembly="Telerik.Sitefinity" %>
    <%@ Register TagPrefix="sf" Namespace="Telerik.Sitefinity.Web.UI.PublicControls.BrowseAndEdit"
        Assembly="Telerik.Sitefinity" %>
    <%@ Register Assembly="Telerik.Sitefinity" Namespace="Telerik.Sitefinity.Modules.Comments.Web.UI.Frontend" TagPrefix="comments" %>
    <%@ Import Namespace="Telerik.Sitefinity" %>
    <%@ Import Namespace="Telerik.Sitefinity.Web.UI" %>
    <%@ Import Namespace="Telerik.Sitefinity.Modules.Comments" %>
    <sf:SitefinityLabel id="title" runat="server" WrapperTagName="div" HideIfNoText="true" HideIfNoTextMode="Server" />
    <telerik:RadListView ID="SingleItemContainer" ItemPlaceholderID="ItemContainer" AllowPaging="False"
        runat="server" EnableEmbeddedSkins="false" EnableEmbeddedBaseStylesheet="false">
                <%-- <div class="sfpostLinksWrp">
                    <sf:MasterViewHyperLink class="sfpostBack sfback" Text="<%$ Resources:BlogResources, allposts %>" runat="server" />
                </div> --%>
                <asp:PlaceHolder ID="ItemContainer" runat="server" />
            <div class="sfpostDetails sfdetails" data-sf-provider='<%# Eval("Provider.Name")%>'  data-sf-id='<%# Eval("Id")%>' data-sf-type="Telerik.Sitefinity.Blogs.Model.BlogPost">
            <sf:FieldListView ID="PostTitle" runat="server"
                Text="0" Properties="Title"
                WrapperTagName="h1" WrapperTagCssClass="sfpostTitle sftitle" EditableFieldType="ShortText"
            <div class="sfpostAuthorAndDate sfmetainfo">
                <asp:Literal ID="Literal2" Text="<%$ Resources:Labels, By %>" runat="server" />
                <sf:PersonProfileView runat="server" />
                <sf:FieldListView ID="PostDate" runat="server"
                    Format=" | PublicationDate.ToLocal():MMM dd, yyyy"
                <comments:CommentsCountControl runat="server"
                    ThreadKey='<%# ControlUtilities.GetLocalizedKey(Eval("Id"), null, CommentsBehaviorUtilities.GetLocalizedKeySuffix(Container.DataItem.GetType().FullName)) %>' 
                    AllowComments='<%# Eval("AllowComments") %>'
                    ThreadType='<%# Container.DataItem.GetType().FullName %>'
                <comments:CommentsAverageRatingControl runat="server"
                    ThreadKey='<%# ControlUtilities.GetLocalizedKey(Eval("Id"), null, CommentsBehaviorUtilities.GetLocalizedKeySuffix(Container.DataItem.GetType().FullName)) %>'
                    ThreadType='<%# Container.DataItem.GetType().FullName %>'
            <sf:FieldListView ID="PostContent" runat="server"
                Text="0" Properties="Content"
                WrapperTagName="div" WrapperTagCssClass="sfpostContent sfcontent" EditableFieldType="LongText"
                <asp:PlaceHolder ID="socialOptionsContainer" runat="server">
                <comments:CommentsWidget runat="server"
                    ThreadKey='<%# ControlUtilities.GetLocalizedKey(Eval("Id"), null, CommentsBehaviorUtilities.GetLocalizedKeySuffix(Container.DataItem.GetType().FullName)) %>'
                    AllowComments='<%# Eval("AllowComments") %>' ThreadTitle='<%# Eval("Title") %>' ThreadType='<%# Container.DataItem.GetType().FullName %>'
                    GroupKey='<%# ControlUtilities.GetUniqueProviderKey("Telerik.Sitefinity.Modules.Blogs.BlogsManager", Eval("Provider.Name").ToString()) %>'
                    DataSource='<%# Eval("Provider.Name")%>' />


  • Hello Lalit,

    The initial error message you are getting is a known issue after upgrade to Sitefinity version 8.0. Please refer to the following KB article for more details about the issue and how to resolve it.

    Sabrie Nedzhip
    Do you want to have your say in the Sitefinity development roadmap? Do you want to know when a feature you requested is added or when a bug fixed? Explore the Telerik Sitefinity CMS Ideas&Feedback Portal and vote to affect the priority of the items
  • Lalit,

    I would compare the bin folder of a new clean Sitefinity site (created by the Project Manager tool) and your upgrade Sitefinity instance.  I would then use a diff tool (such as Beyond Compare) to see the differences between the two bin folders and just make sure you have the latest version of the Telerik assemblies or add any missing assemblies.

    Hope this helps.