Server Error in '/' Application.

Unable to cast object of type 'Panaramica.Accounts.User' to type 'Panaramica.Accounts.User'.

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 'Panaramica.Accounts.User' to type 'Panaramica.Accounts.User'.

Source Error:


Line 10: 					<a class="zoneLink" href="<%# ((ContentItem)Container.DataItem).Url %>"><%# ((ContentItem)Container.DataItem).Title %></a>
Line 11: 				</h5>
Line 12: 				<div class="byline">por:&nbsp;<%# ((ContentItem)Container.DataItem).AuthorName %></div>
Line 13: 				<a href="<%#((ContentItem)Container.DataItem).Url %>">
Line 14: 				<img class="smImg" src="<%# ((ContentItem)Container.DataItem).Image.UrlThumbnail %>" /></a>

Source File: c:\hshome\chorrera\lachorrera.com\UserControls\ContentListZone.ascx    Line: 12

Stack Trace:


[InvalidCastException: Unable to cast object of type 'Panaramica.Accounts.User' to type 'Panaramica.Accounts.User'.]
   IconCms.Core.CmsDomainObject.get_CreatedByUser() +40
   IconCms.Core.ContentItem.get_AuthorName() +22
   ASP.usercontrols_contentlistzone_ascx.__DataBind__control3(Object sender, EventArgs e) in c:\hshome\chorrera\lachorrera.com\UserControls\ContentListZone.ascx:12
   System.Web.UI.Control.OnDataBinding(EventArgs e) +99
   System.Web.UI.Control.DataBind(Boolean raiseOnDataBinding) +206
   System.Web.UI.Control.DataBind() +12
   System.Web.UI.Control.DataBindChildren() +216
   System.Web.UI.Control.DataBind(Boolean raiseOnDataBinding) +216
   System.Web.UI.Control.DataBind() +12
   System.Web.UI.WebControls.Repeater.CreateItem(Int32 itemIndex, ListItemType itemType, Boolean dataBind, Object dataItem) +130
   System.Web.UI.WebControls.Repeater.CreateControlHierarchy(Boolean useDataSource) +454
   System.Web.UI.WebControls.Repeater.OnDataBinding(EventArgs e) +53
   System.Web.UI.WebControls.Repeater.DataBind() +72
   System.Web.UI.Control.DataBindChildren() +216
   System.Web.UI.Control.DataBind(Boolean raiseOnDataBinding) +216
   System.Web.UI.Control.DataBind() +12
   ChorreraWeb.Templates.ContentListZone.DataBind() +9
   ChorreraWeb.Templates.DefaultContent.Page_Load(Object sender, EventArgs e) +241
   System.Web.Util.CalliHelper.EventArgFunctionCaller(IntPtr fp, Object o, Object t, EventArgs e) +15
   System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e) +34
   System.Web.UI.Control.OnLoad(EventArgs e) +99
   System.Web.UI.Control.LoadRecursive() +47
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +1061


Version Information: Microsoft .NET Framework Version:2.0.50727.832; ASP.NET Version:2.0.50727.832