0

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?

2 Answers 2

1

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
2
  • i tired that way but now its not appearing on any of my web applications Apr 26, 2013 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 Apr 26, 2013 at 11:45
2

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.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

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