Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I have SharePoint 2010 farm with one server. I'm developing some features in a sharepoint farm solution (not sandbox because there are some user rights problem). All feature scopes are set to "Site". I can deploy the solution to SharePoint with no problem. I added a new web front-end server to my existing farm. Then when I try deploy my solution, VS2010 shows this error:

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

  • I login with AD administrator account to development server.
  • Administrator account is in site collection admins on the target web application.
  • The farm account is in local administrators group.

Is there a solution for this error?

share|improve this question

1 Answer 1

Open the solution in Visual Studio 2010 -> Package -> Package.Template.xml and remove DeploymentServerType="ApplicationServer" Not try to deploy. It should work.

share|improve this answer

Your Answer

 
discard

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.