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

Forums / Developing with Sitefinity / Rename Sitefinity folder

Rename Sitefinity folder

3 posts, 0 answered
  1. George
    George  avatar
    204 posts
    Registered:
    05 Sep 2006
    29 Jun 2010
    Link to this post
    Hi there,

    For security reasons, there is a requirement to change the Sitefinity folder name. I am trying to accomplish this on a blank website that I have created from the Project Manager. I also got all the external templates and included them in the project.

    I executed a Find a Replace text search to replace ~/Sitefinity/ with ~/Backoffice/. When I run the application I am able to go to the login page but when I access the admin pages i get the following error for the Default page. I also will include the stack trace from the sitefinity log. Can you please tell me what am I missing here? 

    Exception Type: Telerik.Cms.Web.UI.TemplateException

    Message: 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: Telerik.Cms.Web.UI

    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.Personalization.PersonalizedDashboardItem.PersonalizedDashboardContainer.get_Title()
       at Telerik.Personalization.PersonalizedDashboardItem.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.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
    ------------------------------------------------------------------------------------

    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".



  2. Ivan Dimitrov
    Ivan Dimitrov avatar
    16072 posts
    Registered:
    16 Jun 2017
    29 Jun 2010
    Link to this post
    Hi G-force,

    Sitefinity folder in 3.x edition cannot be renamed or changed. You can apply some restrictions  based on HttpModule, IIS IP Address Domain Name restriction or use url rewriting to mask the location as described in this forum post

    Best wishes,
    Ivan Dimitrov
    the Telerik team
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
  3. George
    George  avatar
    204 posts
    Registered:
    05 Sep 2006
    29 Jun 2010
    Link to this post
    Ivan,

    I do appreciate your reply. I have undergone Sitefinity training with Falafel almost six months ago and I have asked the following question back then which you can find at http://www.falafel.com/training/Sitefinity/sitefinityfaq.aspx question 17 and the answer was Yes. So I think masking the location is the way to go.

    Best,

    George


Register for webinar
3 posts, 0 answered