The local farm is not accessible

Sometimes you might encounter an error as
The local farm is not accessible. Cmdlets with FeatureDependencyId are not registered
when you try to open Power Shell

To resolve it check the following.

  1. The SQL Server is up and running
  2. The SQL Server is accessible from the machine where you have opened the Power Shell (applicable in a farm environment)
  3. The account used to open the Power Shell has db_owner access on the SharePoint_Config database.
Logging in as the system account and starting the power shell should resolve the issue if the SQL Server is accessible.

Comments

Popular posts from this blog

Create web part pages with custom layouts in SharePoint 2010

Create a Custom Timer Job in SharePoint 2010

SharePoint list forms display HTML instead of rendering