Exception when tring to run product sample...
Hello,
I'm tring to run the sample of product module (4.1 sdk) but I got this error:
----------------------------------------
Timestamp: 5/17/2011 9:45:02 AM
Message: HandlingInstanceID: f303c4a2-aa3e-4a64-8d5e-7c3c03ba029d
An exception of type 'System.ArgumentException' occurred and was caught.
------------------------------------------------------------------------
05/17/2011 11:45:02
Type : System.ArgumentException, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
Message : Could not find the specified key "ProductsLandingPageTitle" or class id "ProductsResources".
Source : Telerik.Sitefinity
Help link :
ParamName :
Data : System.Collections.ListDictionaryInternal
TargetSite : System.String GetString(Telerik.Sitefinity.Localization.Data.ResourceDataProvider, System.String, System.String, System.Globalization.CultureInfo, Boolean, Boolean)
Stack Trace : at Telerik.Sitefinity.Localization.Resource.GetString(ResourceDataProvider provider, String classId, String key, CultureInfo culture, Boolean falback, Boolean throws)
at Telerik.Sitefinity.Localization.Res.Get(String classId, String key, CultureInfo culture, Boolean fallback, Boolean throws)
at Telerik.Sitefinity.Localization.Res.Get(String classId, String key, CultureInfo culture)
at Telerik.Sitefinity.Abstractions.AppSettings.GetResourceValue(String resourceClassId, String resourceKey, CultureInfo culture)
at Telerik.Sitefinity.Descriptors.LstringPropertyDescriptor.GetValueFromResource(String value, CultureInfo culture)
at Telerik.Sitefinity.Descriptors.LstringPropertyDescriptor.TryGetResourceValue(Object component, String& value, CultureInfo culture)
at Telerik.Sitefinity.Descriptors.LstringPropertyDescriptor.GetValue(Object component, CultureInfo culture, Boolean throwException, CultureInfo[] defaultCultures)
at Telerik.Sitefinity.Descriptors.LstringPropertyDescriptor.GetValue(Object component, CultureInfo culture, Boolean throwException)
at Telerik.Sitefinity.Descriptors.LstringPropertyDescriptor.GetString(Object component, CultureInfo culture, Boolean fallback)
at Telerik.Sitefinity.Model.Lstring.GetString(CultureInfo culture, Boolean fallback)
at Telerik.Sitefinity.Model.Lstring.get_Value()
at Telerik.Sitefinity.Model.Lstring.op_Implicit(Lstring lstring)
at Telerik.Sitefinity.Web.PageSiteNode..ctor(SiteMapBase provider, PageNode pageNode)
at Telerik.Sitefinity.Web.SiteMapBase.GetChildNodes(SiteMapNode node, Boolean ifAccessible)
at Telerik.Sitefinity.Web.SiteMapBase.GetChildNodes(SiteMapNode node)
at System.Web.SiteMapNode.get_ChildNodes()
at System.Web.SiteMapNode.get_HasChildNodes()
at Telerik.Sitefinity.Web.UI.Backend.MainMenu.IsNodeEmpty(PageSiteNode node)
at Telerik.Sitefinity.Web.UI.Backend.MainMenu.<IsNodeEmpty>b__6(PageSiteNode c)
at System.Linq.Enumerable.WhereArrayIterator`1.MoveNext()
at System.Linq.Enumerable.Count[TSource](IEnumerable`1 source)
at Telerik.Sitefinity.Web.UI.Backend.MainMenu.IsNodeEmpty(PageSiteNode node)
at Telerik.Sitefinity.Web.UI.Backend.MainMenu.<IsNodeEmpty>b__6(PageSiteNode c)
at System.Linq.Enumerable.WhereArrayIterator`1.MoveNext()
at System.Linq.Enumerable.Count[TSource](IEnumerable`1 source)
at Telerik.Sitefinity.Web.UI.Backend.MainMenu.IsNodeEmpty(PageSiteNode node)
at Telerik.Sitefinity.Web.UI.Backend.MainMenu.CreateRadMenuItemFromNode(SiteMapNode node)
at Telerik.Sitefinity.Web.UI.Backend.MainMenu.OnLoad(EventArgs e)
at System.Web.UI.Control.LoadRecursive()
at System.Web.UI.Control.LoadRecursive()
at System.Web.UI.Control.LoadRecursive()
at System.Web.UI.Control.LoadRecursive()
at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
can anyone tell me a possible cause?
Thanks
Hi Paolo,
Can you, please, share with us some more details on how you arrived to this error- did you modify the Products module in any way, or you're just running the sample included in the SDK. In case of a clean SDK installation and just running the sample, there should be no problems experienced, that's why any background information related to the steps you are taking to reproduce this error and your project setup will be useful. Thanks in advance.
Greetings,
Boyan Barnev
the Telerik team