logo
search
Others

Fix SharePoint 2019 AddPublishingPage Error After July 2024 Update

Ayan MasoodAyan Masood Sep 28, 2026 869 views

Question details

A PowerShell script used to create SharePoint Server 2019 article pages fails with a constructor error after applying the July 2024 cumulative update.

How to Fix SharePoint 2019 AddPublishingPage Error After July 2024 Update
Product
SharePoint Server 2019
Device & OS
Windows Server
Scenario
Running a PowerShell script to create publishing pages on an on-premises SharePoint environment.
Observed behavior
The script execution halts and throws the error message: 'No parameterless constructor defined for this object.'
Before you start

Verify that your farm administrator account has sufficient permissions to view ULS logs, and ensure you have a recent farm backup before testing any script modifications or update rollbacks.

Solution 1Recommended

Post the Issue to the Microsoft Q&A Community

Since this error is isolated to SharePoint Server 2019 and a specific cumulative update, escalating to Microsoft Server experts is the most effective path to a resolution.

The 'No parameterless constructor' error often indicates an internal code change within the cumulative update that breaks existing PowerShell cmdlets or .NET calls. Because this is a server-side dependency issue rather than a user configuration error, direct intervention or patching from Microsoft's engineering team is usually required.

1
Access Microsoft Q&A

Navigate to the official Microsoft Q&A Community website and sign in with your Microsoft administrator credentials.

2
Draft your question

Click 'Ask a question' and provide a clear title detailing the AddPublishingPage failure.

3
Provide necessary technical details

Include your exact PowerShell script snippet, the specific July 2024 update version (KB number), and the full error stack trace. Be sure to scrub any sensitive internal domain or server names.

4
Apply correct tags

Tag the post specifically with 'SharePoint Server' rather than 'SharePoint Online' to ensure it reaches the correct support engineers.

Post the Issue to the Microsoft Q&A Community
Free Microsoft Office alternative

Simplify Document Management with WPS Office

While resolving complex SharePoint Server and PowerShell issues requires deep IT administration, creating and managing your daily documents shouldn't be a struggle. WPS Office provides a seamless, lightweight, and entirely free alternative to Microsoft Office, letting you create stunning documents, spreadsheets, and presentations without heavy server-side dependencies.

  1. 1. Download the software: Visit the official WPS Office website and click the free download button for your operating system.
  2. 2. Install WPS Office: Run the installer and follow the simple on-screen instructions to set up the suite.
  3. 3. Open your files: Launch WPS Office and instantly open, edit, or save your existing Office documents.
Fully compatible with Microsoft Office formats including .docx, .xlsx, and .pptx.Lightweight installation that doesn't require complex server deployments.Familiar user interface ensuring zero learning curve for your team.Built-in PDF editing tools for streamlined document workflows.
microsoft office alternative - wps office

Frequently Asked Questions

Why does the 'No parameterless constructor defined' error happen in PowerShell?

This error occurs when a script tries to create an instance of a .NET class or object that requires specific parameters, but none are provided. An update like the July 2024 patch may have modified the underlying SharePoint classes, removing the default parameterless constructor.

Can I fix this error by modifying my AddPublishingPage script?

If the required parameters for the class were changed by the update, you might be able to fix the script by supplying the newly required arguments. However, documentation for such internal changes is often sparse, making it best to consult the Microsoft Q&A community first.

Is SharePoint Online affected by this July 2024 PowerShell error?

No. Based on current reports, this specific AddPublishingPage constructor failure is isolated to SharePoint Server 2019 on-premises environments following the July 2024 cumulative update.