开发者

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

开发者 https://www.devze.com 2023-04-08 05:54 出处:网络
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 attempte开发者_如何学编程d a number of alternate

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 attempte开发者_如何学编程d 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).


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.


While I like the answer above and I think it would work some of the time, in my case I had to remove the Errored out WSP from the solution store and then re-add it and then install/deploy it again. After that my updates were working fine again.


I had the same issue, I opened the manage solutions in central admin and there was an error message next to my solution. The error message was actually helpful, it directed me to solve the issue. I have added -force while installing the solution using power shell command then it worked fine. After that I deactivated and reactivated the feature just in case.


I've got the same problem and restarting the services was not enough for me. Then, I solved doing:

  • Retract and then Remove of the wsp from: Central Administration–>System Settings–> Manage farm solutions.

  • Then, from Powershell, I have canceled the Features with null scope (which were preventing me to install again the package succesfully):

    Get-SPFeature | ? { $_.Scope -eq $null }

    $feature = Get-SPFeature | ? { $_.Scope -eq $null }

    $feature.Delete()

  • And at the end I have installed again the wsp:

    Add-SPSolution -LiteralPath Path

    Install-SPSolution -Identity Name.wsp -WebApplication WebApplicationPath –GACDeployment

Then it worked :)


Update: I've just got this problem again, but this time there weren't features with null scope, so it has been enough just to add -Force while installing the wsp.


I had the same issue and after redeploying solution it's gone.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号