Quantcast
Channel: Darren's Tech Blog » SharePoint
Viewing all articles
Browse latest Browse all 10

Sharepoint PowerShell error Net Framework

$
0
0

Symptoms

After you install Microsoft SharePoint Server 2010 and Windows PowerShell 3.0 on a server, you receive one or both of the following error messages when you start SharePoint 2010 Management Shell:

Error message 1

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

Error message 2

Microsoft SharePoint is not supported with version 4.0.30319.17929 of the Microsoft .Net Runtime.

To work around this issue, change the Target field value for SharePoint 2010 Management Shell. To do this, follow these steps:

  1. Click Start, and then right-click SharePoint 2010 Management Shell.
  2. Click Properties.
  3. Click the Shortcut tab in the SharePoint 2010 Management Shell Properties window.
  4. Input the following value in the Target field:C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe -Version 2.0 -NoExit ” & ‘ C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\14\CONFIG\POWERSHELL\Registration\\sharepoint.ps1 ‘ “
Published: 6/2/2013 7:17 AM

Viewing all articles
Browse latest Browse all 10

Trending Articles