【发布时间】:2014-02-09 19:26:51
【问题描述】:
我在 Windows Server 2008 R2 Standard Server(德语)上运行 PowerShell 2。
我想使用 SharePoint 2010 管理控制台,但出现以下错误:
The local farm is not accessible. Cmdlets with FeatureDependencyId are not registered.
和
Microsoft SharePoint is not supported with version 4.0.30319.1 of the Microsoft .Net Runtime.
调用 get-spfarm 时。
当我尝试识别版本时,我得到以下信息:
它使用 CLR 版本 4.0.30319.1:
SharePoint 似乎不支持此功能。
我尝试按如下方式运行 PowerShell:
PowerShell.exe -2.0 版
但不知何故 PoweShell 仍然使用 CLR 版本 4.0.30319.1:
互联网上很多人都表示他们在安装 Windows 更新 KB2506143 时遇到了这个问题。这没有安装在我的机器上。
如何强制 PowerShell 使用 .NET CRL 的 2.0 版本?
【问题讨论】:
-
问题仍未解决。有没有人知道我还能检查什么来让它运行?
标签: .net sharepoint powershell clr