Error getting content
Every time Sitefinity tries to get a content from a library the following error appears:
Unable to cast object of type 'Telerik.Cms.Engine.Data.ContentVersion' to type 'Telerik.Cms.Engine.Data.CmsContentBase'.
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.InvalidCastException: Unable to cast object of type 'Telerik.Cms.Engine.Data.ContentVersion' to type 'Telerik.Cms.Engine.Data.CmsContentBase'.
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:
[InvalidCastException: Unable to cast object of type 'Telerik.Cms.Engine.Data.ContentVersion' to type 'Telerik.Cms.Engine.Data.CmsContentBase'.]
Telerik.Cms.Engine.Data.Providers.DefaultProvider.LoadQuerySlow(ContentQuery query, Nullable`1 status, Guid[] parentIDs, IMetaSearchInfo[] filter) +406
Telerik.Cms.Engine.Data.Providers.DefaultProvider.GetContent(Int32 from, Int32 max, String sortExp, String tagName, Nullable`1 status, String itemInfo, SearchCondition itemInfoCondition, Guid[] parentIDs, String[] predefinedFilters, IMetaSearchInfo[] filter) +1446
Telerik.Cms.Engine.Data.Providers.DefaultProvider.GetContent(Int32 from, Int32 max, String sortExp, String tagName, Nullable`1 status, String itemInfo, SearchCondition itemInfoCondition, Guid[] parentIDs, IMetaSearchInfo[] filter) +48
Telerik.Cms.Engine.Data.Providers.DefaultProvider.GetContent(Int32 from, Int32 max, String sortExp, String tagName, Nullable`1 status, String itemInfo, Guid[] parentIDs, IMetaSearchInfo[] filter) +45
Telerik.Cms.Engine.Data.Providers.DefaultProvider.GetContent(Int32 from, Int32 max, String sortExp, String tagName, Nullable`1 status, Guid[] parentIDs, IMetaSearchInfo[] filter) +42
Telerik.Cms.Engine.ContentManager.GetContent(IMetaSearchInfo[] filter) +40
sitefinity.kolst.WebControls.ContentRotator.CreateChildControls() +524
System.Web.UI.Control.EnsureChildControls() +87
System.Web.UI.Control.PreRenderRecursiveInternal() +44
System.Web.UI.Control.PreRenderRecursiveInternal() +171
System.Web.UI.Control.PreRenderRecursiveInternal() +171
System.Web.UI.Control.PreRenderRecursiveInternal() +171
System.Web.UI.Control.PreRenderRecursiveInternal() +171
System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +842
Thanks,
Gianluca.
Is there anybody out there?
Hi Gianluca,
We have answered you in the support ticket.
Greetings,
Victor Velev
the Telerik team