SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I am wanting to update the default.master masterpage in order to hide the search box functionality. This requires just adding some CSS.

What I have done is created a feature and to the feature I have added the new masterpage file. I can activate the feature fine but when I select the new masterpage from site collection settings I get a "File not found" error. I am guessing some of the references in the file are broken. I must have it in the wrong location.

Can someone please have a look and see what I am doing wrong here? I am using MOSS 2007, Visual Studio 2008 with WSPBuilder.



-------- Feature.xml --------

<?xml version="1.0" encoding="utf-8" ?><Feature Id="9014276c-3512-4318-9992-23326ed00540" 
     Title="No Search Master Page"
     Description="This Feature contains a custom master page which hides the search boxes">

-------- Elements.xml -------

share|improve this question

You have two good options:

  1. You can indeed apply a custom master page without the search box. This article shows how to deploy and apply a custom master page.
  2. You can also register a custom control with no HTML output for the delegate control hosting the small search box. This MSDN article describes how to register a custom search box control.

You will need to provide more information about how you upload and reference the master page. Otherwise, it is hard to say what causes the "File not found error". But have a look at the first link above to see how to install and apply a custom master page.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.