Scenario:
While trying to back up my site collection using stsadm command
stsadm -o backup -url http://localhost -filename "newbackup.bak" -overwrite
I got the following error.
Error : This operation can be performed only on a computer that is joined to a server farm by users who have permissions in SQL Server to read from the configuration database. To connect this server to the server farm, use the SharePoint Products and Technologies Configuration Wizard, located on the Start menu in Administrative Tools.
Solution:
This is indirectly saying that you have been Access Denied to the farm.
1. Make sure that you are running this command from one of the machine which is part of the sharepoint farm
2. You should be a Farm Administrator
3. Sometime step 2 is not enough and you might again get Access Denied on the Content Database. You need to be site collection administrator.
4. If still you are facing issue, make sure to add your self to the appropriate content database.
Wednesday, October 7, 2009
Subscribe to:
Post Comments (Atom)
5 comments:
Or, your farm administrator account might just be locked out.
If you are using SharePoint 2010. Make sure that your project type is set as AnyCPU instead of x86. Otherwise you will get the same error.
Good call, setting the target CPU To AnyCPU instead of x86 worked for me too.
can't thank you enough the anycpu thing dit te trick for me too
Make sure sharepoint administration services and search services in "services.msc" running.
Post a Comment