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

Forums / Developing with Sitefinity / Sitefinity 3.7 remove list from modules

Sitefinity 3.7 remove list from modules

7 posts, 0 answered
  1. karnan sekar
    karnan sekar avatar
    80 posts
    Registered:
    07 Jul 2009
    05 Nov 2009
    Link to this post
    Hi,

    We try to remove list from the modules it is giving an error as below. Please suggest Us how to remove the list and others in the modules.

    Server Error in '/' Application.

    Could not load file or assembly 'Telerik.Lists]]' or one of its dependencies. The system cannot find the file specified.

    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: System.IO.FileNotFoundException: Could not load file or assembly 'Telerik.Lists]]' or one of its dependencies. The system cannot find the file specified.

    Source Error:

    Line 54: 			{
    Line 55: 				Telerik.Web.IControlPanel ctrlPnl = (Telerik.Web.IControlPanel)this.contolPanel;
    Line 56: 				foreach (Telerik.Web.ICommandPanel cmdPnl in ctrlPnl.CommandPanels)
    Line 57: 					this.ToolBoxHolder.Controls.Add((Control)cmdPnl);
    Line 58: 			}

    Source File: d:\Program Files\telerik\Sitefinity3.2\WebSites\QFC_Rebuild_Test_37\Sitefinity\Admin\Modules.aspx.cs    Line: 56

    Assembly Load Trace: The following information can be helpful to determine why the assembly 'Telerik.Lists]]' could not be loaded.

    WRN: Assembly binding logging is turned OFF.
    To enable assembly bind failure logging, set the registry value [HKLM\Software\Microsoft\Fusion!EnableLog] (DWORD) to 1.
    Note: There is some performance penalty associated with assembly bind failure logging.
    To turn this feature off, remove the registry value [HKLM\Software\Microsoft\Fusion!EnableLog].
    

    Stack Trace:

    [FileNotFoundException: Could not load file or assembly 'Telerik.Lists]]' or one of its dependencies. The system cannot find the file specified.]
       System.Reflection.Assembly._nLoad(AssemblyName fileName, String codeBase, Evidence assemblySecurity, Assembly locationHint, StackCrawlMark& stackMark, Boolean throwOnFileNotFound, Boolean forIntrospection) +0
       System.Reflection.Assembly.nLoad(AssemblyName fileName, String codeBase, Evidence assemblySecurity, Assembly locationHint, StackCrawlMark& stackMark, Boolean throwOnFileNotFound, Boolean forIntrospection) +43
       System.Reflection.Assembly.InternalLoad(AssemblyName assemblyRef, Evidence assemblySecurity, StackCrawlMark& stackMark, Boolean forIntrospection) +127
       System.Reflection.Assembly.InternalLoad(String assemblyString, Evidence assemblySecurity, StackCrawlMark& stackMark, Boolean forIntrospection) +142
       System.Reflection.Assembly.Load(String assemblyString) +28
       Telerik.Utilities.TypeResolutionService.GetType(String name, Boolean throwOnError, Boolean ignoreCase) +590
       Telerik.Utilities.StringTypeConverter.ConvertFrom(ITypeDescriptorContext context, CultureInfo culture, Object value) +79
       System.ComponentModel.TypeConverter.ConvertFromString(String text) +12
       Telerik.Sitefinity.Configuration.XmlConfigProvider.LoadAttributes(ConfigElement element, XmlReader reader) +260
       Telerik.Sitefinity.Configuration.XmlConfigProvider.LoadElement(ConfigElement element, XmlReader reader, Stack`1 stack) +371
       Telerik.Sitefinity.Configuration.XmlConfigProvider.LoadElement(ConfigElement element, XmlReader reader, Stack`1 stack) +443
       Telerik.Sitefinity.Configuration.XmlConfigProvider.LoadElement(ConfigElement element, XmlReader reader, Stack`1 stack) +443
       Telerik.Sitefinity.Configuration.XmlConfigProvider.LoadElement(ConfigElement element, XmlReader reader, Stack`1 stack) +443
       Telerik.Sitefinity.Configuration.XmlConfigProvider.LoadElement(ConfigElement element, XmlReader reader, Stack`1 stack) +443
       Telerik.Sitefinity.Configuration.XmlConfigProvider.LoadElement(ConfigElement element, XmlReader reader, Stack`1 stack) +443
       Telerik.Sitefinity.Configuration.XmlConfigProvider.LoadElement(ConfigElement element, XmlReader reader, Stack`1 stack) +443
       Telerik.Sitefinity.Configuration.XmlConfigProvider.LoadElement(ConfigElement element, XmlReader reader, Stack`1 stack) +443
       Telerik.Sitefinity.Configuration.XmlConfigProvider.LoadElement(ConfigElement element, XmlReader reader, Stack`1 stack) +443
       Telerik.Sitefinity.Configuration.XmlConfigProvider.LoadElement(ConfigElement element, XmlReader reader, Stack`1 stack) +443
       Telerik.Sitefinity.Configuration.XmlConfigProvider.LoadElement(ConfigElement element, XmlReader reader, Stack`1 stack) +443
       Telerik.Sitefinity.Configuration.XmlConfigProvider.LoadElement(ConfigElement element, XmlReader reader, Stack`1 stack) +443
       Telerik.Sitefinity.Configuration.XmlConfigProvider.LoadElement(ConfigElement element, XmlReader reader, Stack`1 stack) +443
       Telerik.Sitefinity.Configuration.XmlConfigProvider.LoadElement(ConfigElement element, XmlReader reader, Stack`1 stack) +443
       Telerik.Sitefinity.Configuration.XmlConfigProvider.LoadElement(ConfigElement element, XmlReader reader, Stack`1 stack) +443
       Telerik.Sitefinity.Configuration.XmlConfigProvider.LoadElement(ConfigElement element, XmlReader reader, Stack`1 stack) +443
       Telerik.Sitefinity.Configuration.XmlConfigProvider.LoadElement(ConfigElement element, XmlReader reader, Stack`1 stack) +443
       Telerik.Sitefinity.Configuration.XmlConfigProvider.LoadElement(ConfigElement element, XmlReader reader, Stack`1 stack) +443
       Telerik.Sitefinity.Configuration.XmlConfigProvider.LoadElement(ConfigElement element, XmlReader reader, Stack`1 stack) +443
       Telerik.Sitefinity.Configuration.XmlConfigProvider.LoadElement(ConfigElement element, XmlReader reader, Stack`1 stack) +443
       Telerik.Sitefinity.Configuration.XmlConfigProvider.LoadElement(ConfigElement element, XmlReader reader, Stack`1 stack) +443
       Telerik.Sitefinity.Configuration.XmlConfigProvider.LoadElement(ConfigElement element, XmlReader reader, Stack`1 stack) +443
       Telerik.Sitefinity.Configuration.XmlConfigProvider.LoadElement(ConfigElement element, XmlReader reader, Stack`1 stack) +443
       Telerik.Sitefinity.Configuration.XmlConfigProvider.LoadElement(ConfigElement element, XmlReader reader, Stack`1 stack) +443
       Telerik.Sitefinity.Configuration.XmlConfigProvider.LoadElement(ConfigElement element, XmlReader reader, Stack`1 stack) +443
       Telerik.Sitefinity.Configuration.XmlConfigProvider.LoadElement(ConfigElement element, XmlReader reader, Stack`1 stack) +443
       Telerik.Sitefinity.Configuration.XmlConfigProvider.LoadElement(ConfigElement element, XmlReader reader, Stack`1 stack) +443
       Telerik.Sitefinity.Configuration.XmlConfigProvider.LoadElement(ConfigElement element, XmlReader reader, Stack`1 stack) +443
       Telerik.Sitefinity.Configuration.XmlConfigProvider.LoadElement(ConfigElement element, XmlReader reader, Stack`1 stack) +443
       Telerik.Sitefinity.Configuration.XmlConfigProvider.LoadElement(ConfigElement element, XmlReader reader, Stack`1 stack) +443
       Telerik.Sitefinity.Configuration.XmlConfigProvider.LoadElement(ConfigElement element, XmlReader reader, Stack`1 stack) +443
       Telerik.Sitefinity.Configuration.XmlConfigProvider.LoadElement(ConfigElement element, XmlReader reader, Stack`1 stack) +443
       Telerik.Sitefinity.Configuration.XmlConfigProvider.LoadElement(ConfigElement element, XmlReader reader, Stack`1 stack) +443
       Telerik.Sitefinity.Configuration.XmlConfigProvider.LoadElement(ConfigElement element, XmlReader reader, Stack`1 stack) +443
       Telerik.Sitefinity.Configuration.XmlConfigProvider.LoadElement(ConfigElement element, XmlReader reader, Stack`1 stack) +443
       Telerik.Sitefinity.Configuration.XmlConfigProvider.LoadElement(ConfigElement element, XmlReader reader, Stack`1 stack) +443
       Telerik.Sitefinity.Configuration.XmlConfigProvider.LoadElement(ConfigElement element, XmlReader reader, Stack`1 stack) +443
       Telerik.Sitefinity.Configuration.XmlConfigProvider.LoadElement(ConfigElement element, XmlReader reader, Stack`1 stack) +443
       Telerik.Sitefinity.Configuration.XmlConfigProvider.LoadSection(ConfigSection section) +155
       Telerik.Sitefinity.Configuration.ConfigProvider.GetSection() +280
       Telerik.Sitefinity.Configuration.ConfigManager.GetSection() +56
       Telerik.Cms.Web.UI.ViewModeControl`1..cctor() +83
    
    [TypeInitializationException: The type initializer for 'Telerik.Cms.Web.UI.ViewModeControl`1' threw an exception.]
       Telerik.Cms.Web.UI.ViewModeControl`1.get_Views() +151
       Telerik.Cms.Web.UI.ViewModeControl`1.get_DefaultViewMode() +22
       Telerik.Cms.Web.UI.ViewModeControl`1.get_ViewMode() +209
       Telerik.Cms.Web.UI.Backend.ControlPanel`1.get_CommandPanels() +24
       Modules.Page_Load(Object sender, EventArgs e) in d:\Program Files\telerik\Sitefinity3.2\WebSites\QFC_Rebuild_Test_37\Sitefinity\Admin\Modules.aspx.cs:56
       System.Web.Util.CalliHelper.EventArgFunctionCaller(IntPtr fp, Object o, Object t, EventArgs e) +14
       System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e) +35
       System.Web.UI.Control.OnLoad(EventArgs e) +99
       Telerik.Cms.Web.CmsPageBase.OnLoad(EventArgs e) +55
       Telerik.Cms.Web.AdminPage.OnLoad(EventArgs e) +20
       System.Web.UI.Control.LoadRecursive() +50
       System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +627
    
  2. Ivan Dimitrov
    Ivan Dimitrov avatar
    16072 posts
    Registered:
    16 Jun 2017
    05 Nov 2009
    Link to this post
    Hello karnan sekar,

    Please check your ControlsConfig file. There you have some references to the Lists module. Once you remove the references the error will disappear.

    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.
  3. karnan sekar
    karnan sekar avatar
    80 posts
    Registered:
    07 Jul 2009
    05 Nov 2009
    Link to this post
    Hi Ivan Dimitrov,

    Could you please tell us the location on ControlsConfig file.

    Thanks,
    karnan
  4. Ivan Dimitrov
    Ivan Dimitrov avatar
    16072 posts
    Registered:
    16 Jun 2017
    05 Nov 2009
    Link to this post
    Hi karnan sekar,

    You will find the file under App_Data/Configuration folder. By default this file is not there and you must have added it.

    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. karnan sekar
    karnan sekar avatar
    80 posts
    Registered:
    07 Jul 2009
    05 Nov 2009
    Link to this post
    Hi Ivan Dimitrov,

    Yes we added this for customization. You mean to say

    Telerik.Sitefinity.Configuration.ControlsConfig.xml File right.  Below are the list its referencing, could please tell us which are to be removed.


    <!--Displays all lists-->
        <viewSettings hostType="Telerik.Lists.WebControls.Admin.ListsAll`1[[Telerik.Lists.WebControls.Admin.AllListsView, Telerik.Lists]]" layoutTemplatePath="~/Sitefinity/Admin/ControlTemplates/Lists/ListsAll.ascx" />
        <!--Inserts a list-->
        <viewSettings hostType="Telerik.Lists.WebControls.Admin.ListInsert`1[[Telerik.Lists.WebControls.Admin.AllListsView, Telerik.Lists]]" layoutTemplatePath="~/Sitefinity/Admin/ControlTemplates/Lists/ListInsert.ascx" />
        <!--Edits a list-->
        <viewSettings hostType="Telerik.Lists.WebControls.Admin.ListEdit`1[[Telerik.Lists.WebControls.Admin.AllListsView, Telerik.Lists]]" layoutTemplatePath="~/Sitefinity/Admin/ControlTemplates/Lists/ListEdit.ascx" />
        <!--Displays all items of a list-->
        <viewSettings hostType="Telerik.Lists.WebControls.Admin.ListItemsAll`1[[Telerik.Lists.WebControls.Admin.AllListsView, Telerik.Lists]]" layoutTemplatePath="~/Sitefinity/Admin/ControlTemplates/Lists/ListItemsAll.ascx" />
        <!--Edits a list item-->
        <viewSettings hostType="Telerik.Lists.WebControls.Admin.ListItemEdit`1[[Telerik.Lists.WebControls.Admin.AllListsView, Telerik.Lists]]" layoutTemplatePath="~/Sitefinity/Admin/ControlTemplates/Lists/ListItemEdit.ascx" />
        <!--Inserts a list item-->
        <viewSettings hostType="Telerik.Lists.WebControls.Admin.ListItemInsert`1[[Telerik.Lists.WebControls.Admin.AllListsView, Telerik.Lists]]" layoutTemplatePath="~/Sitefinity/Admin/ControlTemplates/Lists/ListItemInsert.ascx" />
        <!--Displays permissions for the Lists module-->
        <viewSettings hostType="Telerik.Lists.WebControls.Admin.PermissionsView`1[[Telerik.Lists.WebControls.Admin.ListsControlPanel, Telerik.Lists]]" layoutTemplatePath="~/Sitefinity/Admin/ControlTemplates/Lists/PermissionsView.ascx" />



     <!--Gets or sets the path of the template used by Lists control designer.-->
        <viewSettings hostType="Telerik.Lists.Design.ListsControlDesigner" layoutTemplatePath="~/Sitefinity/ControlTemplates/Lists/ListsDesignerView.ascx" />
        <viewSettings hostType="Telerik.Lists.WebControls.ListDisplay">
          <additionalTemplates>
            <!--Simple list-->
            <add key="SimpleListTemplatePath" layoutTemplatePath="~/Sitefinity/ControlTemplates/Lists/SimpleListView.ascx" />
            <!--Expanded list-->
            <add key="ExpandedListTemplatePath" layoutTemplatePath="~/Sitefinity/ControlTemplates/Lists/ExpandedListView.ascx" />
            <!--Expandable list-->
            <add key="ExpandableListTemplatePath" layoutTemplatePath="~/Sitefinity/ControlTemplates/Lists/ExpandableListView.ascx" />
            <!--Anchor list-->
            <add key="AnchorListTemplatePath" layoutTemplatePath="~/Sitefinity/ControlTemplates/Lists/AnchorListView.ascx" />
            <!--Page list-->
            <add key="PageListTemplatePath" layoutTemplatePath="~/Sitefinity/ControlTemplates/Lists/PageListView.ascx" />
            <!--Simple Rotating list-->
            <add key="RotatingListsSimpleTemplatePath" layoutTemplatePath="~/Sitefinity/ControlTemplates/Lists/RotatingListsSimpleView.ascx" />
            <!--Expanded Rotating list-->
            <add key="RotatingListsExpandedTemplatePath" layoutTemplatePath="~/Sitefinity/ControlTemplates/Lists/RotatingListsExpandedView.ascx" />
          </additionalTemplates>
        </viewSettings>
        <viewSettings hostType="Telerik.Lists.WebControls.ListSelector" layoutTemplatePath="~/Sitefinity/ControlTemplates/Lists/ListSelectorView.ascx" />


    Thanks,
    Karnan


  6. Ivan Dimitrov
    Ivan Dimitrov avatar
    16072 posts
    Registered:
    16 Jun 2017
    05 Nov 2009
    Link to this post
    Hello karnan sekar,

    Remove all reference to the Lists module otherwise you will get errors.

    Kind regards,
    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.
  7. karnan sekar
    karnan sekar avatar
    80 posts
    Registered:
    07 Jul 2009
    05 Nov 2009
    Link to this post
    Thank you so much Ivan Dimitrov.

    Regards,
    Karnan
Register for webinar
7 posts, 0 answered