how to remove wsp

Mohammad Qasim 576 Reputation points
2021-06-29T08:54:36.603+00:00

Greetings,

i am trying to add or remove wsp, its giving me below error

110232-serverdploy.png

Solution Required: How can i remove this issue to deploy/remove wsp.

Note: have tried, uninstall and remove power cmd, still hard luck.

Thanks

Microsoft 365 and Office | SharePoint Server | Development
{count} votes

1 answer

Sort by: Most helpful
  1. Yi Lu_MSFT 17,616 Reputation points
    2021-07-01T09:03:22.753+00:00

    Hi,@Mohammad Qasim

    Please check as following:

    1. Make sure SharePoint timer service is started on all WFE/APP servers, restart it and compare the result.
    2. Try restarting the SharePoint Administration service on all WFE/APP servers.
    3. Clear the configuration cache
    4. You could also force remove and force install solutions with PowerShell (Remove-SPSolution and Install-SPSolution with -Force flag):
      Remove-SPSolution -Identity contoso_solution.wsp -force

    Install-SPSolution -Identity contoso_solution.wsp -Force

    Note: Microsoft is providing this information as a convenience to you. The sites are not controlled by Microsoft. Microsoft cannot make any representations regarding the quality, safety, or suitability of any software or information found there. Please make sure that you completely understand the risk before retrieving any suggestions from the above link.


    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.


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.