Just came across a SharePoint server that had a very unusual symptom – I wanted to install the AD Remote Administration tools but when opening up the Features (and the Roles as well) nothing appeared on the screen except an error.
Looking further into it, there was an error in the Event Viewer as well:
Could not discover the state of the system. An unexpected exception was found:
System.Runtime.InteropServices.COMException (0x800706BE): The remote procedure call failed. (Exception from HRESULT: 0x800706BE)
at System.Runtime.InteropServices.Marshal.ThrowExceptionForHRInternal(Int32 errorCode, IntPtr errorInfo)
at Microsoft.Windows.ServerManager.ComponentInstaller.CreateSessionAndPackage(IntPtr& session, IntPtr& package)
at Microsoft.Windows.ServerManager.ServerManagerModel.CreateLocalResult(RefreshType refreshType)
at Microsoft.Windows.ServerManager.ServerManagerModel.InternalRefreshModelResult(Object state)
Googling the error came up with this Newsgroup thread: http://social.technet.microsoft.com/Forums/en-US/winservermanager/thread/7216345c-fc73-4bc1-9b54-dcfe224ba59e/ and this KB Article: http://support.microsoft.com/kb/947821 – The tool reviews all of the updates that have been applied and ensures that the correct files are on the server, as well as the relevant records exist in the registry and automatically fixes most issues that it can find.
When you get the error, you will normally see a “Failed” deployment in the Windows Updates that are on the machine – This tool compares the info against a Microsoft web service and fixes it based on the master catalogue.
Once run, the problem went away and I could add the feature I wanted to. Sweet!