You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
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.
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
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
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
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