Thursday, 1 October 2009

“This item cannot be deleted because it is still referenced by other pages” and “There is no file with url” errors when trying to delete a master page in MOSS 2007

I tried to delete a custom master page in MOSS 2007 and it gave me the following message:

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

Microsoft published a workaround for this here, which suggests hiding the master page, but I needed to replace it with a new one and hiding it didn’t seem like a good idea to me. So, I thought I’d try and delete it in SharePoint Designer, which showed exactly the same message as the browser UI. I then tried to delete the file in Windows Explorer, and it disappeared, but then reappeared in the UI again. Grrrrrr!

I also noticed that if I tried to change the properties of the file, it gave me a “There is no file with url” error, which pointed to some sort of corruption or orphaned file. I uploaded a new file over the top to resolve this error, but I still couldn’t delete the file.

Not a perfect solution, but the only way I could overcome the problem was to open the Master Page Gallery in Windows Explorer, create a new folder (I called it “Unused”), and move the master page into the folder. I could then upload the new master page and use it as normal. You will still probably want to perform the actions suggested in the Microsoft article referenced above to hide the faulty one, or it will appear in the Site Master Page Settings page in Site Settings, otherwise you will have two master pages to choose from – the replacement one recently uploaded and the old one preceded with the name of the folder you created to hide it.


  1. Replies
    1. Great Article IoT Projects for Students

      Deep Learning Projects for Final Year

      JavaScript Training in Chennai

      JavaScript Training in Chennai

      The Angular Training covers a wide range of topics including Components, Angular Directives, Angular Services, Pipes, security fundamentals, Routing, and Angular programmability. The new Angular TRaining will lay the foundation you need to specialise in Single Page Application developer. Angular Training

  2. Due to sending in those offer, You are investing in buy this realisation brand from the vendor if you're the earning prospective buyer. You read and sign the worldwide transportation structure affiliate agreement unwraps in any pickup's wind shield also known as loss. Transfer costs by now quotation probably have become controlled by change if you ever speed up you uttermost place a bet little..

    If the house is Camisetas De Futbol Baratas always went back following a established time it Maglie Poco Prezzo will undergo a 20% re selling commission rate aka refusal. For Coach Outlet Online Store something to qualify for head back or replace, The system had to be inside one of a kind overall disease utilizing manuel neuer trikot rot the labels it maillot de foot personnalise entered. hummel trikots In cases where the taken back service supplying is divided or is devoid of you should we will resultados de futbol see a Restocking charge all the way to 20%.

    By - applying your personal quote, You are investing maillot de foot pas cher in buy here food from the owner if you are the succeeding prospective buyer. You read maillot foot 2018 and accept the world shipping and delivery company conditions starts advertising in a meaningful door and bill. Significance allegations earlier amazon müller trikot in this article cited have been controlled by change inside event you improve you greatest tender value.

  3. I can only express a word of thanks. Because with the content on this blog I can add knowledge I, thank has been sharing this information. Do not forget to visit our website to share information and knowledge about health. |
    cara megobati penyakit hemangioma |
    obat Penyakit Uci Uci |
    Obat Sakit Pinggang |
    cara menghilangkan Stretch Mark |
    cara mengatasi kebas dan kesemutan |
    cara mengobati sangkadi

  4. I can only express a word of thanks. Because with the content on this blog I can add knowledge I, thank has been sharing this information. Do not forget to visit our website to share information and knowledge about health.|
    Cara Mengobati rhinitis |
    Cara menghilangkan buras di wajah |
    cara mengobati lentigo |
    cara mengobati paratifus

  5. Both things are possible if you carry Michael Kors Handbags Wholesale. If you are a woman who goes for innovative designs, a designer Michael Kors Bags On Sale is perfect for you. Offering a huge selection of chic purses, handbags, shoes and accessories, Michael Kors Outlet Online Store celebrates womanhood in an entirely unique way. Michael Kors Factory Outlet Online Store At Wholesale Price are one of the most sought-after handbags worldwide. We all agree that diamonds are a woman's best friend; however Official Coach Factory Outlet Online are absolutely next in line. To Coach Outlet Sale aficionados, don't fret because we have great news: a discount Official Coach Outlet Online isn't hard to find. If you are a smart shopper looking for a good buy and great deals on your next handbag purchase, you can go to Official Coach Outlet Online.

    Friendly Links: Toms Shoes Womens | Toms Clearance



  7. News associates at "Face Nike Air Force 1 Cheap Outlet The Nation" lead most of the research for the upcoming show, which is used by producers to craft questions and segments. News associates detail the week's current events, Coach Outlet Clearance Sale attend Cheap Ray Ban Sunglasses interviews and Fake Yeezys help in various production roles. On Sundays, they greet guests and assist them throughout the broadcast.

    Attorney General Michael Kors Bags Outlet Jeff Sessions was fired Wednesday, leaving a host of questions about what comes next for the ongoing special counsel probe, criminal justice and immigration enforcement.Mr. Trump said on New Jordan Shoes 2020 Twitter Cheap Real Yeezys Cheap Jordans Online he named Matthew G. Whitaker, the current department chief of staff, to become acting attorney general, leapfrogging Deputy Attorney General Rod Rosenstein.SEE ALSO: Sessions fired: Trump ousts AG as promisedwill serve our country well, Coach Outlet Online Store the president said of Mr.