Error: Cannot uninstall Language Pack 0 because it is not deployed when attempting to uninstall-spsolution on sharepoint foundation


Hi,

While doing deployment on servers, I was encountered with the error “Update-SPSolution : Cannot uninstall the LanguagePack 0 because it is not deployed.” In order to solve this issue do the following steps:

Find the exact cause: Check the farm solutions by navigating Central Administration >System Settings > Manage farm solutions and you must see error in front of your solution name. There may be multiple reasons why this error came. Error description might help you to find the exact solution. In my case it was saying access denied to few files. I removed the “Read only” attribute from those files.

Resolution: Uninstall/Remove the solution using “Uninstall-SPSolution -Identity <wsp solution file name>”.

Next Add solution again using: “Add-SPSolution -Identity <wsp solution file name>”.

Now intall it again using :”Install-SPSolution -Identity <wsp solution file name> -GACDeployment -Force”.

In case, you get any error doing above steps then last option is go to services.msc stop and restart the SharePoint Timer service and the SharePoint Administration service.

Then run the power shell command again. this time the WSP got updated.

Happy SharePointing :)!!!

Advertisements

2 thoughts on “Error: Cannot uninstall Language Pack 0 because it is not deployed when attempting to uninstall-spsolution on sharepoint foundation

  1. If you’re getting the error when using Uninstall-SPSolution, why would you expect Uninstall-SPSolution to work? That’s what’s causing the problem!

    Also, “A parameter cannot be found that matches parameter name ‘Identity’.

    SharePoint is ass.

    Like

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s