Server Error in '/' Application.

Unable to cast object of type 'HyperCore.Business.BaseObject' to type 'HyperWeb.Business.Objects.BaseWebObject'.

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 'HyperCore.Business.BaseObject' to type 'HyperWeb.Business.Objects.BaseWebObject'.

Source Error:


Line 36: 
Line 37:         this._articles.FillBy(articleID);
Line 38:         Authors.FillBy(this._articles[0].AuthorID);
Line 39:         //this._related_articles.FillRelatedArticles(articleID);
Line 40: 

Source File: c:\ClientSites\intraway.gr\archive-levithopoulos.gr\Article.aspx.cs    Line: 38

Stack Trace:


[InvalidCastException: Unable to cast object of type 'HyperCore.Business.BaseObject' to type 'HyperWeb.Business.Objects.BaseWebObject'.]
   HyperWeb.Business.Collection.BaseWebCollection.get_Item(Int32 index) +147
   Hyperware.Websites.ToNama.Business.Collections.ArticlesCollection.get_Item(Int32 index) +124
   Article.LoadPage() in c:\ClientSites\intraway.gr\archive-levithopoulos.gr\Article.aspx.cs:38
   HyperWeb.GUI.BasePage.OnLoad(EventArgs e) +54
   System.Web.UI.Control.LoadRecursive() +90
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +1533


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