When you want to update a solution, sometimes you can’t retract a solution from Central Admin.
Error messages:
"A feature with ID xxxxxxxxx has already been installed in this farm. Use the force attribute to explicitly re-install the feature.”
Do the following:
- Use PowerShell to Retract the solution:
Uninstall-SPSolution -Identity solutionName.wsp –WebApplication http://SharepointWebApp/
- Use STSADM to remove the solution:
(Go to the command line (Start – Run – cmd), then go to this path: C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\14\BIN, then type the following command)
stsadm -o deletesolution -name "solutionName.wsp" -override
- Use PowerShell to add the solution:
Add-SPSolution -LiteralPath C:TempmovingsolutionName.wsp
- Use PowerShell to deploy the solution (with "-Force” attribute):
Install-SPSolution –Identity CustomerDetails.wsp –WebApplication http://SharepointWebApp/ –GACDeployment -Force
Turhal Temizer
0 Yorumlar