More in this section

Forums / Developing with Sitefinity / Removing Modules Gives Error

Removing Modules Gives Error

4 posts, 0 answered
  1. Zhi
    Zhi avatar
    10 posts
    Registered:
    27 Sep 2010
    27 Jul 2011
    Link to this post
    I removed Sitefinity modules from the admin interface and get the following when restarting.

    Any thoughts?

    Server Error in '/' Application.

    Could not find the specified key "NewsTitle" or class id "NewsResources".

    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.ArgumentException: Could not find the specified key "NewsTitle" or class id "NewsResources".

    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: 

    [ArgumentException: Could not find the specified key "NewsTitle" or class id "NewsResources".]
       Telerik.Sitefinity.Localization.Resource.GetString(ResourceDataProvider provider, String classId, String key, CultureInfo culture, Boolean falback, Boolean throws) +454
       Telerik.Sitefinity.Localization.Res.Get(String classId, String key, CultureInfo culture, Boolean fallback, Boolean throws) +168
       Telerik.Sitefinity.Abstractions.AppSettings.GetResourceValue(String resourceClassId, String resourceKey, CultureInfo culture) +125
       Telerik.Sitefinity.Descriptors.LstringPropertyDescriptor.GetValueFromResource(String value, CultureInfo culture) +121
       Telerik.Sitefinity.Descriptors.LstringPropertyDescriptor.TryGetResourceValue(Object component, String& value, CultureInfo culture) +140
       Telerik.Sitefinity.Descriptors.LstringPropertyDescriptor.GetValue(Object component, CultureInfo culture, Boolean throwException, CultureInfo[] defaultCultures) +58
       Telerik.Sitefinity.Descriptors.LstringPropertyDescriptor.GetValue(Object component, CultureInfo culture, Boolean throwException) +71
       Telerik.Sitefinity.Descriptors.LstringPropertyDescriptor.GetString(Object component, CultureInfo culture, Boolean fallback) +100
       Telerik.Sitefinity.Model.Lstring.GetString(CultureInfo culture, Boolean fallback) +65
       Telerik.Sitefinity.Model.Lstring.get_Value() +35
       Telerik.Sitefinity.Web.PageSiteNode..ctor(SiteMapBase provider, PageNode pageNode) +2694
       Telerik.Sitefinity.Web.SiteMapBase.GetChildNodes(SiteMapNode node, Boolean ifAccessible) +458
       Telerik.Sitefinity.Web.PageSiteNode..ctor(SiteMapBase provider, PageNode pageNode) +3493
       Telerik.Sitefinity.Web.SiteMapBase.GetChildNodes(SiteMapNode node, Boolean ifAccessible) +458
       Telerik.Sitefinity.Web.PageSiteNode..ctor(SiteMapBase provider, PageNode pageNode) +3493
       Telerik.Sitefinity.Web.SiteMapBase.GetChildNodes(SiteMapNode node, Boolean ifAccessible) +458
       Telerik.Sitefinity.Web.SiteMapBase.GetChildNodes(SiteMapNode node) +12
       System.Web.SiteMapNode.get_ChildNodes() +30
       Telerik.Sitefinity.Web.UI.Backend.MainMenu.OnLoad(EventArgs e) +257
       System.Web.UI.Control.LoadRecursive() +98
       System.Web.UI.Control.LoadRecursive() +168
       System.Web.UI.Control.LoadRecursive() +168
       System.Web.UI.Control.LoadRecursive() +168
       System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +3485
    


    Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.0.30319.1

  2. Victor Velev
    Victor Velev avatar
    1345 posts
    Registered:
    06 Jul 2015
    27 Jul 2011
    Link to this post
    Hi Zhi,

      The error states that you are missing some kind of reference  thus it fails to initialize properly. If it does not initialize properly it will not be able to load its localization resources.  Please revert back any changes you have made to the site.

    You have to replace the news tag in the system.config with this one:

    <remove name="News" />

    Also you have to remove the page from the backend pages administration.

    Regards,
    Victor Velev
    the Telerik team
    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 Public Issue Tracking system and vote to affect the priority of the items
  3. Zhi
    Zhi avatar
    10 posts
    Registered:
    27 Sep 2010
    28 Jul 2011
    Link to this post
    Hi there,

    I went to /Sitefinity/Administration/BackendPages/Pages

    And there is only the Sitefinity Group page - no news page.

    On applying the "remove" I still get the same error.

    Are there any other places I need to remove the module from?
  4. Victor Velev
    Victor Velev avatar
    1345 posts
    Registered:
    06 Jul 2015
    28 Jul 2011
    Link to this post
    Hi Zhi,

    I have created a video for you which shows all needed steps. Please find it attached.

    Kind regards,
    Victor Velev
    the Telerik team
    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 Public Issue Tracking system and vote to affect the priority of the items
4 posts, 0 answered