SharePoint 2010 Ghost Document Can't Delete

Posted on 2013-01-03
Last Modified: 2013-07-24
I have a document that I can't delete in a plain document library. Not Declared, Not a Permission problem. I have about 305 documents in the library and only one of them I can't check out, edit, open, or delete. I have used SP Manager and can't delete that way either (error - Unhandled exception has occurred in your application.) On the Metadata that seems to be corrupted is says FirstUniqueAncestor - Cannot complete this action. Please try again. When I try to edit them I get an Error - Property accessor 'FirstUniqueAncestor' on object 'Microsoft.SharePoint.SPListItem' threw the following excemption: 'Cannot complete this action. Any suggestion on how to delete the file would help, Powershell, STSADM anything.
Question by:JMayhair9195
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 4
  • 3
LVL 32

Expert Comment

by:Jamie McAllister MVP
ID: 38740702
Create a folder in the library, move it into the folder then delete the folder.

If that fails look into downloading SharePoint Manager from Codeplex.
LVL 32

Expert Comment

by:Jamie McAllister MVP
ID: 38740825

Author Comment

ID: 38741940
Jamie I have already used SP Manager (stated in question), and I can't move the file.
Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!


Author Comment

ID: 39051424
Thanks but this doesn't help.
LVL 32

Expert Comment

by:Jamie McAllister MVP
ID: 39051665
Migrate the content to a new library and then delete the library.

Failing that option I daresay you could delete it via manipulation of the Content Database, but it's unsupported and I would never actually recommend it to anyone in production unless there was really no other way to save the day from a serious issue.

It's a technique I've had to use myself when a bug corrupted the backend information and the UI and scripts then couldn't help. I detailed my escapades here;!.aspx

But like I say, it's unsupported and I'm not suggesting it. It's simply the only other thing I can think of.

Accepted Solution

JMayhair9195 earned 0 total points
ID: 39340772
The resolution was to install SharePoint 2010 March 2012 CU.

Author Closing Comment

ID: 39350698

Featured Post

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

For SharePoint sites, particularly public-facing ones, there are times when adding JavaScript, Meta Tags, CSS Styles or other content to the page <head> section is more practical than modifying master pages.  For instance, you could add the jQuery l…
I thought I'd write this up for anyone who has a request to create an anonymous whistle-blower-type submission form created using SharePoint 2010 (this would probably work the same for 2013). It's not 100% fool-proof but it's as close as you can get…
In this video, viewers will be given step by step instructions on adjusting mouse, pointer and cursor visibility in Microsoft Windows 10. The video seeks to educate those who are struggling with the new Windows 10 Graphical User Interface. Change Cu…
Monitoring a network: why having a policy is the best policy? Michael Kulchisky, MCSE, MCSA, MCP, VTSP, VSP, CCSP outlines the enormous benefits of having a policy-based approach when monitoring medium and large networks. Software utilized in this v…

705 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question