Wednesday, August 10, 2011

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.

No comments:

Post a Comment