question

Ashok-3237 avatar image
3 Votes"
Ashok-3237 asked MaxChan-2028 published

Left Navigation Not loading on Sharepoint Server 2019 Modern Pages

Hi,

I have been having this issue since couple of days.

It seems like all the modern pages in different sites of the environment, the left navigation or quick launch stopped loading.

so i see on the console below error. I seem to not figure out anything.

Any help is appreciated.

ERROR:

sp-pages-assembly.js?uniqueId=xx Uncaught (in promise) TypeError: Cannot read property 'call' of undefined

 at t (sp-pages-assembly.js?uniqueId=xx)
office-sharepoint-server-development
· 4
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.

Has the farm had any recent SharePoint patches applied? If so, what KBs?

0 Votes 0 ·

We didn't do any patches since we moved to 2019 last year.

1 Vote 1 ·

Good day,

Any update on this error? We installed SP2019 with October Patch and we are experiencing the same issue.


Regards,

0 Votes 0 ·

Seen this issue in two patches the first is August 2020 security update and the second one is Jan 2021 security update.

So if you have installed both above mentioned patches you are likely to face this problem on Sharepoint 2019 modern sites. But the good news is both of them are fixed in the later patches. So if you have installed August 2020 CU and getting the problem just download the October 2022 CU and it will fixed and if you have installed Jan 2021 patch and facing the problem you need to install March 2021 both language dependent and independent patch to fix this issue.

I have written an article on this as well which you can refer : Quick navigation missing on modern sites



Hope the above information helps.

0 Votes 0 ·
AmosWu-MSFT avatar image
0 Votes"
AmosWu-MSFT answered AmosWu-MSFT commented
  1. You could check if Quick Launch is enabled in the site settings.
    34167-image.png

  2. You need to check if there is any code hiding Quick Launch(SPFX inject CSS).

After excluding the above two possibilities,you could try to change a browser to see if the issue still exists.
If you need further help,please share more information to help us reproduce your issuse.Thank you.


If the response 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.



image.png (13.8 KiB)
· 8
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.

Thanks for the reply AmosWu.

  1. I have disabled and enabled quick launch, But no change.

  2. Also i don't think there is no code hiding the quick launch, Moreover the edit and publish options on the modern page are not showing as well so there is no way for me to edit the page.


below is what shows on the console. Thanks for the help.

34324-image.png


1 Vote 1 ·
image.png (88.6 KiB)

Do other users have the same problem?

0 Votes 0 ·

Everyone in the company has the same issue Amos.
I don't know how to reproduce it for your end, this happened all of a sudden saying appmanifest error and sp-pages assembly which no one usually mess with.
Thanks

1 Vote 1 ·
Show more comments

@AmosWu-MSFT Hi, were you able to reproduce this on your end? or is my screenshot of the information not enough to go any further with this issue.
thanks

0 Votes 0 ·
Show more comments
HBenade-4874 avatar image
1 Vote"
HBenade-4874 answered AmosWu-MSFT commented

Installing KB4486675 resolved our issue with the Left Navigation:

https://www.microsoft.com/en-us/download/details.aspx?id=102240

· 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.

Thank you for your sharing.

2 Votes 2 ·
musch avatar image
0 Votes"
musch answered CliveBrandon commented

I have the same issue on a freshly installed SP2019 farm (16.0.10366.12106).

  • I have created multiple web applications and site collections with the same issue when using modern team site STS#3


Same issues reported here:
https://docs.microsoft.com/en-us/answers/questions/80671/shareppoint-2019-modern-team-site-template-issue.html?childToView=163899#answer-163899
https://techcommunity.microsoft.com/t5/sharepoint/sp2019-server-quick-launch-nav-missing-on-modern-sites-after-aug/m-p/1710029


47035-image.png



image.png (26.5 KiB)
· 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.

Installing KB4486675 did the trick for me!
https://www.microsoft.com/en-us/download/details.aspx?id=102240

.. and remember PSConfig :)

1 Vote 1 ·

Hi Chris,

Seen as though your environment is working, would you be able to send me 3 JS files from your working environment? Please?

sp-pages-assembly.js
/_layouts/"hive version 15 or 16"/"SP version folder"/next/spclient/en-us/sp-pages-assembly.js

5.sp-pages-navigation.js
/_layouts/"hive version 15 or 16"/"SP version folder"/next/spclient/5.sp-pages-navigation.js

13.sp-command-bar.js
/_layouts/"hive version 15 or 16"/"SP version folder"/next/spclient/13.sp-command-bar.js

0 Votes 0 ·
ChrisBurton-3923 avatar image
1 Vote"
ChrisBurton-3923 answered ChrisBurton-3923 commented

We have also been affected by this issue for months! I finally got fed up and did some sleuthing in the code. It seems that the sp-pages-assembly.js file got replaced by a newer version which is creating most of these issues.


I will preface this by saying, always make backups before you try unverified solutions such as this one. I did such by copying the files I would be replacing in a backup directory, in the case that I need to revert back later.


In this directory:

C:\Program Files\Common Files\microsoft shared\Web Server Extensions\16\TEMPLATE\LAYOUTS\Next\spclient


There are some layout folders. One labeled 'default' and one as 'en-us'. 'en-us' in the URL pointed me to that folder as holding the offending file. In the console, it kept saying 'cannot read property 'call' of undefined' stemming from this file:

https://river.nflibrary.ca/_layouts/15/next/spclient/en-us/sp-pages-assembly.js?uniqueId=madS1


So I replaced the sp-pages-assembly.js file in the 'en-us' folder with the older file in the 'defaults' folder. (After backing it up)


After this, the navigation came back. There are some things that still don't look right as labels aren't being updated from machine labels for example. but the navigation is back and we can edit modern pages again.


You may also need to open a CMD as Admin and run IIS reset as well as doing a hard reload on the site to get the updates to appear as caching can keep you from seeing the changes until then.


It seems that the navigation missing could be stemming from an issue with the publishing bar on modern sites as the navigation would appear again if I was in a list, that uses the modern layout but has a list bar instead of a publishing bar.


It's not perfect, but it's at least usable again.

52248-capture.png



capture.png (14.6 KiB)
· 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.

I tried this and it works for now but it is not a solution.. this issue seems to be ongoing for nearly 2 years now. Come on Microsoft, when will get a fix?

0 Votes 0 ·

I know. It's a half step at best. I was hoping this discovery would help find a solution but Microsoft doesn't care about people using On-Premise clearly.
We paid a lot of money for the software and CALs only to ditch it months later for DokuWiki because it was too broken to use.

I've since left this job and tell everyone who will listen to steer clear of Sharepoint

1 Vote 1 ·
DamienNOBLET-0036 avatar image
0 Votes"
DamienNOBLET-0036 answered

Hi, i installed a fresh SP2019 Farm with CU June 2021 and i have exactly same problems : no left navigation, no ribon (no edit page button) and errors in console with sp-pages-assembly.

I installed the last CU (july) but propblems persists, i tested to add safe control (https://www.kaana-it.at/cannot-edit-modern-design-pages-after-update/) with no success.

The only workaround was to restore the file sp-pages-assembly with an old SP2019 Farm but with no warranties as side effect :(

Any other workaround ?

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.

CliveBrandon avatar image
0 Votes"
CliveBrandon answered CliveBrandon commented

I am experiencing the same issue on SharePoint Server 2019 on-premise; no left navigation, no ribbon / command bar (no edit page button) and errors in console with sp-pages-assembly.
I have installed the latest available CU and Language pack and still have this issue.

16.0.10387.20008 June 2022 SharePoint Server KB 5002212 installed
Update for Microsoft SharePoint Server 2019 Language Pack KB 5002206 installed

PSCONFIG ran successfully after both updates were installed.

· 3
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.

We just had the same issue. But as described in the KB 5002212 you also need KB 5002211. KB 5002206 was for the May Update KB5002207

0 Votes 0 ·
CliveBrandon avatar image CliveBrandon MichaelFriedrichs-9922 ·

Thank Michael for the feedback.

Installed: KB 5002211 - still the same issue (ran PSCONFIG just in case as well, same issue)

KB 5002206 - There are no products affected by this package installed on this system
KB 5002207 - Successfully installed on ‎2022/‎05/‎15

Checked the following updates and Language packs from https://docs.microsoft.com/en-us/officeupdates/sharepoint-updates from the SharePoint 2019 update history section

kb5002108 - There are no products affected by this package
kb5002109 - The update is already installed on this system
kb5002134 - There are no products affected by this package
kb5002135 - The update is already installed on this system
kb5002163 - The update is already installed on this system
kb5002164 - There are no products affected by this package
kb5002180 - The update is already installed on this system
kb5002206 - There are no products affected by this package
kb5002207 - The update is already installed on this system
kb5002211 - There are no products affected by this package
kb5002212 - The update is already installed on this system

0 Votes 0 ·
CliveBrandon avatar image CliveBrandon MichaelFriedrichs-9922 ·

Perhaps on a system that is WORKING, someone could send / upload a ZIP file for me with the 3 files in question?
I could then compare the file sizes etc.. and replace the files I have to test if it works?

sp-pages-assembly.js
/_layouts/"hive version 15 or 16"/"SP version folder"/next/spclient/en-us/sp-pages-assembly.js

5.sp-pages-navigation.js
/_layouts/"hive version 15 or 16"/"SP version folder"/next/spclient/5.sp-pages-navigation.js

13.sp-command-bar.js
/_layouts/"hive version 15 or 16"/"SP version folder"/next/spclient/13.sp-command-bar.js

217785-sp-2019-error.png


0 Votes 0 ·
sp-2019-error.png (118.3 KiB)
CliveBrandon avatar image
0 Votes"
CliveBrandon answered CliveBrandon commented

I cleared the server cache as well as doing the side by side upgrade option (https://blog.stefan-gossner.com/2022/05/31/trending-issue-left-navigation-missing-after-applying-may-2022-cu-for-sharepoint-server-2019/)

Only after clearing the server cache on all SharePoint Server 2019 servers, did the left nav and the commandbar start working properly.

· 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.

@CliveBrandon Thanks for sharing you answer.
After doing side by side upgrade option.
could you please tell me how you cleared the server cache? do we have to perform on all the front end servers?
thanks in advance.

0 Votes 0 ·

@Ashok-3237 I have attached the steps I followed (too 218786-clear-sharepoint-server-config-cache.txtmany characters to paste in here)

There are poweshell scripts around that can to this for you but I just used the good ole "manual" option :-)


0 Votes 0 ·
MaxChan-2028 avatar image
0 Votes"
MaxChan-2028 answered MaxChan-2028 published

I had the same problem.
After installing the latest SharePoint Language Pack, the problem is disappeared.

Reference
https://support.microsoft.com/en-us/topic/june-14-2022-update-for-sharepoint-server-2019-language-pack-kb5002211-affb1814-5356-40ce-b80f-2be2848bb431

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.

MaxChan-2028 avatar image
0 Votes"
MaxChan-2028 answered

I had the same problem.
After installing the latest SharePoint Language Pack, the problem is disappeared.

Reference
https://support.microsoft.com/en-us/topic/june-14-2022-update-for-sharepoint-server-2019-language-pack-kb5002211-affb1814-5356-40ce-b80f-2be2848bb431

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.