Microsoft MVP Logo

    <p>Seems to be quite a common question popping up recently... people are trying to delete their master page or page layout (or some other file) from the Master Page Gallery but keep getting the following error:</p>
    <p style="TEXT-ALIGN: center"><a title="Photo Sharing" href="http://www.flickr.com/photos/andrewconnell/716824209/"><img height="161" alt="ItemCannotBeDeleted" width="382" border="0" src="http://farm2.static.flickr.com/1021/716824209_1017de9189_o.jpg"></a></p>
    <p>Even though you think you cleaned up all the places where a file is being used, I've yet to see a bug in MOSS that says a file is being used yet it really isn't. Chances are, you just missed one (or two). The easiest way to find where a file is being used is to go to the <strong>Site Content &amp; Structure</strong> page via <strong>Site Actions</strong> &raquo; <strong>Manage Content and Structure</strong>. Then open up the <strong>Master Page Gallery</strong>. You'll notice a option in the toolbar: <strong>Show Related Resources</strong>. Select that item to create a split view. Now each item in the Master Page Gallery (shown in the top pane) has a radio button next to it. Selecting one will show you all the places that file is being used throughout the site collection.</p>
    <p>Here's a screen shot of a particular page layout and where it is being used within my site collection:</p>
    <p style="TEXT-ALIGN: center"><a title="Photo Sharing" href="http://www.flickr.com/photos/andrewconnell/717697134/"><img height="341" alt="ShowRelatedResources" width="500" border="0" src="http://farm2.static.flickr.com/1388/717697134_1df76f2d82.jpg"></a></p>
    <p>[<strong><font color="#ff0000">Update 8/8/2007</font></strong>] <a href="http://www.katriendg.com/aboutdotnet/Default.aspx?m=1&amp;y=2007">Katrien has a good post</a> when this is actually an error, also referencing the MSFT KB <a href="http://support.microsoft.com/?kbid=926812">926812</a>.</p>
    <div class="wlWriterSmartContent" id="0767317B-992E-4b12-91E0-4F059A8CECA8:624e9c71-d53b-4a2a-87ec-df9e23f2001a" contenteditable="false" style="PADDING-RIGHT: 0px; DISPLAY: inline; PADDING-LEFT: 0px; PADDING-BOTTOM: 0px; MARGIN: 0px; PADDING-TOP: 0px">Technorati tags: <a rel="tag" href="http://technorati.com/tags/sharepoint">sharepoint</a>, <a rel="tag" href="http://technorati.com/tags/moss">moss</a>, <a rel="tag" href="http://technorati.com/tags/wcm">wcm</a>, <a rel="tag" href="http://technorati.com/tags/publishing%20site">publishing site</a></div>
Comments powered by Disqus