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

Forums / Bugs & Issues / Error Loing into the /Sitefinity

Error Loing into the /Sitefinity

10 posts, 0 answered
  1. tjuncewicz
    tjuncewicz avatar
    5 posts
    Registered:
    14 Nov 2006
    22 Jun 2009
    Link to this post
    I can run in debug on my dev machine and works ok.. Compile and move out we get this error message.

    A required control was not found in the template for "Telerik.Personalization.PersonalizedDashboardItem+PersonalizedDashboardContainer". The control must be assignable form type "System.Web.UI.WebControls.WebControl" and must have ID "Title".

    HttpException (0x80004005): A required control was not found in the template for "Telerik.Personalization.PersonalizedDashboardItem+PersonalizedDashboardContainer". The control must be assignable form type "System.Web.UI.WebControls.WebControl" and must have ID "Title".]
       Telerik.Cms.Web.UI.GenericContainer`1.FindControl(Type requiredType, String id, Boolean required) +202
       Telerik.Cms.Web.UI.GenericContainer`1.FindRequiredControl(String id) +66
       Telerik.Personalization.PersonalizedDashboardContainer.get_Title() +26
       Telerik.Personalization.PersonalizedDashboardItem.CreateChildControls() +171
       System.Web.UI.Control.EnsureChildControls() +87
       System.Web.UI.Control.PreRenderRecursiveInternal() +41
       System.Web.UI.Control.PreRenderRecursiveInternal() +161
       System.Web.UI.Control.PreRenderRecursiveInternal() +161
       System.Web.UI.Control.PreRenderRecursiveInternal() +161
       System.Web.UI.Control.PreRenderRecursiveInternal() +161
       System.Web.UI.Control.PreRenderRecursiveInternal() +161
       System.Web.UI.Control.PreRenderRecursiveInternal() +161
       System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +13
  2. Ivan Dimitrov
    Ivan Dimitrov avatar
    16072 posts
    Registered:
    25 Nov 2016
    22 Jun 2009
    Link to this post
    Hello tjuncewicz,

    The error is thrown because you have deleted a required control with ID="Title". The control is Label control and it should be located in one of the following templates.

    C:\SFPROJECTS\Sitefinity_3_6_1870_standard_NET20\Sitefinity\Admin\ControlTemplates\Personalization\ListDashboard.ascx(4):        <asp:Label ID="Title" runat="server"></asp:Label> 
      C:\SFPROJECTS\Sitefinity_3_6_1870_standard_NET20\Sitefinity\Admin\ControlTemplates\Personalization\ModifiedBlog.ascx(4):        <asp:Label ID="Title" runat="server"></asp:Label> 
      C:\SFPROJECTS\Sitefinity_3_6_1870_standard_NET20\Sitefinity\Admin\ControlTemplates\Personalization\ModifiedBlogPost.ascx(4):        <asp:Label ID="Title" runat="server"></asp:Label> 
      C:\SFPROJECTS\Sitefinity_3_6_1870_standard_NET20\Sitefinity\Admin\ControlTemplates\Personalization\ModifiedContent.ascx(4):        <asp:Label ID="Title" runat="server"></asp:Label> 
      C:\SFPROJECTS\Sitefinity_3_6_1870_standard_NET20\Sitefinity\Admin\ControlTemplates\Personalization\ModifiedForum.ascx(4):        <asp:Label ID="Title" runat="server"></asp:Label> 
      C:\SFPROJECTS\Sitefinity_3_6_1870_standard_NET20\Sitefinity\Admin\ControlTemplates\Personalization\ModifiedPage.ascx(4):        <asp:Label ID="Title" runat="server"></asp:Label> 
      C:\SFPROJECTS\Sitefinity_3_6_1870_standard_NET20\Sitefinity\Admin\ControlTemplates\Personalization\MyLatestChanges.ascx(4):        <asp:Label ID="Title" runat="server"></asp:Label> 
      C:\SFPROJECTS\Sitefinity_3_6_1870_standard_NET20\Sitefinity\Admin\ControlTemplates\Personalization\NewForumPost.ascx(4):          <asp:Label ID="Title" runat="server"></asp:Label> 
      C:\SFPROJECTS\Sitefinity_3_6_1870_standard_NET20\Sitefinity\Admin\ControlTemplates\Personalization\NewsDashboard.ascx(4):        <asp:Label ID="Title" runat="server"></asp:Label> 
      C:\SFPROJECTS\Sitefinity_3_6_1870_standard_NET20\Sitefinity\Admin\ControlTemplates\Personalization\NewUser.ascx(4):        <asp:Label ID="Title" runat="server"></asp:Label> 

    The error is thrown from one of the dashboard personalization containers.

    Kind regards,
    Ivan Dimitrov
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Check out the tips for optimizing your support resource searches.
  3. John
    John avatar
    1 posts
    Registered:
    02 Jul 2012
    26 Aug 2009
    Link to this post
    i'm getting this error with 3.7 when I precompile my application for Windows 2008 Server (IIS7).  If I copy the web project instead, everything works fine:

    A required control was not found in the template for "". The control must be assignable form type "System.Web.UI.WebControls.WebControl" and must have ID "Title".

    Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

    Exception Details: Telerik.Cms.Web.UI.TemplateException: A required control was not found in the template for "". The control must be assignable form type "System.Web.UI.WebControls.WebControl" and must have ID "Title".

    Source Error:

    An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.

    Stack Trace:

    [TemplateException: A required control was not found in the template for "". The control must be assignable form type "System.Web.UI.WebControls.WebControl" and must have ID "Title".]
       Telerik.Cms.Web.UI.GenericContainer.ThrowException(Type requiredType, String controlId) +58
       Telerik.Cms.Web.UI.GenericContainer`1.FindControl(Type requiredType, String id, Boolean required) +76
       Telerik.Cms.Web.UI.GenericContainer`1.FindRequiredControl(String id) +68
       Telerik.Personalization.PersonalizedDashboardContainer.get_Title() +30
       Telerik.Personalization.PersonalizedDashboardItem.CreateChildControls() +148
       System.Web.UI.Control.EnsureChildControls() +87
       System.Web.UI.Control.PreRenderRecursiveInternal() +44
       System.Web.UI.Control.PreRenderRecursiveInternal() +171
       System.Web.UI.Control.PreRenderRecursiveInternal() +171
       System.Web.UI.Control.PreRenderRecursiveInternal() +171
       System.Web.UI.Control.PreRenderRecursiveInternal() +171
       System.Web.UI.Control.PreRenderRecursiveInternal() +171
       System.Web.UI.Control.PreRenderRecursiveInternal() +171
       System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +842
    




    The follow search results shows that I haven't modified any files in Admin:

    Find all "<asp:Label ID="Title"", Subfolders, Find Results 1, "C:\Projects\LoanKrunchSitefinity\Sitefinity\Admin\ControlTemplates\Personalization"

    C:\Projects\LoanKrunchSitefinity\Sitefinity\Admin\ControlTemplates\Personalization\ListDashboard.ascx(4): <asp:Label ID="Title" runat="server"></asp:Label>

    C:\Projects\LoanKrunchSitefinity\Sitefinity\Admin\ControlTemplates\Personalization\ModifiedBlog.ascx(4): <asp:Label ID="Title" runat="server"></asp:Label>

    C:\Projects\LoanKrunchSitefinity\Sitefinity\Admin\ControlTemplates\Personalization\ModifiedBlogPost.ascx(4): <asp:Label ID="Title" runat="server"></asp:Label>

    C:\Projects\LoanKrunchSitefinity\Sitefinity\Admin\ControlTemplates\Personalization\ModifiedContent.ascx(4): <asp:Label ID="Title" runat="server"></asp:Label>

    C:\Projects\LoanKrunchSitefinity\Sitefinity\Admin\ControlTemplates\Personalization\ModifiedForum.ascx(4): <asp:Label ID="Title" runat="server"></asp:Label>

    C:\Projects\LoanKrunchSitefinity\Sitefinity\Admin\ControlTemplates\Personalization\ModifiedPage.ascx(4): <asp:Label ID="Title" runat="server"></asp:Label>

    C:\Projects\LoanKrunchSitefinity\Sitefinity\Admin\ControlTemplates\Personalization\MyLatestChanges.ascx(4): <asp:Label ID="Title" runat="server"></asp:Label>

    C:\Projects\LoanKrunchSitefinity\Sitefinity\Admin\ControlTemplates\Personalization\NewForumPost.ascx(4): <asp:Label ID="Title" runat="server"></asp:Label>

    C:\Projects\LoanKrunchSitefinity\Sitefinity\Admin\ControlTemplates\Personalization\NewsDashboard.ascx(4): <asp:Label ID="Title" runat="server"></asp:Label>

    C:\Projects\LoanKrunchSitefinity\Sitefinity\Admin\ControlTemplates\Personalization\NewUser.ascx(4): <asp:Label ID="Title" runat="server"></asp:Label>

    Matching lines: 10 Matching files: 10 Total files searched: 38

  4. Ivan Dimitrov
    Ivan Dimitrov avatar
    16072 posts
    Registered:
    25 Nov 2016
    31 Aug 2009
    Link to this post
    Hi John,

    Then try to copy all the files firstly then recompile. The error message states that the control is not found.

    Best wishes,
    Ivan Dimitrov
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
  5. Amer Ghanem
    Amer Ghanem avatar
    2 posts
    Registered:
    06 Oct 2009
    15 Dec 2009
    Link to this post
    Hello,
    I have been getting the following error when I login into the /Sitefinity. I have not modified any of the control and It was all working fine when I last worked on the project. Today I tried to login and got the error. I am using Sitfinity 3.7

    Server Error in '/' Application.

    A required control was not found in the template for "". The control must be assignable form type "System.Web.UI.WebControls.WebControl" and must have ID "Title".

    Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

    Exception Details: Telerik.Cms.Web.UI.TemplateException: A required control was not found in the template for "". The control must be assignable form type "System.Web.UI.WebControls.WebControl" and must have ID "Title".

    Source Error:

    An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.

    Stack Trace:

    [TemplateException: A required control was not found in the template for "". The control must be assignable form type "System.Web.UI.WebControls.WebControl" and must have ID "Title".]
       Telerik.Cms.Web.UI.GenericContainer.ThrowException(Type requiredType, String controlId) +58
       Telerik.Cms.Web.UI.GenericContainer`1.FindControl(Type requiredType, String id, Boolean required) +76
       Telerik.Cms.Web.UI.GenericContainer`1.FindRequiredControl(String id) +68
       Telerik.Personalization.PersonalizedDashboardContainer.get_Title() +30
       Telerik.Personalization.PersonalizedDashboardItem.CreateChildControls() +148
       System.Web.UI.Control.EnsureChildControls() +87
       System.Web.UI.Control.PreRenderRecursiveInternal() +44
       System.Web.UI.Control.PreRenderRecursiveInternal() +171
       System.Web.UI.Control.PreRenderRecursiveInternal() +171
       System.Web.UI.Control.PreRenderRecursiveInternal() +171
       System.Web.UI.Control.PreRenderRecursiveInternal() +171
       System.Web.UI.Control.PreRenderRecursiveInternal() +171
       System.Web.UI.Control.PreRenderRecursiveInternal() +171
       System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +842
    


    Version Information: Microsoft .NET Framework Version:2.0.50727.3603; ASP.NET Version:2.0.50727.3082
  6. Radoslav Georgiev
    Radoslav Georgiev avatar
    3370 posts
    Registered:
    01 Feb 2016
    15 Dec 2009
    Link to this post
    Hi Amer Ghanem,

    Thank you for using our services.

    Can you tell us exactly in which part of Sitefinity are you getting this error? A few steps describing where you navigate will be useful. Is it possible that someone else was working on the project and accidentally deleted a title control from a template? If you are not using any customizations to your Sitefinity back-end can you try the following? First check your exact Sitefinity version, then get a blank project of the same exact version and take the Sitefinity folder from the blank project and add it to your project. Please try this on a backed up copy first. Note that if you are using external templates you can also re-add the external templates too, that is if no changes have been made to them. If you have made changes you can merge your changes to the default external templates.

    Looking forward on an update of the issue

    Greetings,
    Radoslav Georgiev
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
  7. Kaine Varley
    Kaine Varley avatar
    13 posts
    Registered:
    25 Aug 2009
    25 Jan 2010
    Link to this post
    Hi,

    I used the following steps to reproduce this with SiteFinity 3.7 Community:

      1) Modify the dev solution web.config with the following setting:
     
                 configuration/system.web/compilation/@debug="false"
     
     
      2) Right-click the project and select Publish.

                 Ensure that the 'Allow this precompiled site to be updatable' option is unchecked.

     
      3) Setup a virtual folder to point to the published files with 'Run scripts' checked.
     
      4) Navigate to the website to ensure that it works.

      5) Login to the admin site to see it fail.

    I guess that there is something happening with the Compile and Publish process.

    Regards,


    Kaine
  8. Radoslav Georgiev
    Radoslav Georgiev avatar
    3370 posts
    Registered:
    01 Feb 2016
    26 Jan 2010
    Link to this post
    Hello Kaine Varley,

    Thank you for joining the conversation.

    Basically when you publish a website (pre-compile it)  through VS it will not copy the control templates that are not embedded. This means that the the control templates for the Pages and Dashboard section of the Sitefinity admin will not be copied over to the new virtual directory. You can manually copy/paste the content of the ~/Sitefinity/Admin/ControlTemplates to the physical location of the published website.

    All the best,
    Radoslav Georgiev
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
  9. Kaine Varley
    Kaine Varley avatar
    13 posts
    Registered:
    25 Aug 2009
    26 Jan 2010
    Link to this post
    Hi Radoslav,

    Thanks for your response. I have done a little testing around this and, if the 'Allow this precompiled site to be updatable' option is checked (see my point 2) above), publishing the pre-compiled website does work alright, even the SiteFinity admin.

    Just thought I'd add that.

    Cheers and thanks for an excellent product.


    Kaine

  10. Max
    Max avatar
    9 posts
    Registered:
    29 Sep 2010
    21 Feb 2011
    Link to this post
    Thanks for posting the solution: checking that box fixed the issue. For some reason, it didn't copy all templates before.
Register for webinar
10 posts, 0 answered