Getting Exception calling "AddPublishingPage" with "2" argument(s): "No parameterless constructor defined for this object."

Len Atienza 0 Reputation points
2024-07-30T15:47:37.8833333+00:00

I have this PowerShell script that creates an article page inside the "Pages" document library that runs with no issue until I applied the July 2024 CU in our SharePoint 2019 servers.

My script is:

User's image

The error is this:

Image

Is this related to the issue raised in this article Trending Issue: Certain Powershell operations failing after installing July 2024 CU for SharePoint 2016/2019 – Stefan Goßner (stefan-gossner.com)?

SharePoint Server
SharePoint Server
A family of Microsoft on-premises document management and storage systems.
2,344 questions
SharePoint
SharePoint
A group of Microsoft Products and technologies used for sharing and managing content, knowledge, and applications.
10,700 questions
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,942 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. AllenXu-MSFT 20,286 Reputation points Microsoft Vendor
    2024-07-31T02:29:02.6066667+00:00

    Hi @Len Atienza,

    Yes it is caused by the latest July 2024 CU. MS has noticed this issue and will release a fix as soon as possible. If this has impact on your business, please open a ticket with Microsoft. MS support will give you instant help.


    If the answer is helpful, please click "Accept as Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".

    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

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.