I created a search-center and want to apply a custom masterpage to it. I want to deploy the masterpage using a module and the feature of my solution. I created a module and the Elements.xml looks like
<?xml version="1.0" encoding="utf-8"?> <Elements xmlns="http://schemas.microsoft.com/sharepoint/"> <Module Name="SearchcenterModule" Url="Suche/_catalogs/masterpage"> <File Path="SearchcenterModule\minimal.master" Url="minimal.master" /> </Module> </Elements>
On activating my feature in the site-collection-features I get an error
(null) "Suche" not found.
where "Suche" is the Name of my subsite, i.e. :
Of course I can add the file manually but there must be a way to deploy it using the feature-activation.
Thank you for your help.