Cannot delete a document library

Log in to the SharePoint Server and execute the Powershell script below.

$web = Get-SPWeb("http://YourSite")

$list = $web.Lists["Documents"]

$list.AllowDeletion = $true


You can now go to the Document Library and try deleting it or you can just run the line below.

Ghantt View Default Zoon


Add a Media ContentScript Editor Web Part and add the following code.

src=” type=“text/javascript”>
    $(document).ready(function () {
        var count = 0;
        setInterval(function () {
            if (count 2) {
                for (var i = 0; i 2; i++) {
                    if (WebPartWPQ2_JSGridController != null) {

        }, 100);


Hide View All Site Content and Recycle Bin in Quick Launch

1. Site Settings > Edit Page
2. Add a Content Editor Web Part anywhere in the page.
3. Click on Edit – Modify Shared Web Part.
4. Click on “Source Editor” button and copy and paste the following code.

.ms-recyclebin {

5. Click Save
6. Expand Layout section inside toolpane.
7. Check the Hidden checkbox and click OK.

Your search cannot be completed because this site is not assigned to an indexer. Contact your administrator for more information.

1.      Go to Central Admin 

2.      Go to Application Management tab

3.      Select SharePoint Web Application Management

4.      Select your web application 

5.      Select a content database

6.      Select your content database name

7.      Under Search Server – select your server

(if your search server drop down is disabled please follow the additional steps below)

1.      Go to 12 hive folder and open stsadm.exe utility

2.      Run the following command psconfig.exe -cmd services -install

3.      Then run stsadm -o spsearch -action start