Deploying SharePoint 2019 on premise WSP cannot work well

Will 616 Reputation points
2020-11-04T09:44:52.733+00:00

Hi there,

My Server Farm: 2* WFE

Does you run into the problem when to deploy the SharePoint WSP.? When we deploy the SharePoint 2019 On Premise WSP by PowerShell like the following command:

  1. Add-SPSolution c:\code\SharePointProject2\bin\debug\SharePointProject2.wsp
  2. Install-SPSolution -Identity SharePointProject2.wsp -GACDeployment

There are no errors come up. I also check the status in the SharePoint Central Administrator > System Settings > Manage Farm Solutions and the status is "Deploying". A few minutes later, the status changes into "NOT Deployed".

37447-untitled.png

I add a parameter like Install-SPSolution -Identity SharePointProject2.wsp -Local - Force -GACDeployment. the parameter is -Local. The WSP solution was installed successfully. BUT the information is wrong in Solution Properties > Last Operation Details. It just show a record, actually we have 2 WFE. It should show two records such as:

Last Operation Details:
WIN-I1NS5QSOFNV1: The solution was successfully deployed. --> Cannot find this one
WIN-I1NS5QSOFNV2: The solution was successfully deployed. --> Just only this data is displayed. the server hosts SharePoint Central Administration site

Thanks

Microsoft 365 and Office | SharePoint Server | For business
Microsoft 365 and Office | SharePoint Server | Development
0 comments No comments
{count} votes

Accepted answer
  1. trevorseward 11,711 Reputation points
    2020-11-04T17:41:18.74+00:00

    I believe these may simply be incorrect informational messages, but update to the Oct 2020 PU as there have been fixes to WSP deployment.


0 additional answers

Sort by: Most helpful

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.