Problem
When I was backing up SharePoint Site Collection Automatically with PowerShell and Windows Task Schedule.Unfortunately,the backup process was abnormally terminated.But What's even worse is I came across an confusing issus When I Browsed to Site .Just as shown in the below picture.
The message "We apologize for any inconvenience ,but we've made the site read only while we're making some improvements".It Obviously means that the site being in Read mode .
Resolution
- Go ahead SharePoint 2013 Centeral Administration
- Choose Application Management On the left Navigate
- Choose Configure quotas and locks
- Select Specific Site Collection
- Here is how the status look like. It is locked as "Read Only" and all settings are grayed out. There are Two Ways to get out of this situation.
- Option 1
If your SharePoint Server has April 2013 CU or latest SharePoint Service Pack installed,then all you need to do is executing the below PowerShell Commands:
- Option 2
If your SharePoint Server hasn't April 2013 CU or latest SharePoint Service Pack installed,then you need to do below changes.
- Go to Sql Server
- Select the Database Hosing your affected site Collection
- Go to Site Collection Quotas and locks and Get Site Collection Id(just shown in Url)
- Execute below Script
- After Executing the update commands,site may go into read only mode and all settings are not grayed out.
- You can Select "Not Locked" Option Or Execute below PowerShell to move site collection to UnLocked State.
- Finally, The message "We apologize for any inconvenience ,but we've made the site read only while we're making some improvements" will gone