[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

x
?
Solved

Cannot empty the recycle bin within Sharepoint 2007

Posted on 2011-05-02
5
Medium Priority
?
1,643 Views
Last Modified: 2012-05-11
Good afternoon,

Running Sharepoint 2007 SP2 which has a large site collection recycle bin with over 900 thousand of deleted items. I want to remove all items from here but when i try to empty the end user recycle bin or delete items from the second stage recycle bin it times out or appears with a "cannot complete this action error"

I've tried to turn off both the first and second stage recycle bins from Central Administration and disabling this through stsadm but these error and time out as well.

The recycle bin is set to only retain items for 30 days, but there are items in there that were deleted a year ago. The job-recycle-bin-cleanup job is set to run every hour but fails each times it runs.

Can anyone please advise if there is another way to empty the bin?
0
Comment
Question by:PXSAX
  • 2
  • 2
5 Comments
 
LVL 38

Accepted Solution

by:
Justin Smith earned 600 total points
ID: 35511685
0
 
LVL 5

Assisted Solution

by:navdeepmadan
navdeepmadan earned 400 total points
ID: 35513071
0
 

Author Comment

by:PXSAX
ID: 35695849
I ran the powershell script found in the link advised by ACH1LLES and the script ran OK for my other small site collections, but when i tried to run on the main site collection with this problem recycle bin, it didn't work. There was no error it looked like it was running for a 2 minutes then just went back to the command prompt and nothing was deleted from the bin.

navdeepmadan: I tried running the script from your link through powershell as well but it had multiple errors when trying to run. Should i be using powershell to run this or something else?
0
 
LVL 5

Expert Comment

by:navdeepmadan
ID: 35696641
you have provide the code provide by me but you have run the batches. you can find a msdn artciles on ruuning a batch in sharepoint. It will help you cleaning the recycle bin.
0
 

Author Closing Comment

by:PXSAX
ID: 36326827
Not fully resolved
0

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

If you create your solutions on SharePoint sooner or later you will come upon a request to set  permissions of the item depending on some of the item's meta-data - the author, people assigned as approvers, divisions, categories etc. The most natu…
When using a search centre, I'm going to show you how to configure Sharepoint's search to only return results from the current site collection. Very useful when using Office 365 with multiple site collections.
This Micro Tutorial will teach you how to add a cinematic look to any film or video out there. There are very few simple steps that you will follow to do so. This will be demonstrated using Adobe Premiere Pro CS6.
We’ve all felt that sense of false security before—locking down external access to a database or component and feeling like we’ve done all we need to do to secure company data. But that feeling is fleeting. Attacks these days can happen in many w…
Suggested Courses

873 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