This is driving me crazy have created a wsp from a site export deployed globally (GAC) and activated using powershell.
Firstly it doesn't show anywhere in the templates list in the fare create site collection.
secondly i can't use it programatically to create a site collection even though it is in the shared 14\templates folder on the server.
the following works when i change 'ExtranetV5' to STS#1
[AspNetCompatibilityRequirementsAttribute(RequirementsMode = AspNetCompatibilityRequirementsMode.Required)]
public class NewSiteService : INewSiteService
public string AddSiteService(string collection)
SPSite site = null;
SPSite site1 = null;
SPWebApplication webApplication = null;
webApplication = SPWebApplication.Lookup(new Uri("http://dasa200:80"));
SPSite siteCollection = new SPSite("http://dasa200:80");
View Complete Post