Monday, April 5, 2010

Strange Access Denied Messages, and Read-Only Site Collections

I can across a strange read-only phenomenon while moving Site Collections between contentdb's last weekend. The problem is that CA will report a Site Collection as "not-locked", however STSADM reports the site as "read-only".

In my particular case the problem was caused by using the "Batch Move" option from CA, however after more investigation I found it is more prevalent than just my situation… Below is a quick description, and the fix…



Description of the problem:

Access Denied error when accessing the master page gallery, enabling or disabling publishing, syncing list and calendar information from office.
SCA's and other users are missing options that are typically available in Site Actions, and in Lists/DocLibs.


The Fix…

When in doubt turn to your trusty console abilities! Fire up STSADM and use these commands:

To return the REAL status of your Site Collection- use the following command.
stsadm –o getsitelock –url

If the previous command comes back saying that your site collection is "read-only" you will need the following command to unlock it.
stsadm –o setsitelock –url -lock none

No comments:

Post a Comment