Wednesday, February 10, 2010

Access to the site is locked. SharePoint

"Access to this Web site has been blocked.
Please contact the administrator to resolve this problem."

If this is the message you are getting while browsing your sharepoint site,

Check the site status using the STSADM command

stsadm -o getsitelock -url http://server_name

If it is locked, use the following command to unlock the site to start browsing.

stsadm -o setsitelock -url http://server_name -lock noaccess

Site starts working now.
(Normally this feature is used during the site back up process. This make sure that no data is missed during the back up prosses by locking the access from the user.)

No comments: