Try our conversational search powered by Generative AI!

Old pages in Recycle Bin not deleted

Vote:
 
Hi. The recycle bin contains almost 1000 pages, and most of them are more than 2 months old. We have activated the job for deleting pages that are 30 days or more old in the recycle bin. However, these pages doesn't seem to be deleted. The job runs every night, and it runs successfully. It actually deletes one or two pages every night, but not these old pages. (It is mainly two pages that each has about 500 sub pages under each). Any clues to how I can track this? Frank :)
#17408
Jun 23, 2005 8:39
Vote:
 
We had the same problem... The "Empty Recycle Bin" button doesn't work if you have 4000+ pages in the trash, and somehow the automatic deletion job doesn't delete any pages either. I tried switching the server date six months ahead, and run the service, but it didn't help at all. (did this to ensure that all pages were more than 30days old) The only way I managed to delete the pages was to change the to 60000 instead of 60. (in web.config) By doing this, I was able to delete one huge three node at a time, and getting rid of the 12000pages taking up space in the trash :)
#18159
Jun 23, 2005 17:10
Vote:
 

I tried adding the Key EPnQueryTimeout and setting it to 60000. Before I did this emptying the recycle bin crashed imediately, after it runs for a  minute or so but still fails with;

[EPiServerCancelException: Deleting page was cancelled by event handler.]
   EPiServer.Core.PageStoreBase.RaiseCancellablePageEvent(Object key, String defaultReason, PageEventArgs eventArgs) +152
   EPiServer.DataFactory.DeleteChildren(PageReference pageLink, Boolean forceDelete, AccessLevel access) +277
   EPiServer.UI.Edit.WastebasketPage.EmptyWastebasket_Click(Object sender, CommandEventArgs e) +113
   EPiServer.UI.WebControls.ToolButton.OnCommand(CommandEventArgs e) +103
   System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument) +29
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +2981

Can anyone help?

I do have articles referenced to other properties in still published articles, I will have a look at those.

#33020
Sep 29, 2009 17:24
Vote:
 

 

Tried setting the Automatic Emptying of the Recycle Bin and I get the error;

The job failed: Exception has been thrown by the target of an invocation. ["Page title" cannot be empty.]

So I think that a "Page Title" has been made a mandatory field for a page that has been deleted.

#33022
Sep 29, 2009 17:45
Vote:
 

Hmmm. Seems like you have a page created by custom code. You're not able to create a page without a title in edit mode.

You could write a simple script (c# "script") to loop through all pages in the waste basket and delete the pages without "Page title" 

--
Lars Ø Bodahl
www.epinova.no 

#33190
Oct 05, 2009 12:24
Vote:
 
Do you have any custom event handling? E.g. Custom event for DeletingPage?
#33191
Oct 05, 2009 12:27
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.