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

i tried to deploy my vs solution to another sharepoint portal. i did Add-SPSolution -LiteralPath "pathofthe wsp file" and when i write the command which is; Install-SPSolution -Identity nameofwspfile.wsp -WebApplication ....mywebappame--- -GACDeployment i get the following error;

this solution contains no resources scoped for a web application and cannot be deployed to a particular web application.

any solutions?

share|improve this question
up vote 1 down vote accepted

The error indicated that you should not install the solution to a specific webapplication, so skip that paramter in the install.

 Install-SPSolution -Identity nameofwspfile.wsp -GACDeployment
share|improve this answer
i tired that way but now its not appearing on any of my web applications – sultannur can Apr 26 '13 at 11:44
As Muhammad said, if you don't want that, you will have to change the scope of the feature(s) in the solution package – Robert Lindgren Apr 26 '13 at 11:45

Your solution has something in it which runs under farm scope, You got two options now,

Deploy your solution globally as Robert said or change scope of component scoped as farm.

Check this link out for more information as guy is having same problem.

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.