Link to home
Start Free TrialLog in
Avatar of JMayhair9195
JMayhair9195Flag for United States of America

asked on

SharePoint 2010 Ghost Document Can't Delete

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.
Avatar of Jamie McAllister
Jamie McAllister
Flag of Switzerland image

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.
Avatar of JMayhair9195


Jamie I have already used SP Manager (stated in question), and I can't move the file.
Thanks but this doesn't help.
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.
Avatar of JMayhair9195
Flag of United States of America image

Link to home
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial