Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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

I continue to get this error message "Cannot uninstall Language Pack 0 because it is not deployed" when running the uninstall-spsolution cmdlet. I've attempted a number of alternate syntaxes to no avail. (tried add -language 1033 for example) I see a few other similar issues on the web, but nothing specifically addressing my issue. I know the solution exists. not sure why the Language Pack issue is arising. (by the way...i can see my solution using Sharepoint manager 2010). I've tried a number of anyway, any help would be appreciated. thanks.

(Note: was unable to upload image of error from powershell command shell due to site restriction).

like image 929
user511530 Avatar asked Sep 28 '11 21:09

user511530


1 Answers

I'm also seeing this error in one of our farms when I run the Update-SPSolution commandlet. Recently, we updated the farm with foundation and server Service Pack 1, the associated server language packs and the June Cumulative update. By chance, is this the patch level of your farm? Interestingly, I have no trouble running Update-SPSolution in another farm patched to the same level. The bottom-line is that I don't think this is limited to Uninstall-SPSolution or Update-SPSolution.

I just resolved the issue by doing the following:

  1. Checked the solution store and saw that the solution I was updating was not deployed
  2. I attempted to deploy the solution and saw that it was stuck in the deployment stage
  3. From services.msc I stopped and restarted the SharePoint 2010 Timer service and the SharePoint 2010 Administration service. I don't normally stop and start SharePoint services from Services, but that seemed to do the trick. I also don't know whether it's necessary to recycle both of these services.
  4. I then returned to the command line and was able to successfully update the solution.

Please let me know if this works for you.

like image 56
ewilan Avatar answered Dec 10 '22 05:12

ewilan