Test case details
Test name:
OfficeDevPnP.Core.Tests.Framework.ObjectHandlers.ObjectPagesTests.CanProvisionObjects
Outcome:
Run at:
1/11/2019 6:17:08 PM
Duration:
00:00:03
Error message:
Test method OfficeDevPnP.Core.Tests.Framework.ObjectHandlers.ObjectPagesTests.CanProvisionObjects threw exception: Microsoft.SharePoint.Client.ServerException: File Not Found.
Stacktrace:
at at Microsoft.SharePoint.Client.ClientRequest.ProcessResponseStream(Stream responseStream) at Microsoft.SharePoint.Client.ClientRequest.ProcessResponse() at Microsoft.SharePoint.Client.ClientRequest.ExecuteQueryToServer(ChunkStringBuilder sb) at Microsoft.SharePoint.Client.ClientRequest.ExecuteQuery() at Microsoft.SharePoint.Client.ClientRuntimeContext.ExecuteQuery() at Microsoft.SharePoint.Client.ClientContext.ExecuteQuery() at Microsoft.SharePoint.Client.ClientContextExtensions.ExecuteQueryImplementation(ClientRuntimeContext clientContext, Int32 retryCount, Int32 delay, String userAgent) in c:\pnpbuild\Core\OfficeDevPnP.Core\Extensions\ClientContextExtensions.cs:line 173 at Microsoft.SharePoint.Client.ClientContextExtensions.ExecuteQueryRetry(ClientRuntimeContext clientContext, Int32 retryCount, Int32 delay, String userAgent) in c:\pnpbuild\Core\OfficeDevPnP.Core\Extensions\ClientContextExtensions.cs:line 91 at Microsoft.SharePoint.Client.PageExtensions.GetWebParts(Web web, String serverRelativePageUrl) in c:\pnpbuild\Core\OfficeDevPnP.Core\Extensions\PageExtensions.cs:line 102 at OfficeDevPnP.Core.Framework.Provisioning.ObjectHandlers.ObjectPages.ProvisionObjects(Web web, ProvisioningTemplate template, TokenParser parser, ProvisioningTemplateApplyingInformation applyingInformation) in c:\pnpbuild\Core\OfficeDevPnP.Core\Framework\Provisioning\ObjectHandlers\ObjectPages.cs:line 139 at OfficeDevPnP.Core.Tests.Framework.ObjectHandlers.ObjectPagesTests.CanProvisionObjects() in c:\pnpbuild\Core\OfficeDevPnP.Core.Tests\Framework\ObjectHandlers\ObjectPagesTests.cs:line 93
Console output:
    

Debug Trace:
te.processhost.managed.exe Information: 0 : 2019-01-11 18:17:09.9392	[Pages]	[6]	[Debug]	Code execution scope started	0ms	4899c8e3-3320-4962-ab8e-3946d217259c
te.processhost.managed.exe Information: 0 : 2019-01-11 18:17:11.1420	[Pages]	[6]	[Debug]	Creating new page /sites/pnptest/~site/sitepages/pagetest.aspx	1204ms	4899c8e3-3320-4962-ab8e-3946d217259c
te.processhost.managed.exe Information: 0 : 2019-01-11 18:17:11.5012	[OfficeDevPnP.Core]	[0]	[Information]	Creating folder '~site' under Web '/sites/pnptest/'.	0ms	
te.processhost.managed.exe Error: 0 : 2019-01-11 18:17:11.5325	[Pages]	[6]	[Error]	Creating new page /sites/pnptest/~site/sitepages/pagetest.aspx failed: The file or folder name "sites/pnptest/~site" contains invalid characters. Please use a different name. Common invalid characters include the following: # % * : < > ? /  | :    at Microsoft.SharePoint.Client.ClientRequest.ProcessResponseStream(Stream responseStream)
   at Microsoft.SharePoint.Client.ClientRequest.ProcessResponse()
   at Microsoft.SharePoint.Client.ClientRequest.ExecuteQueryToServer(ChunkStringBuilder sb)
   at Microsoft.SharePoint.Client.ClientRequest.ExecuteQuery()
   at Microsoft.SharePoint.Client.ClientRuntimeContext.ExecuteQuery()
   at Microsoft.SharePoint.Client.ClientContext.ExecuteQuery()
   at Microsoft.SharePoint.Client.ClientContextExtensions.ExecuteQueryImplementation(ClientRuntimeContext clientContext, Int32 retryCount, Int32 delay, String userAgent) in c:\pnpbuild\Core\OfficeDevPnP.Core\Extensions\ClientContextExtensions.cs:line 173
   at Microsoft.SharePoint.Client.ClientContextExtensions.ExecuteQueryRetry(ClientRuntimeContext clientContext, Int32 retryCount, Int32 delay, String userAgent) in c:\pnpbuild\Core\OfficeDevPnP.Core\Extensions\ClientContextExtensions.cs:line 91
   at Microsoft.SharePoint.Client.FileFolderExtensions.EnsureFolderPathImplementation(Web web, String webRelativeUrl, Expression`1[] expressions) in c:\pnpbuild\Core\OfficeDevPnP.Core\Extensions\FileFolderExtensions.cs:line 1111
   at Microsoft.SharePoint.Client.FileFolderExtensions.EnsureFolderPath(Web web, String webRelativeUrl, Expression`1[] expressions) in c:\pnpbuild\Core\OfficeDevPnP.Core\Extensions\FileFolderExtensions.cs:line 918
   at Microsoft.SharePoint.Client.PageExtensions.AddWikiPageByUrl(Web web, String serverRelativePageUrl, String html) in c:\pnpbuild\Core\OfficeDevPnP.Core\Extensions\PageExtensions.cs:line 1037
   at OfficeDevPnP.Core.Framework.Provisioning.ObjectHandlers.ObjectPages.ProvisionObjects(Web web, ProvisioningTemplate template, TokenParser parser, ProvisioningTemplateApplyingInformation applyingInformation) in c:\pnpbuild\Core\OfficeDevPnP.Core\Framework\Provisioning\ObjectHandlers\ObjectPages.cs:line 107	1607ms	4899c8e3-3320-4962-ab8e-3946d217259c
te.processhost.managed.exe Information: 0 : 2019-01-11 18:17:11.5794	[Pages]	[6]	[Debug]	Code execution scope ended	1640ms	4899c8e3-3320-4962-ab8e-3946d217259c