Click here to monitor SSC
SQLServerCentral is supported by Red Gate Software Ltd.
 
Log in  ::  Register  ::  Not logged in
 
 
 

Bradley Schacht

Bradley is a consultant at Pragmatic Works in Jacksonville, FL. He was an author on the book SharePoint 2010 Business Intelligence 24-Hour Trainer and tech edited the SQL 2011 Bible. His experience on the Microsoft BI platform includes DTS, SSIS, SSRS, SSAS and migrations and conversions. He has helped numerous companies in successfully developing and implementing new business intelligence solutions into their organizations. Bradley also participates as a speaker in community events like SQL Saturday, Code Camp, SQL Lunch and SQL Server User Groups. He is a contributor on sites such as BIDN.com and SQL Server Central as well as an active member of the Jacksonville SQL Server User Group (JSSUG).

The local farm is not accessible. Cmdlets with FeatureDependencyId are not registered.

You may fire up the SharePoint 2010 Management Shell (which allows you to run PowerShell commands to do cool SharePoint stuff, very technical… I know) and get the following error:


The local farm is not accessible. Cmdlets with FeatureDependencyId are not registered.

I have found there are two places you may get this error:

The first is kind of a “duh” moment if you will: not running the Management Shell as an administrator will produce this error every time if UAC is turned on.  So simply right click and choose the option to Run As Administrator.

The other situation is probably why you are really here (unless you’re like me and did the first case a time or two).  The user that is logged in and running the management shell needs some access to the SharePoint config database. Inside 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

Comments

Leave a comment on the original post [www.bradleyschacht.com, opens in a new window]

Loading comments...