shieldguy
asked on
How to deploy a solution on a specific web application and not globally
I have a project on Visual Studio 2008 that contains some list templates. I created the solution package (.wsp) using wsp builder. I then added the solution using stsadm command. When I go to solution management under central administration and deploy the solution, it says the solution can only be deployed globally and not to a specific web application and it doesn't show me a dropdown of web applications.
How this can be changed to deploy on a web aplication.
Thanks
How this can be changed to deploy on a web aplication.
Thanks
Hi! To be installable to a specific web-application, you solution should contain features scoped to WebAppliction, Site or Web. If your wsp package does not contains features with these scopes then it cannot be deployed to a specific application.
ASKER
I have already tried both 'Site' and 'WebApplication' but no joy.
Try to unpack your wsp (rename it to *.cab) and look what is inside. If you can't see anything wrong, post content of manifest.xml and all feauters definitions here.
ASKER
The following is the manifest code. I can't see any features in .wsp.
<?xml version="1.0" ?>
- <!-- Solution created by WSPBuilder. 09/11/2011 12:45:09
-->
- <Solution SolutionId="1e65d041-017b- 4c51-a784- 8247974805 87" xmlns="http://schemas.microsoft.com/sharepoint/">
- <Assemblies>
<Assembly Location="Connect.ListTemp lates.Gene ral.dll" DeploymentTarget="GlobalAs semblyCach e" />
</Assemblies>
</Solution>
<?xml version="1.0" ?>
- <!-- Solution created by WSPBuilder. 09/11/2011 12:45:09
-->
- <Solution SolutionId="1e65d041-017b-
- <Assemblies>
<Assembly Location="Connect.ListTemp
</Assemblies>
</Solution>
Yes, that's why it can't be deployed to specific WebApplication. It looks like you've built package incorrectly. Check once again in wsp builder that features are included into package.
ASKER
Well I can see a feature in my project and I am using wsp builder to build the package. don't know why it;s not including this.
Well, I can't help you with wspbuilder, since I've never used it. I would advise to use VSeWSS 3.0 instead or I can assist you on creating package manually.
ASKER
if you could assist me creating package manually will be great.
Thanks
Thanks
ASKER CERTIFIED SOLUTION
membership
Create a free account to see this answer
Signing up is free and takes 30 seconds. No credit card required.