SPSiteConfigurator not running

Sep 28, 2010 at 2:24 PM

I have followed the example in the documentation as far as possible and still nothing happens when I create a new site.

I have checked that Site Configurator exists and is active.

Also I was unable to find the example you are referring to on the site.

Stapler file (SiteDefinitionStapling.xml):

<?xml version="1.0" encoding="utf-8"?>
<Elements xmlns="http://schemas.microsoft.com/sharepoint/">
    <FeatureSiteTemplateAssociation Id="491037d5-2c06-4a4e-be21-d28c46ec9d06" TemplateName="BlankSiteDefinition#0"/>

<?xml version="1.0" encoding="utf-8"?>
<SiteConfigurations xmlns="http://tempuri.org/siteconfigurator.xsd">
    <SiteConfiguration Name="BlankSiteDefinition#0">
        <ApplyTheme Id="MyTheme"/>

SiteConfigurator trigger feature:
<Feature xmlns="http://schemas.microsoft.com/sharepoint/"
     ReceiverAssembly="SiteConfigurator, Version=, Culture=neutral, PublicKeyToken=4d009ee268a83a6d"
     Description="Triggers the Site Configurator. (Uses SiteConfigurations.xml)"
     Id="491037d5-2c06-4a4e-be21-d28c46ec9d06" Scope="Web" Title="MySite: SiteConfigurator Trigger"> <ElementManifests> <ElementFile Location="SiteConfigurator\SiteConfigurations.xml" /> </ElementManifests> </Feature>
SiteConfigurator stapler feature:
<Feature xmlns="http://schemas.microsoft.com/sharepoint/" Description="Staples the trigger feature onto any new BlankSiteDefinition sites." Id="d99a84c9-259f-43d5-8648-648b18b30b3f" Scope="Farm" Title="MySite: Site Configurator Stapler">
    <ElementManifest Location="SiteConfiguratorStapler\SiteDefinitionStapling.xml" />


Apr 1, 2011 at 8:09 PM
Edited Apr 1, 2011 at 8:25 PM

ageris, I'm having the same problem. Are you also using SharePoint 2007? I currently use version 1 of SPSiteConfigurator without any problems, but have not been able to get version 2 to work. Version 2 is extremely dificult to debug because I also can't get the SiteConfigurator source code to build, which means I can't run the debugger. It appears that the source code requires some SharePoint 2010 dlls.

Apr 1, 2011 at 8:39 PM


Can you please elaborate a bit about your problem?

I'm using the SiteConfigurator on a daily basis without any problem. I might of course have forgotten to document something I should have... I hope not. :)

Everything needed to build the solution is on the web, but you must have SharePoint installed on the machine or copy the referenced dll's to a local folder and change to references to point to that location.

(I cannot add licensed SharePoint dll's here on Codeplex)

Hope you get it to work!