Unable to Open the SCCM CONSOLE

We had issues in which when we try to Open the SCCM CONSOLE we were getting the

Error message
============
"The ConfigMgr console could not connect to the ConfigMgr site database. Verify that this computer has network connectivity to the SMS Provider computer and that your user account has Remote Activation permissions on both the ConfigMgr site
server and SMS Provider computers. For more information, see "How to Configure DCOM Permissions for Configuration Manager Console Connections" in ConfigMgr Help"

On the SMSADMINUI.log you will have the following information

SMSADMINUI.log
=============
Error Code:
InvalidClass
\r\nSystem.Management.ManagementException\r\nInvalid class \r\n at
System.Management.ManagementException.ThrowWithExtendedInfo(ManagementStatus
errorCode)
at
System.Management.ManagementObjectCollection.ManagementObjectEnumerator.MoveNext()

at
Microsoft.ConfigurationManagement.ManagementProvider.WqlQueryEngine.WqlQueryResultsO
bject.<GetEnumerator>d__0.MoveNext()\r\nManagementException details:
instance of __ExtendedStatus
{
Operation = "ExecQuery";
ParameterInfo = "SELECT * FROM SMS_Site WHERE
ReportingSiteCode = ''";
ProviderName = "WinMgmt";
};
\r\n
[4][8/8/2008 1:09:29 PM] :Failure while loading required 'WQL' query engine, console cannot connec

Troubleshooting

=============

For troubleshooting this issue

· Go to start ->run -> Wbemtest

· Cick to Connect to root\sms --> Enum Classes-->Select recursive- -->Select
SMS_ProviderLocation () Click on instances

· In case you find that there was no entry for this, Please re-compile smsprov.mof using the command mofcomp smsprov.mof

Note: if mofcomp has to run the path needs to be set to C:\Windows\System32\wbem. SMSprov.mof will be inside the bin folder where you had installed the SCCM \program files\Microsoft Configuration Manager\bin\i386

Hope this information will be useful

Sudheesh Narayanaswamy | Support Engineer

Comments

  • Anonymous
    January 01, 2003
    The comment has been removed

  • Anonymous
    June 16, 2010
    Thanks, very helpfull! This solutions was resolve my problem.

  • Anonymous
    August 04, 2010
    Its very helpful.... Me too copied the same in my blog. Thanks....

  • Anonymous
    October 03, 2011
    Hi guys Thanks, fix our problem to, Do you know Why this problem appear ? We push some update lately, do you know if its related ?

  • Anonymous
    October 30, 2013
    if that update has to do something with WMI it is expected

  • Anonymous
    August 29, 2014
    same issue here... it was one of the registry key is missing..

    save the following into note pad and save it as .reg then run it.

    this fixed my issue... good luck...
    -----------------------------------

    Windows Registry Editor Version 5.00

    [HKEY_LOCAL_MACHINESOFTWAREWow6432NodeMicrosoftConfigMgr10AdminUIQueryProcessorsWQL]
    "Assembly Path"="C:\Program Files (x86)\Microsoft Configuration Manager\AdminConsole\bin\AdminUI.WqlQueryEngine.dll"
    "Depends On"=""
    "Type"="Microsoft.ConfigurationManagement.ManagementProvider.WqlQueryEngine.WqlConnectionManager"