SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Im trying to update a web part that has been distibuted across our sharepoint intranet and im coming up with an error ive never seen before. Ive googled but cant find any info. Can someone help. The error is below

Update-SPSolution : The solution cannot be deployed. The feature '54c38541-0617-4148-8cbc-7ae319ff9cdf' uses the directory "RambollUK.Intranet.SP.MetroLinksViewer_MetroLinksViewer" in the solution. However, it is currently installed in the farm to the directory "RambollUK.Intranet.SP.MetroLinksViewer_RambollUK.Intranet.SP.MetroLinksViewer". Uninstall the existing feature before you install a new version of the solution.

At line:1 char:18+ update-spsolution <<<< -identity rambolluk.intranet.sp.metrolinksviewer.wsp -literalpath C:\Rambolluk.wsps\RambollUK.Intranet.SP.MetroLinksViewer.wsp -GACDeployment + CategoryInfo: InvalidData: (Microsoft.Share...tUpdateSolution: SPCmdletUpdateSolution) [Update-SPSolution], SPException + FullyQualifiedErrorId : Microsoft.SharePoint.PowerShell.SPCmdletUpdateSolution

share|improve this question

It means that your feature is not totally undeployed while updated. What I do is just to uninstall this feature manually using central admin. Delete wsp. If not stsadm and powershell are also good.

Try to check if there is no "Activate on deploy" flag is set on to true in visual studio for this feature. Sometimes it causes problems too: on install feature is activated cause of this flag and you try to activate it manually...

Hope it helps,

share|improve this answer

I suspect namespaces and Feature name has changed in the new version, and during deployment however it creates a clashing due to the Feature ID being still the original one.

Basically, if you renamed the feature between deployments, either un-install original one (if feasible as scenario - as it might crash already in-place web parts if class names have changed in the assembly too) or totally update IDs for Feature, Solution.

share|improve this answer

If this error occurs it´s because you changed or added anything into the Visual Studio solution or changed namespaces.

Change the Feature ID of all the features of the projekt will make it work!

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.