Sharepoint - SharePoint 2013 - This operation can be performed only on a computer that is joined to a server farm

I got the same error and i did the following steps and worked for me.

Go To services.msc Restart the SQL Server (SharePoint) & SQL Server Agent (SHAREPOINT) Check the web site, It'll work.

enter image description here

Hope this will help to any one.


This issue would occur if the user account "UserAccountName" or "Administrator" doesn’t have enough permission in the SQL server contents databases of SharePoint site collections in your machine. So, add the "UserAccountName" to your MSSQL server by following the below steps:

  1. Go to that server and open the SQL SharePoint instant using Management Studio.

  2. Then in the "Object Explorer" you can see the "Security" tree menu at the bottom. Expand that menu and Go to "Log in" and right click it and click "New Login". Then put your login there and under server roles select "sysadmin".

You can refer This operation can be performed only on a computer that is joined to a server farm link.


In my case the user account under which apppool for web application was running was locked. unlocking the user account solved the issue.

Tags:

Server

Error