When you open Powershell window, you may get an error like: The local farm is not accessible. Cmdlets with FeatureDependencyId are not registered. Following are the solutions to resolve this problem.
Method1:
Go to you SharePoint 2010 management shell properties
Go to properties -> Select target -> Add "–version 2" before -NoExit argument
Method 2:
You do not have appropriate permissions to Config database.
SharePoint_Shell_Access
DB_owner
If you know better ways Let us know via comments
Method1:
Go to you SharePoint 2010 management shell properties
Go to properties -> Select target -> Add "–version 2" before -NoExit argument
Method 2:
You do not have appropriate permissions to Config database.
SharePoint_Shell_Access
DB_owner
If you know better ways Let us know via comments
No comments:
Post a Comment