0

I have a list based on a calendar in SharePoint 2010 and I periodically run a timer job to archive items to another location, deleting them from the list. Most of the time this works just fine, but some items don't want to delete and give the exception:

Item does not exist. The page you selected contains an item that does not exist. It may have been deleted by another user.

The inner exception message is this:

Item does not exist.\n\nThe page you selected contains an item that does not exist. It may have been deleted by another user.0x81020016OWSSVR.DLL: (unresolved symbol, module offset=00000000000373D0) at 0x000007FEF66773D0\nmscorwks.dll: (unresolved symbol, module offset=00000000002BE757) at 0x000007FEF9A5E757\n

I've identified a single item and took a snapshot of my VM so I can try different techniques to try and delete it.

I can delete the item by clicking on "Delete" in the UI.
I can delete the item from a Console application

I cannot delete the item from the timer job even if I try RunWithElevatedPrivileges or if I impersonate the site owner while instantiating the SPSite object.

The items in this list do not have unique permissions, but the list itself does have unique permissions.

Please help me delete this item (and others like it).

1 Answer 1

0

I ended up saving out the item IDs of the problem items, then running a separate SPSite/SPWeb scope for each item and that got some of the stubborn items deleted.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.