SharePoint came with so many new features and functionality. it is stable and matured technology.
if user if unable to see edit, delete or Add button even has full control and contribute permission or also unable to see recycle bin. One of the reason of it you Site / Web is locked and no database related update can be made (in short no update). here you may got my point. the site or Content DB is locked we need to unlock it. it happens it your backup or restore is interrupted or some SharePoint job is couldn't completed.
Or some time you are doing some important task, like doing scheduled backup or restore. or anything related to it. so you don't want changes during you process. it simple lock it.
Now how should we lock ant site or unlock. the best and easiest way is PowerShell.
PS C:\Users\Admin> $site =Get-SPSite -Identity “http://SiteOrWebUrl”
PS C:\Users\Admin> $site.MaintenanceMode
True
PS C:\Users\Admin> $Site.ClearMaintenanceMode
PS C:\Users\Admin> Set-SPSite -Identity “http://SiteOrWebUrl” -LockState "Unlock"
Another way it stsadm command, which is also preferred and easy way.
C:\Users\Admin> stsadm -o setsitelock -url http://xxx -lock none
Don't forget to run command prompt with elevated privileges!
Please share yours findings or issue if any on this.
--
Thanks for visiting!!,
Praveen Pandit
No comments:
Post a Comment