Solution Shows in All Web Applications
Hello. When I deploy my solution to a specific web application it is showing for all web applications. How do I make it only show for the web app that I selected?
August 19th, 2010 5:59pm

Hi Wexford, In order to have your wsp web-specific (instead of globally deployable) you need to have at least one web-specific artifact/control in it (safecontrol entry in manifest.xml, features of web app, site or web scope). If your wsp only contains assemblies which are deployed globally and features which are farm scoped then that solution will deploy globally. A web scoped solution will contain files, features, assemblies etc that are deployed to specific web applications (or All of them as selected). If there is an assembly destined for the bin directory or a feature set as WebApplication, Site or Web Scoped, then the solution deployment screen will ask you which web application to deploy the solution too (there are other triggers, e.g. App Resource Files (.resx) etc). Of course though, you may have globally deployable files in the solution (e.g. GAC located assemblies) as well as web app scoped resources. When deploying web app scoped resources, any modifications to the bin folder, app_* folders, web.config etc will only apply to the web apps the solution has bee deployed to (or all of them if selected - this option does not include Central Admin or the SSP web app!). Any newly created web apps will not receive these changes UNLESS you have also deployed files into the LAYOUTS/* folder(s) which get merged during web app creation (this is a seperate topic all together). Globally deployed resources are available to ALL web applications on the server, these tend to include farm scoped features, GAC located assemblies and files being deployed into the LAYOUTS/* folder(s). The difference between deploying "globally" and to all content web apps depends on what you are deploying. If there are web.config changes or web application / site / web scoped features, then these cannot be deployed globally anyway - the option will not be displayed as they must be deployed to a target web application(s). Please remember to mark your question as "answered" if it solves your problem. My SharePoint Blog http://dhireny.blogspot.com
Free Windows Admin Tool Kit Click here and download it now
August 19th, 2010 6:33pm

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics