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

Forums / Developing with Sitefinity / Error after enabling page workflow

Error after enabling page workflow

5 posts, 1 answered
  1. Matthew
    Matthew avatar
    28 posts
    Registered:
    07 Mar 2011
    12 Apr 2011
    Link to this post
    Hi,

    After enabling pageworkflow - we are unable to view the "all pages" page and we get the following error:

    Event code: 3005
    Event message: An unhandled exception has occurred.
    Event time: 12/04/2011 12:40:42
    Event time (UTC): 12/04/2011 11:40:42
    Event ID: a8ec90702730471391673947e3c95baa
    Event sequence: 5
    Event occurrence: 1
    Event detail code: 0
      
    Application information:
        Application domain: /LM/W3SVC/1/ROOT/Ebusiness-2-129470820215711755
        Trust level: Full
        Application Virtual Path: /Ebusiness
        Application Path: D:\Program Files\telerik\Sitefinity3.7\WebSites\Ebusiness\
        Machine name: TESTWWW
      
    Process information:
        Process ID: 5112
        Process name: w3wp.exe
        Account name: ALPSP\ebusinessuser
      
    Exception information:
        Exception type: TemplateException
        Exception message: A required control was not found in the template for "". The control must be assignable form type "System.Web.UI.WebControls.Repeater" and must have ID "workflowFilter".
      
    Request information:
        Request path: /Ebusiness/Sitefinity/Admin/Pages.aspx
        User host address: 85.189.174.249
        User: basic
        Is authenticated: True
        Authentication Type: Forms
        Thread account name: ALPSP\ebusinessuser
      
    Thread information:
        Thread ID: 9
        Thread account name: ALPSP\ebusinessuser
        Is impersonating: False
        Stack trace:    at Telerik.Cms.Web.UI.GenericContainer.ThrowException(Type requiredType, String controlId)
       at Telerik.Cms.Web.UI.GenericContainer`1.FindControl(Type requiredType, String id, Boolean required)
       at Telerik.Cms.Web.UI.GenericContainer`1.FindRequiredControl[RequiredType](String id)
       at Telerik.Cms.Web.UI.ManagePagesGrid.ListContainer.LoadWorkflowControls()
       at Telerik.Cms.Web.UI.ManagePagesGrid.ListContainer.get_HasWorkflow()
       at Telerik.Cms.Web.UI.ManagePagesGrid.CreateChildControls()
       at System.Web.UI.Control.EnsureChildControls()
       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)

    Thanks in advance

    Dan.
  2. Ivan Dimitrov
    Ivan Dimitrov avatar
    16072 posts
    Registered:
    09 Dec 2016
    12 Apr 2011
    Link to this post
    Hi Daniel,

    Please check whether you have the following control

    <asp:Repeater runat="server" ID="workflowFilter">
                    <ItemTemplate><asp:LinkButton runat="server" ID="statusLink" CommandName="Select" CommandArgument='<%# Eval("Value") %>'><%# Eval("Text") %></asp:LinkButton></ItemTemplate>
                    <SeparatorTemplate> | </SeparatorTemplate></asp:Repeater>

    in

    Sitefinity/Admin/ControlTemplates/Pages/AllPagesList.ascx

    All the best,
    Ivan Dimitrov
    the Telerik team

    Answered
  3. Matthew
    Matthew avatar
    28 posts
    Registered:
    07 Mar 2011
    12 Apr 2011
    Link to this post
    Hi Ivan,

    This repeater does not exist in the control you pointed out - where abouts should the repeater code be placed? does it matter?

    Thanks

    Dan
  4. Ivan Dimitrov
    Ivan Dimitrov avatar
    16072 posts
    Registered:
    09 Dec 2016
    12 Apr 2011
    Link to this post
    Hi Daniel,

    <%@ Register Assembly="Telerik.Workflow" Namespace="Telerik.Workflow.WebControls" TagPrefix="cc1" %>
    <%@Register TagPrefix="cc1" Namespace="Telerik.Cms.Web.UI" Assembly="Telerik.Cms.Web.UI" %>

    <div runat="server" id="mainPanel" class="workArea">
        <cc1:MessageControl runat="server" id="message">
            <ItemTemplate>
                <asp:Label runat="Server" ID="messageText"></asp:Label>
            </ItemTemplate>
        </cc1:MessageControl>
        <div class="ToolsAll">
            <!-- BEGIN EXCLUDE FOR COMMUNITY -->
            <div class="groupAct" runat="server" id="toolsPanel">
                <asp:Literal runat="server" Text="<%$Resources:ViewOnlyPagesWithStatus %>"></asp:Literal>:
                <asp:Repeater runat="server" ID="workflowFilter">
                    <ItemTemplate><asp:LinkButton runat="server" ID="statusLink" CommandName="Select" CommandArgument='<%# Eval("Value") %>'><%# Eval("Text") %></asp:LinkButton></ItemTemplate>
                    <SeparatorTemplate> | </SeparatorTemplate></asp:Repeater> <asp:Literal runat="server" Text="<%$Resources:Or %>"></asp:Literal> <asp:LinkButton ID="viewAll" CommandName="ViewAll" runat="server" Text="<%$Resources:ViewAll %>"></asp:LinkButton>
                <div class="clear"><!-- --></div>
            </div>
            <!-- END EXCLUDE FOR COMMUNITY -->    
            <asp:PlaceHolder ID="fullWindow" runat="server">
                <div class="searchItems">
                    <div class="searchInputs">
                        <asp:Label ID="searchFieldLabel" CssClass="sfPageSearchLbl" AssociatedControlID="searchField" runat="server" Text="<%$Resources:SearchBy %>"></asp:Label>
                        <asp:DropDownList ID="searchField" runat="server">
                            <asp:ListItem Value="MenuName" Selected="True" Text="<%$Resources:SearchByMenuName %>"></asp:ListItem>
                            <asp:ListItem Value="Name" Text="<%$Resources:SearchByName %>"></asp:ListItem>
                            <asp:ListItem Value="Url" Text="<%$Resources:SearchByUrl %>"></asp:ListItem>
                        </asp:DropDownList>
                        <asp:Label ID="searchWordsLabel" AssociatedControlID="searchWords" runat="server"></asp:Label>
                        <asp:TextBox ID="searchWords" CssClass="searchString" runat="server"></asp:TextBox>
                        <asp:Button ID="searchButton" runat="server" CssClass="searchButton" Text="<%$Resources:Search %>"/>
                    </div>
                </div>
            </asp:PlaceHolder>
            <div class="clear"><!-- --></div>
        </div>

    You can download a clean installation of the 3.7 Sp4 - Standard edition and compare the template.

    Best wishes,
    Ivan Dimitrov
    the Telerik team

  5. Matthew
    Matthew avatar
    28 posts
    Registered:
    07 Mar 2011
    12 Apr 2011
    Link to this post
    Hi Ivan,

    Thats great - I double checked the files against the SP3 as we havent upgraded to SP4 just yet and that seems to have let me go through the workflow.

    Thanks

    Daniel
Register for webinar
5 posts, 1 answered