ConfigMgr Console connection issue
Question
Hi Team,
After installing the Configuration Manager Console it’s not connecting to CAS server. We are able to connect CAS server through RDC(mstsc) using 5616 port no. Kindly advice.
SMSAdminUI.log details
[4, PID:16356][01/06/2021 19:54:39] :System.Runtime.InteropServices.COMExceptionrnThe RPC server is unavailable.
rn at System.Runtime.InteropServices.Marshal.ThrowExceptionForHRInternal(Int32 errorCode, IntPtr errorInfo)
at System.Management.ManagementScope.InitializeGuts(Object o)
at System.Management.ManagementScope.Initialize()
at System.Management.ManagementObjectSearcher.Initialize()
at System.Management.ManagementObjectSearcher.Get()
at Microsoft.ConfigurationManagement.ManagementProvider.WqlQueryEngine.WqlConnectionManager.Connect(String configMgrServerPath)rn
[4, PID:16356][01/06/2021 19:54:39] :Transport error; failed to connect, message: ‘The RPC server is unavailable.
‘rnMicrosoft.ConfigurationManagement.ManagementProvider.SmsConnectionExceptionrnThe RPC server is unavailable.
rn at Microsoft.ConfigurationManagement.ManagementProvider.WqlQueryEngine.WqlConnectionManager.Connect(String configMgrServerPath)
at Microsoft.ConfigurationManagement.AdminConsole.SmsSiteConnectionNode.GetConnectionManagerInstance(String connectionManagerInstance)rnThe RPC server is unavailable.
rnSystem.Runtime.InteropServices.COMExceptionrnThe RPC server is unavailable.
rn at System.Runtime.InteropServices.Marshal.ThrowExceptionForHRInternal(Int32 errorCode, IntPtr errorInfo)
at System.Management.ManagementScope.InitializeGuts(Object o)
at System.Management.ManagementScope.Initialize()
at System.Management.ManagementObjectSearcher.Initialize()
at System.Management.ManagementObjectSearcher.Get()
at Microsoft.ConfigurationManagement.ManagementProvider.WqlQueryEngine.WqlConnectionManager.Connect(String configMgrServerPath)rn
[10, PID:16356][01/06/2021 19:54:57] :System.Runtime.InteropServices.COMExceptionrnThe RPC server is unavailable.
rn at System.Runtime.InteropServices.Marshal.ThrowExceptionForHRInternal(Int32 errorCode, IntPtr errorInfo)
at System.Management.ManagementScope.InitializeGuts(Object o)
at System.Management.ManagementScope.Initialize()
at System.Management.ManagementObjectSearcher.Initialize()
at System.Management.ManagementObjectSearcher.Get()
at Microsoft.ConfigurationManagement.ManagementProvider.WqlQueryEngine.WqlConnectionManager.Connect(String configMgrServerPath)rn
[10, PID:16356][01/06/2021 19:54:57] :Transport error; failed to connect, message: ‘The RPC server is unavailable.
‘rnMicrosoft.ConfigurationManagement.ManagementProvider.SmsConnectionExceptionrnThe RPC server is unavailable.
rn at Microsoft.ConfigurationManagement.ManagementProvider.WqlQueryEngine.WqlConnectionManager.Connect(String configMgrServerPath)
at Microsoft.ConfigurationManagement.AdminConsole.SmsSiteConnectionNode.GetConnectionManagerInstance(String connectionManagerInstance)rnThe RPC server is unavailable.
rnSystem.Runtime.InteropServices.COMExceptionrnThe RPC server is unavailable.
rn at System.Runtime.InteropServices.Marshal.ThrowExceptionForHRInternal(Int32 errorCode, IntPtr errorInfo)
at System.Management.ManagementScope.InitializeGuts(Object o)
at System.Management.ManagementScope.Initialize()
at System.Management.ManagementObjectSearcher.Initialize()
at System.Management.ManagementObjectSearcher.Get()
at Microsoft.ConfigurationManagement.ManagementProvider.WqlQueryEngine.WqlConnectionManager.Connect(String configMgrServerPath)rn
[2, PID:16356][01/06/2021 19:54:57] :System.Runtime.InteropServices.COMExceptionrnThe RPC server is unavailable.
rn at System.Runtime.InteropServices.Marshal.ThrowExceptionForHRInternal(Int32 errorCode, IntPtr errorInfo)
at System.Management.ManagementScope.InitializeGuts(Object o)
at System.Management.ManagementScope.Initialize()
at System.Management.ManagementObject.Initialize(Boolean getObject)
at System.Management.ManagementObject.InvokeMethod(String methodName, ManagementBaseObject inParameters, InvokeMethodOptions options)
at Microsoft.ConfigurationManagement.ManagementProvider.WqlQueryEngine.WqlConnectionManager.ExecuteMethod(String methodClass, String methodName, Dictionary`2 methodParameters, Boolean traceParameters)rn
[10, PID:16356][01/06/2021 19:54:57] :System.Runtime.InteropServices.COMExceptionrnThe RPC server is unavailable.
rn at System.Runtime.InteropServices.Marshal.ThrowExceptionForHRInternal(Int32 errorCode, IntPtr errorInfo)
at System.Management.ManagementScope.InitializeGuts(Object o)
at System.Management.ManagementScope.Initialize()
at System.Management.ManagementObjectSearcher.Initialize()
at System.Management.ManagementObjectSearcher.Get()
at Microsoft.ConfigurationManagement.ManagementProvider.WqlQueryEngine.WqlConnectionManager.Connect(String configMgrServerPath)rn
[10, PID:16356][01/06/2021 19:54:57] :Transport error; failed to connect, message: ‘The RPC server is unavailable.
‘rnMicrosoft.ConfigurationManagement.ManagementProvider.SmsConnectionExceptionrnThe RPC server is unavailable.
rn at Microsoft.ConfigurationManagement.ManagementProvider.WqlQueryEngine.WqlConnectionManager.Connect(String configMgrServerPath)
at Microsoft.ConfigurationManagement.AdminConsole.SmsSiteConnectionNode.GetConnectionManagerInstance(String connectionManagerInstance)rnThe RPC server is unavailable.
rnSystem.Runtime.InteropServices.COMExceptionrnThe RPC server is unavailable.
rn at System.Runtime.InteropServices.Marshal.ThrowExceptionForHRInternal(Int32 errorCode, IntPtr errorInfo)
at System.Management.ManagementScope.InitializeGuts(Object o)
at System.Management.ManagementScope.Initialize()
at System.Management.ManagementObjectSearcher.Initialize()
at System.Management.ManagementObjectSearcher.Get()
at Microsoft.ConfigurationManagement.ManagementProvider.WqlQueryEngine.WqlConnectionManager.Connect(String configMgrServerPath)rn
[2, PID:16356][01/06/2021 19:55:04] :System.Runtime.InteropServices.COMExceptionrnThe RPC server is unavailable.
rn at System.Runtime.InteropServices.Marshal.ThrowExceptionForHRInternal(Int32 errorCode, IntPtr errorInfo)
at System.Management.ManagementScope.InitializeGuts(Object o)
at System.Management.ManagementScope.Initialize()
at System.Management.ManagementObject.Initialize(Boolean getObject)
at System.Management.ManagementObject.InvokeMethod(String methodName, ManagementBaseObject inParameters, InvokeMethodOptions options)
at Microsoft.ConfigurationManagement.ManagementProvider.WqlQueryEngine.WqlConnectionManager.ExecuteMethod(String methodClass, String methodName, Dictionary`2 methodParameters, Boolean traceParameters)rn
[1, PID:16356][01/06/2021 19:55:06] :System.Runtime.InteropServices.COMExceptionrnThe RPC server is unavailable.
rn at System.Management.ThreadDispatch.Start()
at System.Management.ManagementScope.Initialize()
at System.Management.ManagementObjectSearcher.Initialize()
at System.Management.ManagementObjectSearcher.Get()
at Microsoft.ConfigurationManagement.ManagementProvider.WqlQueryEngine.WqlConnectionManager.Connect(String configMgrServerPath)rn
[1, PID:16356][01/06/2021 19:55:06] :Transport error; failed to connect, message: ‘The RPC server is unavailable.
‘rnMicrosoft.ConfigurationManagement.ManagementProvider.SmsConnectionExceptionrnThe RPC server is unavailable.
rn at Microsoft.ConfigurationManagement.ManagementProvider.WqlQueryEngine.WqlConnectionManager.Connect(String configMgrServerPath)
at Microsoft.ConfigurationManagement.AdminConsole.SmsSiteConnectionNode.GetConnectionManagerInstance(String connectionManagerInstance)rnThe RPC server is unavailable.
rnSystem.Runtime.InteropServices.COMExceptionrnThe RPC server is unavailable.
rn at System.Management.ThreadDispatch.Start()
at System.Management.ManagementScope.Initialize()
at System.Management.ManagementObjectSearcher.Initialize()
at System.Management.ManagementObjectSearcher.Get()
at Microsoft.ConfigurationManagement.ManagementProvider.WqlQueryEngine.WqlConnectionManager.Connect(String configMgrServerPath)rn
[1, PID:16356][01/06/2021 19:55:06] :Microsoft.ConfigurationManagement.ManagementProvider.SmsConnectionExceptionrnThe RPC server is unavailable.
rn at Microsoft.ConfigurationManagement.ManagementProvider.WqlQueryEngine.WqlConnectionManager.Connect(String configMgrServerPath)
at Microsoft.ConfigurationManagement.AdminConsole.SmsSiteConnectionNode.GetConnectionManagerInstance(String connectionManagerInstance)
at Microsoft.ConfigurationManagement.AdminConsole.SmsSiteConnectionNode.CreateConnectionManagerInstance(String connectionManagerInstance, IConsoleConfig settings)rnThe RPC server is unavailable.
rnSystem.Runtime.InteropServices.COMExceptionrnThe RPC server is unavailable.
rn at System.Management.ThreadDispatch.Start()
at System.Management.ManagementScope.Initialize()
at System.Management.ManagementObjectSearcher.Initialize()
at System.Management.ManagementObjectSearcher.Get()
at Microsoft.ConfigurationManagement.ManagementProvider.WqlQueryEngine.WqlConnectionManager.Connect(String configMgrServerPath)rn
[1, PID:16356][01/06/2021 19:55:25] :System.Runtime.InteropServices.COMExceptionrnThe RPC server is unavailable.
rn at System.Management.ThreadDispatch.Start()
at System.Management.ManagementScope.Initialize()
at System.Management.ManagementObjectSearcher.Initialize()
at System.Management.ManagementObjectSearcher.Get()
at Microsoft.ConfigurationManagement.ManagementProvider.WqlQueryEngine.WqlConnectionManager.Connect(String configMgrServerPath)rn
[1, PID:16356][01/06/2021 19:55:25] :Transport error; failed to connect, message: ‘The RPC server is unavailable.
‘rnMicrosoft.ConfigurationManagement.ManagementProvider.SmsConnectionExceptionrnThe RPC server is unavailable.
rn at Microsoft.ConfigurationManagement.ManagementProvider.WqlQueryEngine.WqlConnectionManager.Connect(String configMgrServerPath)
at Microsoft.ConfigurationManagement.AdminConsole.SmsSiteConnectionNode.GetConnectionManagerInstance(String connectionManagerInstance)rnThe RPC server is unavailable.
rnSystem.Runtime.InteropServices.COMExceptionrnThe RPC server is unavailable.
rn at System.Management.ThreadDispatch.Start()
at System.Management.ManagementScope.Initialize()
at System.Management.ManagementObjectSearcher.Initialize()
at System.Management.ManagementObjectSearcher.Get()
at Microsoft.ConfigurationManagement.ManagementProvider.WqlQueryEngine.WqlConnectionManager.Connect(String configMgrServerPath)rn
[1, PID:16356][01/06/2021 19:55:25] :Microsoft.ConfigurationManagement.ManagementProvider.SmsConnectionExceptionrnThe RPC server is unavailable.
rn at Microsoft.ConfigurationManagement.ManagementProvider.WqlQueryEngine.WqlConnectionManager.Connect(String configMgrServerPath)
at Microsoft.ConfigurationManagement.AdminConsole.SmsSiteConnectionNode.GetConnectionManagerInstance(String connectionManagerInstance)
at Microsoft.ConfigurationManagement.AdminConsole.SmsSiteConnectionNode.CreateConnectionManagerInstance(String connectionManagerInstance, IConsoleConfig settings)rnThe RPC server is unavailable.
rnSystem.Runtime.InteropServices.COMExceptionrnThe RPC server is unavailable.
rn at System.Management.ThreadDispatch.Start()
at System.Management.ManagementScope.Initialize()
at System.Management.ManagementObjectSearcher.Initialize()
at System.Management.ManagementObjectSearcher.Get()
at Microsoft.ConfigurationManagement.ManagementProvider.WqlQueryEngine.WqlConnectionManager.Connect(String configMgrServerPath)rn
[1, PID:16356][01/06/2021 19:55:25] :System.Runtime.InteropServices.COMExceptionrnThe RPC server is unavailable.
rn at System.Management.ThreadDispatch.Start()
at System.Management.ManagementScope.Initialize()
at System.Management.ManagementObjectSearcher.Initialize()
at System.Management.ManagementObjectSearcher.Get()
at Microsoft.ConfigurationManagement.ManagementProvider.WqlQueryEngine.WqlConnectionManager.Connect(String configMgrServerPath)rn
[1, PID:16356][01/06/2021 19:55:25] :Transport error; failed to connect, message: ‘The RPC server is unavailable.
‘rnMicrosoft.ConfigurationManagement.ManagementProvider.SmsConnectionExceptionrnThe RPC server is unavailable.
rn at Microsoft.ConfigurationManagement.ManagementProvider.WqlQueryEngine.WqlConnectionManager.Connect(String configMgrServerPath)
at Microsoft.ConfigurationManagement.AdminConsole.SmsSiteConnectionNode.GetConnectionManagerInstance(String connectionManagerInstance)rnThe RPC server is unavailable.
rnSystem.Runtime.InteropServices.COMExceptionrnThe RPC server is unavailable.
rn at System.Management.ThreadDispatch.Start()
at System.Management.ManagementScope.Initialize()
at System.Management.ManagementObjectSearcher.Initialize()
at System.Management.ManagementObjectSearcher.Get()
at Microsoft.ConfigurationManagement.ManagementProvider.WqlQueryEngine.WqlConnectionManager.Connect(String configMgrServerPath)rn
[1, PID:16356][01/06/2021 19:55:25] :Microsoft.ConfigurationManagement.ManagementProvider.SmsConnectionExceptionrnThe RPC server is unavailable.
rn at Microsoft.ConfigurationManagement.ManagementProvider.WqlQueryEngine.WqlConnectionManager.Connect(String configMgrServerPath)
at Microsoft.ConfigurationManagement.AdminConsole.SmsSiteConnectionNode.GetConnectionManagerInstance(String connectionManagerInstance)
at Microsoft.ConfigurationManagement.AdminConsole.SmsSiteConnectionNode.CreateConnectionManagerInstance(String connectionManagerInstance, IConsoleConfig settings)rnThe RPC server is unavailable.
rnSystem.Runtime.InteropServices.COMExceptionrnThe RPC server is unavailable.
rn at System.Management.ThreadDispatch.Start()
at System.Management.ManagementScope.Initialize()
at System.Management.ManagementObjectSearcher.Initialize()
at System.Management.ManagementObjectSearcher.Get()
at Microsoft.ConfigurationManagement.ManagementProvider.WqlQueryEngine.WqlConnectionManager.Connect(String configMgrServerPath)rn
[6, PID:11588][01/06/2021 20:02:55] :System.Runtime.InteropServices.COMExceptionrnThe RPC server is unavailable.
rn at System.Runtime.InteropServices.Marshal.ThrowExceptionForHRInternal(Int32 errorCode, IntPtr errorInfo)
at System.Management.ManagementScope.InitializeGuts(Object o)
at System.Management.ManagementScope.Initialize()
at System.Management.ManagementObjectSearcher.Initialize()
at System.Management.ManagementObjectSearcher.Get()
at Microsoft.ConfigurationManagement.ManagementProvider.WqlQueryEngine.WqlConnectionManager.Connect(String configMgrServerPath)rn
[6, PID:11588][01/06/2021 20:02:55] :Transport error; failed to connect, message: ‘The RPC server is unavailable.
‘rnMicrosoft.ConfigurationManagement.ManagementProvider.SmsConnectionExceptionrnThe RPC server is unavailable.
rn at Microsoft.ConfigurationManagement.ManagementProvider.WqlQueryEngine.WqlConnectionManager.Connect(String configMgrServerPath)
at Microsoft.ConfigurationManagement.AdminConsole.SmsSiteConnectionNode.GetConnectionManagerInstance(String connectionManagerInstance)rnThe RPC server is unavailable.
rnSystem.Runtime.InteropServices.COMExceptionrnThe RPC server is unavailable.
rn at System.Runtime.InteropServices.Marshal.ThrowExceptionForHRInternal(Int32 errorCode, IntPtr errorInfo)
at System.Management.ManagementScope.InitializeGuts(Object o)
at System.Management.ManagementScope.Initialize()
at System.Management.ManagementObjectSearcher.Initialize()
at System.Management.ManagementObjectSearcher.Get()
at Microsoft.ConfigurationManagement.ManagementProvider.WqlQueryEngine.WqlConnectionManager.Connect(String configMgrServerPath)rn
[4, PID:11588][01/06/2021 20:03:00] :System.Runtime.InteropServices.COMExceptionrnThe RPC server is unavailable.
rn at System.Runtime.InteropServices.Marshal.ThrowExceptionForHRInternal(Int32 errorCode, IntPtr errorInfo)
at System.Management.ManagementScope.InitializeGuts(Object o)
at System.Management.ManagementScope.Initialize()
at System.Management.ManagementObjectSearche
Answers ( 3 )
Hopefully, you might have already resolved this issue. Closing the ticket. Feel free to comment if you have a feedback.
Check for the port 135 if it open between source and the SMS provider.
are you trying to connect the console from remote computer?