Try our conversational search powered by Generative AI!

How to resolve failure of emptying Recycle Bin?

Vote:
 

Hi!


I have the following scenario:

  1. I have an EPiServer Recycle Bin containing 525 deleted pages.
  2. I click the "Empty Recycle Bin"-button and a background job starts.
  3. After one minute, or less, the background job fails.

My question is: How can I resolve this failure of emptying the Recycle Bin?

According to myself 525 pages, along with versions, aren't that many...

  • I've added <add key="EPnQueryTimeout" value="600" /> to my web.config.
  • Web.config also contains <httpRuntime maxRequestLength="102400" executionTimeout="600" />.
  • The connection properties inside SQL Server Management Studio states that the execution timeout of the database is 0 = infinite.

 

//Marcus

#60759
Aug 23, 2012 14:59
Vote:
 

Hi,

You need to set databaseQueryTimeout (http://sdk.episerver.com/library/cms5/html/P_EPiServer_Configuration_Settings_DatabaseQueryTimeout.htm) in siteSettings.

And you can also set debug to true in web.config to remove the application timeout.

#60760
Aug 23, 2012 15:54
Vote:
 

I added

databaseQueryTimeout="00:05:00"

to siteSettings and it worked like a charm!

Thank you!

#60768
Aug 24, 2012 8:01
Vote:
 

The database way is to run editdDleteChilds like in this thread:

http://world.episerver.com/Modules/Forum/Pages/thread.aspx?id=20439

#60778
Aug 24, 2012 12:53
This topic was created over six months ago and has been resolved. If you have a similar question, please create a new topic and refer to this one.
* 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.