Javascript error on some pages and functions - SP 2019 standard install, latest patches

Matz Höög 96 Reputation points
2021-02-26T15:59:39.493+00:00

Hi,

A single-server install of SP 2019 (with db's in other server). No customization. Patch status:
72517-server-patches.jpg

On a publishing page, edit mode gets a Javascript error and cannot be edited:
72508-edit-publishing-page.jpg

When a new group site is created and permissions shall be added, also Javascript error and users cannot be looked up in user field:
72542-configure-groups.jpg

SharePoint Server Management
SharePoint Server Management
SharePoint Server: A family of Microsoft on-premises document management and storage systems.Management: The act or process of organizing, handling, directing or controlling something.
2,894 questions
0 comments No comments
{count} votes

4 answers

Sort by: Most helpful
  1. Jerryzy 10,566 Reputation points
    2021-03-01T07:48:28.213+00:00

    Hi @Matz Höög ,

    I installed the same Swiden Language Pack and the latest CU Update like this:

    72780-snipaste-2021-03-01-15-01-38.png

    And tested in the publishing page edit mode, it's working as expected in FireFox, no JavaScript error in Console:

    72848-snipaste-2021-03-01-15-45-40.png

    Also works in sub site permssion set page when resolve user in People Picker:

    72911-snipaste-2021-03-01-15-33-27.png

    In the first capture in the original question, I see the ribbon is not loading compeletly, I suggest you could try to clean browser cache and try again to see if it works.

    Also try in other site collection to see if the issue still exists.

    If still the same issue, I suggest to check the ULS log for details.

    Thanks
    Best Regards


    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.


  2. Matz Höög 96 Reputation points
    2021-03-04T13:18:56.393+00:00

    As can be seen in the second picture I posted, the Javascript error tells that a function is undefined "MSOLayout_SetupLayoutFlags". On the row above it says that the Javascript file ie55sup.js could not be loaded.

    The Javascript function "MSOLayout_SetupLayoutFlags" exists in that file. If I manually tries to download that file in Firefox, /_layouts/15/ie55up.js, Firefox complains about a coding error of the content. Other Javascript-files can be downloaded.

    Is this file updated by any patch? On the server it is updated 01/24/2021.
    74258-ie55supjs-file-info.jpg

    Can I get a copy of that file from your installation?

    0 comments No comments

  3. Jerryzy 10,566 Reputation points
    2021-03-05T09:27:11.203+00:00

    The Js file in my environment also modified at 01/24/2021:

    74720-snipaste-2021-03-05-17-24-24.png

    I will upload this file as attachment as .txt file, you can rename to .js, please check:

    74630-ie55up.txt

    Thanks
    Best Regards


    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.

    0 comments No comments

  4. Matz Höög 1 Reputation point
    2021-03-08T15:48:04.77+00:00

    Ok, that file worked!

    I ran a "comp" with the two files and it said it was the same, but exchanged the original with yours anyway and it works. Strange...

    What I can see in Notepad++, the encoding is the same also.

    Could you please supply "entityeditor.js" also (same error with this)?

    Thanks!

    0 comments No comments