AI OnAI Off
Hi,
Did you manage to find a solution to this problem? We're seeing a similar issue occuring but during mirroring.
Justin
I experienced this using mirroring, and the problem was that one page had a reference to a file in a Page File-folder belonging to another page.
When i make a copy of a page tree in the editor with copy and paste, i get the following error. (see below)
Does anybody know a solution?
Server Error in '/' Application.
--------------------------------------------------------------------------------
[Importing page 25215_41644] Can't copy page, because: Can't map a page folder to a file that belongs to a page with PageGuid = '089c515a-d954-4dd7-b9af-c71395f13fdd'
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: EPiServer.Core.EPiServerException: [Importing page 25215_41644] Can't copy page, because: Can't map a page folder to a file that belongs to a page with PageGuid = '089c515a-d954-4dd7-b9af-c71395f13fdd'
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:
[EPiServerException: [Importing page 25215_41644] Can't copy page, because: Can't map a page folder to a file that belongs to a page with PageGuid = '089c515a-d954-4dd7-b9af-c71395f13fdd']
EPiServer.LocalPageProvider.Copy(PageReference pageLink, PageReference destinationLink, Boolean publishOnDestination, Boolean allowThreading) +530
EPiServer.DataFactory.Copy(PageReference pageLink, PageReference destinationLink, AccessLevel requiredSourceAccess, AccessLevel requiredDestinationAccess, Boolean publishOnDestination, Boolean allowThreading) +323
EPiServer.DataFactory.Copy(PageReference pageLink, PageReference destinationLink, Boolean allowThreading) +132
EPiServer.UI.Edit.CommandActions.PasteCommandTool_Click(Object sender, EventArgs e) +958
EPiServer.UI.WebControls.ToolButton.OnClick(EventArgs e) +103
EPiServer.UI.WebControls.ToolButton.RaisePostBackEvent(String eventArgument) +179
System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument) +29
System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +2981
--------------------------------------------------------------------------------
Version Information: Microsoft .NET Framework Version:2.0.50727.3082; ASP.NET Version:2.0.50727.3082