04/12/2011

This item cannot be deleted because it is still referenced by other pages

If you create a new master page, and you want delete it, sometimes the error will happen:

This item cannot be deleted because it is still referenced by other pages

what you can do???
aha, there is work around to delete it, easy way:

        1- Open the sharepoint designer.
        2- Create a new folder.
        3- Put the target master page into new folder.
        4- Delete the folder.

2 comments:

  1. Good post. I had this problem a while back and it kicked my butt. Once I deleted the Master Page however, when I would go to the welcome page (default.aspx), It would come up as "Page Cannot Be Found". I went back into designer and tried editing the default.aspx welcome page. When I did, a window popped up saying it could no longer find the Master Page that was associated with it. It allowed me to specify a Master Page. It threw a warning about not being able to find all of the Content Place Holders or something to that effect. I chose the option for designer to automatically wire everything up to the new Master Page. A few seconds later the page came up, looked great, saved it, and The site was working again.

    ReplyDelete
    Replies
    1. Before using this method, make sure that no pages are already linked to target master page.

      Delete