November Happy Hour will be moved to Thursday December 5th.

Strange behaviour when archiving?

Vote:
 
The arvhive-function does not move the page properly. The page seems to be copied over to the archive-root, but I wont disappear from where the page was created. When deleting the page from the source - EPiServer crashed with the following exception: 2007-11-09 11:00:29,307 ERROR [1] EPiServer.Global.Global_Error - 1.2.5 Unhandled exception in ASP.NET System.Web.HttpUnhandledException: Exception of type 'System.Web.HttpUnhandledException' was thrown. ---> System.InvalidCastException: Unable to cast object of type 'EPiServer.Core.PageData' to type 'EPiServer.Core.PageDataFacade'. at EPiServer.LocalPageStore.GetChildren(PageReference pageLink, ILanguageSelector selector, Int32 startIndex, Int32 maxRows) at EPiServer.DataFactory.GetChildren(PageReference pageLink, ILanguageSelector selector, Int32 startIndex, Int32 maxRows) at EPiServer.PageBase.GetChildren(PageReference pageLink) at EPiServer.Web.WebControls.PageControlBase.GetChildren(PageReference pageLink, PageDataCollection pages) at EPiServer.Web.WebControls.PageListData.PopulatePages(PageDataCollection pages) at EPiServer.Web.WebControls.PageControlBase.PrepareData() at EPiServer.Web.WebControls.PageControlBase.GetPages() at EPiServer.Web.WebControls.NewsList.CreateChildControls() at System.Web.UI.Control.EnsureChildControls() at System.Web.UI.Control.PreRenderRecursiveInternal() at System.Web.UI.Control.PreRenderRecursiveInternal() at System.Web.UI.Control.PreRenderRecursiveInternal() at System.Web.UI.Control.PreRenderRecursiveInternal() at System.Web.UI.Control.PreRenderRecursiveInternal() at System.Web.UI.Control.PreRenderRecursiveInternal() at System.Web.UI.Control.PreRenderRecursiveInternal() at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) --- End of inner exception stack trace --- at System.Web.UI.Page.HandleError(Exception e) at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) at System.Web.UI.Page.ProcessRequest(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) at System.Web.UI.Page.ProcessRequest() at System.Web.UI.Page.ProcessRequestWithNoAssert(HttpContext context) at System.Web.UI.Page.ProcessRequest(HttpContext context) at ASP.default_aspx.ProcessRequest(HttpContext context) at System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)
#15866
Nov 09, 2007 11:17
Vote:
 
This seems to be fixed when updating the .Net Framwork from Windows Update.
#16528
Nov 14, 2007 10:54
This thread is locked and should be used for reference only. Please use the Episerver CMS 7 and earlier versions forum to open new discussions.
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.