Install-SPSolution : This solution contains no resources scoped for a Web appli cation and cannot be deployed to a particular Web application

Posted by Josh on Server Fault See other posts from Server Fault or by Josh
Published on 2010-08-16T15:53:01Z Indexed on 2012/04/09 23:33 UTC
Read the original article Hit count: 273

Filed under:
|

I have a PowerShell script that deploys about 12 web parts. They have all been created through Visual Studio 2010 and are being deployed to SharePoint 2010.

I am getting the following error when running Install-SPSolution for one of my web parts:

Install-SPSolution : This solution contains no resources scoped for a Web application and cannot be deployed to a particular Web application.

Can someone help me debug this? Every other Install-SPSolution command uses -AllWebApplications, and I do not want to specify the web application directly using -URL. Here is the command that is breaking (this is the same command used to successfully deploy all 11 other web parts):

Install-SPSolution –Identity PortalSelector.wsp -AllWebApplications -GACDeployment

© Server Fault or respective owner

Related posts about sharepoint

Related posts about powershell