Tuesday, June 2, 2015

How to Unlock a site collection manually

1. Browse to SharePoint Central Administration.

2. On the Central Administration page, under Application Management, click Configure quotas and locks.

3. On the Site Collection Quotas and Locks page, select the site collection where you want to place a lock

4. In the Site Lock Information section, select Not Locked.

5. Click OK.


How to Lock a site collection manually

1. Browse to SharePoint Central Administration.

2. On the Central Administration page, under Application Management, click Configure quotas and locks.

3. On the Site Collection Quotas and Locks page, select the site collection where you want to place a lock

4. In the Site Lock Information section, select Adding content prevented or No access.

5. If you lock a site collection with Adding content prevented or No access, you must type an explanation in the Additional lock information box.

6. Click OK.


Monday, June 1, 2015

SharePoint 2010 - How to check Site Collection Quota Usage

This article explains how to check the storage quota of a site collection.

Note: You must be a site collection administrator to have access to this information

1. Select Site Actions and then Site Settings

2. On the Site Settings page under the Site Actions heading, select Site Collection Web Analytics Reports

3. On the left navigation below Inventory, select Storage Usage under the Inventory heading to view current and historical information about your storage quota and usage.

Note: Files in the recycle bin are included in the site usage. You must empty the recycle bin to free up that space. 



Friday, May 1, 2015

Powershell to list Content Database details for SharePoint Site Collection

Get the Content Database details for SharePoint Site Collection

Get-SPContentDatabase -Site 'http://sharepointsitecollectionurl/'


Id               : xxx1404-b716-xxxx-ba76-9746xxxx                                                                  
Name             : xxx                                                                                                       
WebApplication   : xxx                                                                                                                
Server           :           xxx                                                                                                       CurrentSiteCount : 1

Powershell to list all SharePoint Site Collections and subsites a web application

Get list of SharePoint Site Collections and SubSites

Get-SPSite 'http://sharepointwebapplicationurl/' | Get-SPWeb -Limit All

Powershell to list all SharePoint Site Collections in a web application

Get list of SharePoint Site Collections

Get-SPSite  -Limit All

Powershell to list all SharePoint databases and their sizes

Get list of SharePoint databases and their sizes

Get-SPDatabase | Sort-Object disksizerequired -desc | %{write-host  "Size: $($_.disksizerequired/1mb)MB - Database: $($_.Name)"}

The result will be listed down in the below format.

Size: 5237MB - Database: SharePoint_Config
Size: 3455MB - Database: UsageDB
Size: 2261MB - Database: SharePoint_AdminContent
Size: 204MB - Database: WebAnalyticsStagerDB
Size: 172MB - Database: Sync DB
Size: 155MB - Database: SearchDB_PropertyStore
.
.
.
.
.
Size: 6MB - Database: BusinessDataCatalogDB
Size: 3MB - Database: SecureStoreServiceAppDB
Size: 2MB - Database: StateServiceDB
Size: 2MB - Database: PerformancePointDB

Powershell to list all SharePoint Content Databases in the SharePoint Farm

Get list of all SharePoint Content Databases in the SharePoint Farm

Get-SPContentDatabase

Powershell to list all SharePoint Databases in the SharePoint Farm

Get list of SharePoint Databases in the SharePoint Farm

Get-SPDatabase

Wednesday, April 29, 2015

Unable to process the request . Wait a few minutes and try performing this operation again

Issue Description

Recently I came across this issue where some of the end users were getting an error message when they tried to open an Excel file in SharePoint in the browser.

Unable to process the request.
Wait a few minutes and try performing this operation again.

Unable to process the request 1

Cause

The Excel Services Application server computer is in a non-valid state and may need to be restarted.

Resolution

Most of the online articles were asking me to restart the Central Administration server.I did not want to do that and found a different fix.


Identify the application pool running the Excel Services service application (from IIS) and Recycle it.

1) Start –>Run –> inetmgr

2) Under the Sites click on SharePoint Web Services. This will list down the Services in SharePoint.

3) Click on each GUID –> Change the view from Features View to Content View

4) On finding ExcelService.asmx -> Right click that web service -> Manage Application -> Advanced Settings.

5) Identify the Application Pool (make a note of this).

6) Now in IIS –> Application Pools –> choose the Application Pool you noted down in previous step   -> Recycle (recycle the application pool).



Unable to process the request 2