Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Sunday, November 3, 2019 10:31 AM
After creating the sub-site with command
> New-SPWeb https://sp.test.local/Events -Language 1033 -Template SITEPAGEPUBLISHING#0
the Site Collection Administrator began to see message
Sorry, this site hasn't been shared with you.
In particular, this message is displayed if click the OK button in the Navigation item in the Site Settings of root site https://sp.test.local/.
Logs
PermissionMask check failed for {}. Asking for 0x00040000, have 0x7FFFFFFFFFFBFFFF
Failed to assert permission mask.
Unknown SPRequest error occurred. More information: 0x80070005
*System.UnauthorizedAccessException: Access is denied. (Exception from HRESULT: 0x80070005 (E_ACCESSDENIED)), StackTrace: *
* at Microsoft.SharePoint.SPWeb.Update(SPWebUpdateParameters parameters) *
* at Microsoft.SharePoint.Publishing.Internal.CodeBehind.AreaNavigationSettingsPage.OKButton_Click(Object sender, EventArgs e) *
* at System.Web.UI.WebControls.Button.OnClick(EventArgs e) *
* at System.Web.UI.WebControls.Button.RaisePostBackEvent(String eventArgument) *
* 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.ProcessRequest(HttpContext context) *
* at System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() *
* at System.Web.HttpApplication.ExecuteStepImpl(IExecutionStep step) *
* at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) *
* at System.Web.HttpApplication.PipelineStepManager.ResumeSteps(Exception error) *
* at System.Web.HttpApplication.BeginProcessRequestNotification(HttpContext context, AsyncCallback cb) *
* at System.Web.HttpRuntime.ProcessRequestNotificationPrivate(IIS7WorkerRequest wr, HttpContext context) *
* at System.Web.Hosting.PipelineRuntime.ProcessRequestNotificationHelper(IntPtr rootedObjectsPointer, IntPtr nativeRequestContext, IntPtr moduleData, Int32 flags) *
* at System.Web.Hosting.PipelineRuntime.ProcessRequestNotification(IntPtr rootedObjectsPointer, IntPtr nativeRequestContext, IntPtr moduleData, Int32 flags) *
* at System.Web.Hosting.UnsafeIISMethods.MgdIndicateCompletion(IntPtr pHandler, RequestNotificationStatus& notificationStatus) *
* at System.Web.Hosting.UnsafeIISMethods.MgdIndicateCompletion(IntPtr pHandler, RequestNotificationStatus& notificationStatus) *
* at System.Web.Hosting.PipelineRuntime.ProcessRequestNotificationHelper(IntPtr rootedObjectsPointer, IntPtr nativeRequestContext, IntPtr moduleData, Int32 flags) *
* at System.Web.Hosting.PipelineRuntime.ProcessRequestNotification(IntPtr rootedObjectsPointer, IntPtr nativeRequestContext, IntPtr moduleData, Int32 flags) *
* Access Denied. Exception: Access is denied. (Exception from HRESULT: 0x80070005 (E_ACCESSDENIED)), StackTrace: *
* at Microsoft.SharePoint.Library.SPRequestInternalClass.SetWebMetainfo(String bstrUrl, WebPropertyBagUpdateFlags flags, Object varMetainfo) *
* at Microsoft.SharePoint.Library.SPRequest.SetWebMetainfo(String bstrUrl, WebPropertyBagUpdateFlags flags, Object varMetainfo).*
* Error saving WebNavigationSettings: Thread was being aborted.*
Starting the SharePoint 2019 Products Configuration Wizard did not help. Resetting and rebooting the server did not help. Clearing the distributed cache also did not help.
Please help fix this situation.
Tuesday, November 5, 2019 8:59 AM ✅Answered | 1 vote
Hello Grace
In our case, in the SharePoint Taxonomy Hidden List, "Everybody" already had read rights.
After creating a site with the specified template SITEPAGEPUBLISHING#0, a permission mask appeared in the site collection. This permission mask restricted access for administrators. To remove this mask, we used the following commands
PS C:\Users\SP19_Admin> $site = Get-SPSite -Identity "https://test.local"
PS C:\Users\SP19_Admin> $site.DenyPermissionsMask = [Microsoft.SharePoint.SPBasePermissions]::EmptyMask
After that, our problem was resolved.
Thanks
Monday, November 4, 2019 6:22 AM
Hi Nikolay,
Make sure all authenticated users have read access for SharePoint Taxonomy Hidden List.
This list is hidden and does not inherit permissions, you can find it by browsing directly to http://spsite/Lists/TaxonomyHiddenList.
If all authenticated users don't have access, we can add "Everyone" to this list with Read permission.
Best regards,
Grace Wang
Please remember to mark the replies as answers if they helped. If you have feedback for TechNet Subscriber Support, contact tnmff@microsoft.com.
SharePoint Server 2019 has been released, you can click
here to download it.
Click
here to learn new features. Visit the dedicated
forum to share, explore and talk to experts about SharePoint Server 2019.
Tuesday, November 5, 2019 9:34 AM
Hi Nikolay,
I'm glad you have resolved your issue and thanks for your sharing.
You can mark your post as answer to help other community members who have the same issue.
Best regards,
Grace Wang
Please remember to mark the replies as answers if they helped. If you have feedback for TechNet Subscriber Support, contact tnmff@microsoft.com.
SharePoint Server 2019 has been released, you can click
here to download it.
Click
here to learn new features. Visit the dedicated
forum to share, explore and talk to experts about SharePoint Server 2019.