Replies: 1 comment
-
I looked into the possibility that the problem was due to the fact the site is a subsite. I received the same error message. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Discussed in #2905
Originally posted by cdriskell March 16, 2023
I have run into some unique error messages using the same scripting for nearly 200 pages. The publishing pages are highly customized, but this error seems unrelated b/c we are transforming to HTML, and the process generally ignores highly customized web parts or generates a more functional error message. Has anyone run into something similar and can share their approach to resolving and moving forward? I tried posting as many details as possible.
$sp13Conn = Connect-PnPOnline https://companysitesp2013 -TransformationOnPrem -ReturnConnection
$spOnlineConn = Connect-PnPOnline https://SPOcompanysite -Interactive -ReturnConnection
Connections are functioning as expected. I connect to both SP2013 and SPO.
Export-PnPPageMapping -BuiltInPageLayoutMapping -CustomPageLayoutMapping -Folder D:\Pub -Overwrite -Connection $sp13Conn -BuiltInWebPartMapping
I am receiving an error message "the cmdlet "Export-PnPPageMapping" has encountered an error, and the ServerErrorTraceCorrelationId "20c89fa0-5e65-d0b4-5480-7908f400d98e" has been generated as a unique identifier for this error."
The "Get-PnPException" cmdlet was used to retrieve more information about the error. However, in this case, the error message seems incomplete, and no specific information was provided about the error that I have found useful.
Export-PnPPageMapping:
ServerErrorTraceCorrelationId: c9c89fa0-fe63-d0b4-7352-401ced0e515d
PS C:\Users\SNV_SA_Temp1> Get-PnPException
Message :
ServerErrorTraceCorrelationId: c9c89fa0-fe63-d0b4-7352-401ced0e515d
Stacktrace : at PnP.PowerShell.Commands.Base.PnPConnectedCmdlet.ProcessRecord() in
c:\build\src\Commands\Base\PnPConnectedCmdlet.cs:line 79
at PnP.PowerShell.Commands.PnPSharePointCmdlet.ProcessRecord() in
c:\build\src\Commands\Base\PnPSharePointCmdlet.cs:line 121
at System.Management.Automation.CommandProcessor.ProcessRecord()
ScriptLineNumber : 1
essage :
ServerErrorTraceCorrelationId: 39c99fa0-0e43-d0b4-7352-4fef91eae165
Stacktrace : at PnP.PowerShell.Commands.Base.PnPConnectedCmdlet.ProcessRecord() in
c:\build\src\Commands\Base\PnPConnectedCmdlet.cs:line 79
at PnP.PowerShell.Commands.PnPSharePointCmdlet.ProcessRecord() in
c:\build\src\Commands\Base\PnPSharePointCmdlet.cs:line 121
at System.Management.Automation.CommandProcessor.ProcessRecord()
ScriptLineNumber : 1
Beta Was this translation helpful? Give feedback.
All reactions