This SharePoint tutorial, we learned how to fix error “Sorry, you don’t have access to this page“. Or sometimes you also get a message like “Sorry, this site hasn’t been shared with you“.
Just to let you know that this error we got while working in a Moss 2007 to SharePoint 2013. In one of the site collection, we have a number of subsites, users (having more than contributing access) can able to visit subsites but when they try to edit the page they got the below error:
Sorry, you don’t have access to this page.
But for a few users, they were able to edit the SharePoint pages.
Sorry you don’t have access to this page SharePoint
As the name suggests, we need to first check the permission of the user. And also one more thing you can check if you have migrated from Moss 2007 to SharePoint 2013 is that if users are converted to claims or not. If not you can check out this article to convert users to claims.
When we put the id into the Site collection administrator they are able to edit the page.
After doing some analysis we saw that some unique permission was given to various document libraries like Style Library, Master Page, and Page Layouts document library. Removing unique permission from these two libraries help to solve the issue.
Remove Permission from Master pages and page layouts Gallery
Navigate to the Site Collection Settings. Go to Settings -> Site Settings. Then in the Site Settings Page click on “Master pages and page layouts” under the “Web Designer Galleries” section.
If you do not see “Master pages and page layouts” option then you need to activate the Publishing feature. You can check out this article to know how to activate the publishing feature using PowerShell in SharePoint 2013.
Once the document library opened, go to the Library Settings (from Ribbon), then click on “Permissions for this document library” under the “Permissions and Management” section. There, from the Ribbon click on “Delete unique permissions” under the Permissions tab in Ribbon like below:
Make sure it should inherit from the parent site or if you required to give unique permission then give permission here.
Also, you can go to the Site contents page and search for Style library and go to the library settings and check the permission there and see if it has any unique permission.
Apart from that also you can check the Device Channels library permission. Go to Site Settings, then in the site settings page click on “Device Channels” under Look and Feel.
This will open the Device Channels library, there you can go to the library settings and check the permission. If it has unique permission then you have to follow the above steps.
You may like following SharePoint tutorials:
- Show paging at top in list view web part in SharePoint
- The server is busy now. Try again later in SharePoint 2013/2016
- Document library checkboxes missing after migration from Moss 2007 to SharePoint 2013
- How to get URL for uploading document to a document library in SharePoint 2013
- Value does not fall within the expected range error in SharePoint
- Color Code SharePoint List Column Value based on Condition using Calculated Column
- SharePoint 2013 approval workflow template missing after migration
- The maximum number of web parts for all zones on this page has been exceeded error in SharePoint 2013
- The web server at site collection URL does not appear to have Microsoft SharePoint Foundation installed
This tutorial, we learned how to fix error SharePoint Sorry you don’t have access to this page.
I am Bijay from Odisha, India. Currently working in my own venture TSInfo Technologies in Bangalore, India. I am Microsoft Office Servers and Services (SharePoint) MVP (5 times). I works in SharePoint 2016/2013/2010, SharePoint Online Office 365 etc. Check out My MVP Profile.. I also run popular SharePoint web site SPGuides.com
Download SharePoint Online Tutorial PDF FREE!
Get update on Webinars, video tutorials, training courses etc.