#SharePoint site collection is in Read Only mode!

Every day, the Administrator do his normal stuff as usual, but sometimes when he tries to take a backup for a site collection, the progress of backing up data is too slow, then he canceled the process and tried another one, while he received a call from end user that his site is turned into Read Only!

The normal diagnostic is checking “Configure quotas and locks” from Central Administration, but after a quick look you will find it disabling all its options like below:

So what’s the solution?!

Fortunately, Microsoft provides us with a very easy solution by a few lines of PowerShell commands:

  • Open SharePoint Management Shell using Administrator account
  • In the PS prompt type accurately the following lines:
PS C:\Users\Admin> $SiteUrl = new-object Microsoft.SharePoint.Administration.SPSiteAdministration(‘http:// sitecollectionurl’)
PS C:\Users\Admin> $SiteUrl.ClearMaintenanceMode()

 

After that the Read Only message and state will be ended, and you can take backup or do regular work.

Advertisements

About Hossam Kamal

Hossam Kamal Senior SharePoint Developer with high development skills in C#, ASP.NET, SharePoint Server Technologies, jQuery, CSS, XML, O.O.D, SSRS and MS.SQL Server.
This entry was posted in SharePoint General. Bookmark the permalink.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s