Hi,
I have my sharepoint devlopment environment and recently install some security updates of Windows Server 2008 R2. When i try to run SharePoint Shell Command i get the error: "The local farm is not accessible. Cmdlets with FeatureDependencyId are not registered". I dont have any PowerGUI software.
This is what you found in SharePoint Logs:
- 12/18/2012 09:10:44.47 PowerShell.exe (0x082C) 0x2298 SharePoint Foundation Topology d04h Monitorable Microsoft SharePoint is not supported with version 4.0.30319.586 of the Microsoft .Net Runtime. 02116a40-f800-0000-94f1-e9a81addcd01
- 12/18/2012 09:10:44.47 PowerShell.exe (0x082C) 0x2298 SharePoint Foundation Topology f2xj Unexpected A PlatformNotSupportedException occured while trying to acquire the local farm: System.PlatformNotSupportedException:
Microsoft SharePoint is not supported with version 4.0.30319.586 of the Microsoft .Net Runtime. at Microsoft.SharePoint.Administration.SPConfigurationDatabase.get_Farm() at Microsoft.SharePoint.Administration.SPFarm.FindLocal(SPFarm&
farm, Boolean& isJoined) 02116a40-f800-0000-94f1-e9a81addcd01
- 12/18/2012 09:10:44.47 PowerShell.exe (0x082C) 0x2298 SharePoint Foundation Topology cjl5 Medium An error occured while initializing SPWebService.ContentService. System.PlatformNotSupportedException: Microsoft SharePoint
is not supported with version 4.0.30319.586 of the Microsoft .Net Runtime. at Microsoft.SharePoint.Administration.SPConfigurationDatabase.get_Farm() at Microsoft.SharePoint.Administration.SPFarm.FindLocal(SPFarm&
farm, Boolean& isJoined) at Microsoft.SharePoint.Administration.SPWebService.get_ContentService() 02116a40-f800-0000-94f1-e9a81addcd01
- 12/18/2012 09:10:44.48 PowerShell.exe (0x082C) 0x2298 SharePoint Foundation PowerShell 6tez Medium The local farm is not accessible. Cmdlets with FeatureDependencyId are not registered. 02116a40-f800-0000-94f1-e9a81addcd01