Removing Modules Gives Error

Posted by Community Admin on 04-Aug-2018 00:47

Removing Modules Gives Error

All Replies

Posted by Community Admin on 27-Jul-2011 00:00

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

Posted by Community Admin on 27-Jul-2011 00:00

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

Posted by Community Admin on 28-Jul-2011 00:00

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?

Posted by Community Admin on 28-Jul-2011 00:00

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

This thread is closed