question

DavidPetersen-6688 avatar image
0 Votes"
DavidPetersen-6688 asked PE-1298 commented

SharePoint 2019 Communication Site DENY editing permission

I have a SharePoint 2019 Farm (Single Server) that we are using to evaluate an upgrade from 2013. I set up a new communication site and customized the theme and installed a number of apps. Recently, I applied some server updates to the server, which included some SP2019 updates. Since the updates, any Communication site I create makes the "Home Page" not able to edit. There is actually a "DENY" permission on my user account. If I make another page the Home Page, I can go into the original page and edit it, but as soon as I set it to the Home Page again, it becomes locked.

I can not find any settings that would do this. Prior to the updates, I could edit the page from the home screen. As far as rendering, on the Home page, it does not even render the command bar and when I look at the code-behind using F12, there are two specific errors:

 Uncaught (in promise) TypeError: Cannot read property 'hasAllPermissions' of undefined
 Uncaught (in promise) TypeError: Cannot read property '_currentElement' of null

This does not happen in the page if it isn't designated as the Home Page.

I have been searching the internet, but it appears that nobody has had this problem.
Any ideas?

office-sharepoint-server-administrationoffice-sharepoint-server-itpro
· 1
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

I have the same problem and I am still looking for a solution.
Only the home.aspx is affected. If you switch to another page, you first get a not completely loaded page, if you refresh it, it is loaded correctly.
If you go back to the home.aspx page, the error is present again. The page loads correctly, but you can't edit the links, add a new page or edit web parts, for example. In the Edge console I have the same error:

 Uncaught (in promise) TypeError: Cannot read property 'hasAllPermissions' of undefined
  Uncaught (in promise) TypeError: Cannot read property '_currentElement' of null

To test, I created a new site collection with communication page. I run into the same error.

I think it has something to do with the CU update from August.

0 Votes 0 ·
EchoDu-MSFT avatar image
1 Vote"
EchoDu-MSFT answered

Hello @DavidPetersen-6688 ,

Welcome to Q&A Forum!

I can't reproduce your problem in SharePoint 2019.

I installed the latest CU update package (August 2021) in my 19 environment, and I can edit home.aspx normally.

127461-1.png

127462-2.png

127437-3.png

We recommend that you perform the following troubleshooting:

1.Check if the SharePoint update package of August 2021 is sucessfully instaiiled.

2.Clear the browser cache and refresh the page or use another browser for testing

3.View the Windows Event logs and SharePoint ULS logs to get detailed error reports.

Thanks,
Echo Du
=======================
If an Answer is helpful, please click "Accept Answer" and upvote it.
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.





1.png (59.4 KiB)
2.png (533.7 KiB)
3.png (442.1 KiB)
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

BorisSchy-3182 avatar image
1 Vote"
BorisSchy-3182 answered PE-1298 commented

The update KB5002001 was missing. After the installation everything works again.
It did not come with Windows Update, I had to download and install it manually. Thank you.

· 2
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Hi anonymous userSchy-3182 ,

I'm glad to hear that your problem has been solved.

Have a nice day!

Thanks,
Echo Du

0 Votes 0 ·

Thanks Boris... This saved me some headache as I had the exact same issue. Every time I changed an editable page as the home page the edit button would disappear.


Thanks Again!

0 Votes 0 ·
DavidPetersen-6688 avatar image
0 Votes"
DavidPetersen-6688 answered

This is exactly what was needed. I have been doing regular Windows Updates and I had one patch installed but the KB5002001 patch did not automatically install. I manually downloaded it and installed it and now I can edit the home page.

Thank you for your help!

5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.