Blog

SharePoint 2010 PowerShell access error

By Venkatesh Kumar Blogs | SharePoint 2010 Aug 22, 2012
We got the below error while access the SharePoint 2010 powershell and will see the solutions.
Introduction:

We got the below error while access the SharePoint 2010 powershell and will see the solutions.

Error: “the local form is not accessible. cmdlets with FeatureDependecyId are registered.”

Solution1:

SQL Server Management studio connect to the SQL Server instance where the farm config database is stored. In the Security section give the user the following rights on the config database: SharePoint_Shell_Access

http://www.bradleyschacht.com/the-local-farm-is-not-accessible-cmdlets-with-featuredependencyid-are-not-registered/

Solution2:

Use the following Powershell cmdlet to give this user the correct databases permissions, since Direct database changes are not supported: Add-SPShellAdmin

http://technet.microsoft.com/en-us/library/ff607596.aspx

Summary:

“Add-SPShellAdmin” will be more simple and powerful and we have different option to access level also.

COMMENT USING