Delete lots of items in the site collection Recycle Bin

It happened that after some time, the site collection Recycle Bin got “filled” with lots of items (in this particular case, we were talking about more than 4 million items). Furthermore, choosing the “Empty Recycle Bin” did not yield the expected results. The first attempt to clear this out using Object Model code was also…


June 2010 Cumulative Update released!

The June 2010 Cumulative Update was just released! Descriptions:WSS: http://support.microsoft.com/kb/983311MOSS: http://support.microsoft.com/kb/983310 Download links:WSS: http://support.microsoft.com/hotfix/KBHotfix.aspx?kbnum=983311&kbln=en-usMOSS: http://support.microsoft.com/hotfix/KBHotfix.aspx?kbnum=983310&kbln=en-us Pre-requirements:- WSS (& MOSS) with Service Pack 2- all Language Packs for WSS (& MOSS) should also have their respective Service Pack 2 applied


The web application could not be found

Supposed you’re using the following: – SharePoint Server 2010 or SharePoint Foundation 2010 – Visual Studio 2010 – .NET Framework 4.0 And you’re trying to instantiate an SPSite object for a specific site collection, using the SPSite constructor as follows: SPSite mySite = new SPSite(“http://testserver”); Now, although you’re 100% sure that the URL to the site collection is…


Change global people-picker settings programatically

Supposed that you want to change the peoplepicker-searchadcustomquery property via STSADM and, for one reason or the other, you get an error message like the following: & was unexpected at this time. Still, you are 100% sure that the LDAP query you have supplied is correct. What to do next? Well, if you’re planning to…