Today I faced a strange problem in SharePoint 2010.
It happened all of a sudden that permission has been lost for all the users on specific site collection, however i tried to login by the farm admin and site collection admin but i don’t have administrator permissions so i can’t add users or add user. Just i see the site but i can’t do any operation this problem just happened on one site collection but other site collection working well
- Not able to perform any admin operations with site collection admin account like list creation, adding users in SharePoint groups, etc.,
- Less links under site actions menu
- Error occurred in deployment step ‘Retract Solution’: Attempted to perform an unauthorized operation
Run the below command to know the status of your web application content database
stsadm -o getsitelock -url [site]
If the command returns as “Read-only” you will need to change to “None” to unlock database.
stsadm -o setsitelock -url http://server_name -lock none