1

Problem:

Error occurred in deployment step ‘Activate Features’: Feature with Id is not installed in this farm, and cannot be added to this scope

I understand multiple blogs available for this to answer to user PowerShell command to deploy the Solution.

When I do deployment using PowerShell it works as expected but using Visual studio it throws the Error as above. Our client arguing that in SharePoint 2010 using VS 2010 he was able to deploy but now he is not when using SharePoint 2016 server and Visual studio 2015

What could be the real reason of this error?

0

In case of a multi server farm you will always face this problem with Visual Studio. Because the deployment step is intended only for a single local server. If you have the problem in a single local server try set the property "Always force install " of the Feature to "True".

  • Thanks for response plero. I am aware of this. I am looking for some credible MS source where it got mentioned its not possible. Even I have ms tech community link where it got mentioned. I am looking for if any KB article by Microsoft mentioned these things. I have to convince my business people and they need resouce of MS to say this – vinit kumar Sep 28 '18 at 0:36
  • The only article that talk about it almost officially is that: blogs.msdn.microsoft.com/calvarro/2011/11/06/… – Piero Sep 28 '18 at 7:39

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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