Share via

SCCM 2211 Console crash

Zakaria Muhammad 161 Reputation points
Jan 23, 2023, 7:46 PM

I just updated SCCM from 2107 to 2211 and now the console crashes if I try to delete the Collection.

Any idea what could be wrong?

Microsoft Configuration Manager Updates
Microsoft Configuration Manager Updates
Microsoft Configuration Manager: An integrated solution for for managing large groups of personal computers and servers.Updates: Broadly released fixes addressing specific issue(s) or related bug(s). Updates may also include new or modified features (i.e. changing default behavior).
1,059 questions
Microsoft Configuration Manager
{count} votes

5 answers

Sort by: Most helpful
  1. Julián Alejandro Horita 5 Reputation points
    Aug 13, 2024, 1:16 AM

    We've found the solution to this issue, at least in our case.

    Had to do with the Co-Management Cloud Attach collection being deleted accidentally by a script. A reconfiguration of that, set on a new existing collection fixed that.

    1 person found this answer helpful.

  2. CherryZhang-MSFT 6,491 Reputation points
    Jan 24, 2023, 2:59 AM

    Hi @Zakaria Muhammad

    1, Please help upload SmsAdminUI.log and colleval.log for our reference.

    2, How does your console crash? Is it same as the screenshot in below article? Are there any screenshots for our reference?

    SCCM crashing when deploying scripts after Patch for SCCM upgrade (ivanti.com)

    Note: Microsoft provides third-party contact information to help you understand the problem. This contact information may change without notice. Microsoft does not guarantee the accuracy of this third-party contact information.

    3, About console crashes after upgrade, I find a similar threader. In this threader, it is occurring because the console can't get the installed SQL Server Reporting Services (SSRS) version from the site database. The link for your reference:

    Console crashes after upgrading to version 2107 - Configuration Manager | Microsoft Learn

    Looking forward to your reply.

    Best regards,
    Cherry

     


  3. Zakaria Muhammad 161 Reputation points
    Jan 24, 2023, 5:14 PM

    @CherryZhang-MSFT

    This is what I see in SMSAdminUi.log. there are no errors in Colleval logs. Also the 2107 RS issue is not related to the issue i am facing.

    [9, PID:11900][01/24/2023 11:06:41] :Missing management class description for class 'SMS_ActionAccountResult'
    [9, PID:11900][01/24/2023 11:06:41] :Missing management class description for class 'SMS_AfwAppConfigSettings'
    [9, PID:11900][01/24/2023 11:06:41] :Missing management class description for class 'SMS_AntiMalwareSettingsPolicy'
    [9, PID:11900][01/24/2023 11:06:41] :Missing management class description for class 'SMS_CoManagementSettings'
    [9, PID:11900][01/24/2023 11:06:41] :Missing management class description for class 'SMS_M365ASettings'
    [9, PID:11900][01/24/2023 11:06:41] :Missing management class description for class 'SMS_OneDriveKnownFolderMigrationSettings'
    [9, PID:11900][01/24/2023 11:06:41] :Missing management class description for class 'SMS_Report'
    [9, PID:11900][01/24/2023 11:06:41] :Missing management class description for class 'SMS_UacComplianceSettings'
    [9, PID:11900][01/24/2023 11:06:42] :Detected console extension 4dff85ab-7541-4aab-bbf4-d52fc3588462 of version:5.0
    [6, PID:10264][01/24/2023 11:07:08] :Missing management class description for class 'SMS_ActionAccountResult'
    [6, PID:10264][01/24/2023 11:07:08] :Missing management class description for class 'SMS_AfwAppConfigSettings'
    [6, PID:10264][01/24/2023 11:07:08] :Missing management class description for class 'SMS_AntiMalwareSettingsPolicy'
    [6, PID:10264][01/24/2023 11:07:08] :Missing management class description for class 'SMS_CoManagementSettings'
    [6, PID:10264][01/24/2023 11:07:08] :Missing management class description for class 'SMS_M365ASettings'
    [6, PID:10264][01/24/2023 11:07:08] :Missing management class description for class 'SMS_OneDriveKnownFolderMigrationSettings'
    [6, PID:10264][01/24/2023 11:07:08] :Missing management class description for class 'SMS_Report'
    [6, PID:10264][01/24/2023 11:07:08] :Missing management class description for class 'SMS_UacComplianceSettings'
    [6, PID:10264][01/24/2023 11:07:09] :Detected console extension 4dff85ab-7541-4aab-bbf4-d52fc3588462 of version:5.0
    [1, PID:10264][01/24/2023 11:07:59] :The exception is a critical error
    [1, PID:10264][01/24/2023 11:07:59] :System.ArgumentNullException\r\nValue cannot be null.
    Parameter name: collection\r\n   at System.Collections.Generic.List`1..ctor(IEnumerable`1 collection)
       at Microsoft.ConfigurationManagement.ManagementProvider.WqlQueryEngine.WqlQueryPropertySingleItem.get_IntegerArrayValue()
       at Microsoft.ConfigurationManagement.AdminConsole.CollectionProperty.MenuUtilityClass.GetAADTenantIdByCloudServiceId(ConnectionManagerBase connectionManager, Int32 cloudServiceId)
       at Microsoft.ConfigurationManagement.AdminConsole.CollectionProperty.MenuUtilityClass.IsCollectionUsedByCloudAttach(ConnectionManagerBase connectionManager, String sCollID)
       at Microsoft.ConfigurationManagement.AdminConsole.CollectionProperty.MenuUtilityClass.DeleteCollectionAction(Object sender, ScopeNode scopeNode, ActionDescription action, IResultObject selectedObjects, PropertyDataUpdated dataUpdatedDelegate, Status status)\r\n
    [1, PID:10264][01/24/2023 11:07:59] :System.Reflection.TargetInvocationException\r\nException has been thrown by the target of an invocation.\r\n   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
       at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
       at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
       at Microsoft.ConfigurationManagement.AdminConsole.AssemblyTypeTaskHandler.DoTask(NavigationModelNodeBase node, SccmTaskConfiguration sccmTask, PropertyDataUpdated dataUpdatedDelegate, Boolean readOnly)
       at Microsoft.ConfigurationManagement.AdminConsole.SccmTaskHandlerBase.DoTask(IList`1 navigationNodes, NavigationModelNodeTask task)
       at Microsoft.EnterpriseManagement.ConsoleFramework.WindowTaskHandler.WindowTaskOperation.ExecuteTaskJob(Object sender, ConsoleJobEventArgs jobArguments)
       at Microsoft.ConfigurationManagement.AdminConsole.ConsoleJobExceptionHandler.ExecuteJob(IComponent component, EventHandler`1 job, Object sender, ConsoleJobEventArgs args)\r\nSystem.ArgumentNullException\r\nValue cannot be null.
    Parameter name: collection\r\n   at System.Collections.Generic.List`1..ctor(IEnumerable`1 collection)
       at Microsoft.ConfigurationManagement.ManagementProvider.WqlQueryEngine.WqlQueryPropertySingleItem.get_IntegerArrayValue()
       at Microsoft.ConfigurationManagement.AdminConsole.CollectionProperty.MenuUtilityClass.GetAADTenantIdByCloudServiceId(ConnectionManagerBase connectionManager, Int32 cloudServiceId)
       at Microsoft.ConfigurationManagement.AdminConsole.CollectionProperty.MenuUtilityClass.IsCollectionUsedByCloudAttach(ConnectionManagerBase connectionManager, String sCollID)
       at Microsoft.ConfigurationManagement.AdminConsole.CollectionProperty.MenuUtilityClass.DeleteCollectionAction(Object sender, ScopeNode scopeNode, ActionDescription action, IResultObject selectedObjects, PropertyDataUpdated dataUpdatedDelegate, Status status)\r\n
    [1, PID:10264][01/24/2023 11:07:59] :System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.ArgumentNullException: Value cannot be null.
    Parameter name: collection
       at Microsoft.ConfigurationManagement.AdminConsole.ConsoleJobExceptionHandler.ExecuteJob(IComponent component, EventHandler`1 job, Object sender, ConsoleJobEventArgs args)
       at Microsoft.EnterpriseManagement.ConsoleFramework.ConsoleJobsService.RunJob(ConsoleJobDescription jobDescription)
       at Microsoft.EnterpriseManagement.ConsoleFramework.WindowJobsService.RunJob(ConsoleJobDescription jobDescription)
       at Microsoft.EnterpriseManagement.ConsoleFramework.WindowJobsService.RunJob(IComponent jobOwner, EventHandler`1 jobMethod, EventHandler`1 errorHandler, Object[] arguments)
       at Microsoft.EnterpriseManagement.ConsoleFramework.WindowTaskHandler.WindowTaskOperation.ExecuteTask()
       --- End of inner exception stack trace ---
       at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
       at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
       at System.Delegate.DynamicInvokeImpl(Object[] args)
       at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
       at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)
       at System.Windows.Threading.DispatcherOperation.InvokeImpl()
       at System.Windows.Threading.DispatcherOperation.InvokeInSecurityContext(Object state)
       at MS.Internal.CulturePreservingExecutionContext.CallbackWrapper(Object obj)
       at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
       at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
       at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
       at MS.Internal.CulturePreservingExecutionContext.Run(CulturePreservingExecutionContext executionContext, ContextCallback callback, Object state)
       at System.Windows.Threading.DispatcherOperation.Invoke()
       at System.Windows.Threading.Dispatcher.ProcessQueue()
       at System.Windows.Threading.Dispatcher.WndProcHook(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
       at MS.Win32.HwndWrapper.WndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
       at MS.Win32.HwndSubclass.DispatcherCallbackOperation(Object o)
       at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
       at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)
       at System.Windows.Threading.Dispatcher.LegacyInvokeImpl(DispatcherPriority priority, TimeSpan timeout, Delegate method, Object args, Int32 numArgs)
       at MS.Win32.HwndSubclass.SubclassWndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam)
       at MS.Win32.UnsafeNativeMethods.DispatchMessage(MSG& msg)
       at System.Windows.Threading.Dispatcher.PushFrameImpl(DispatcherFrame frame)
       at System.Windows.Threading.Dispatcher.PushFrame(DispatcherFrame frame)
       at System.Windows.Window.ShowHelper(Object booleanBox)
       at System.Windows.Window.Show()
       at System.Windows.Window.ShowDialog()
       at Microsoft.EnterpriseManagement.ConsoleFramework.WindowManager.GenericWpfWindowConstructor.BeginShow(ShowViewContext showViewContext, Object parent, Object view, AsyncCallback callback, Object state)
       at Microsoft.EnterpriseManagement.ConsoleFramework.ViewConstructor.BeginShow(ShowViewContext showViewContext, AsyncCallback callback, Object state)
       at Microsoft.EnterpriseManagement.ConsoleFramework.WindowManager.WpfWindowRecord.ShowWindow()
       --- End of inner exception stack trace ---
       at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
       at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
       at System.Delegate.DynamicInvokeImpl(Object[] args)
       at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
       at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)
       at System.Windows.Threading.DispatcherOperation.InvokeImpl()
       at System.Windows.Threading.DispatcherOperation.InvokeInSecurityContext(Object state)
       at MS.Internal.CulturePreservingExecutionContext.CallbackWrapper(Object obj)
       at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
       at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
       at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
       at MS.Internal.CulturePreservingExecutionContext.Run(CulturePreservingExecutionContext executionContext, ContextCallback callback, Object state)
       at System.Windows.Threading.DispatcherOperation.Invoke()
       at System.Windows.Threading.Dispatcher.ProcessQueue()
       at System.Windows.Threading.Dispatcher.WndProcHook(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
       at MS.Win32.HwndWrapper.WndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
       at MS.Win32.HwndSubclass.DispatcherCallbackOperation(Object o)
       at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
       at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)
       at System.Windows.Threading.Dispatcher.LegacyInvokeImpl(DispatcherPriority priority, TimeSpan timeout, Delegate method, Object args, Int32 numArgs)
       at MS.Win32.HwndSubclass.SubclassWndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam)
       at MS.Win32.UnsafeNativeMethods.DispatchMessage(MSG& msg)
       at System.Windows.Threading.Dispatcher.PushFrameImpl(DispatcherFrame frame)
       at System.Windows.Threading.Dispatcher.PushFrame(DispatcherFrame frame)
       at System.Windows.Application.RunDispatcher(Object ignore)
       at System.Windows.Application.RunInternal(Window window)
       at System.Windows.Application.Run(Window window)
       at Microsoft.EnterpriseManagement.ConsoleFramework.ConsoleApplication.LaunchWindow()
       at Microsoft.EnterpriseManagement.ConsoleFramework.ConsoleApplication.Run()
       at Microsoft.ConfigurationManagement.AdminConsole.Program.Main()
    
    

  4. CherryZhang-MSFT 6,491 Reputation points
    Jan 27, 2023, 9:11 AM

    Hi @Zakaria Muhammad,

    [1, PID:10264][01/24/2023 11:07:59] :System.ArgumentNullException [1, PID:10264][01/24/2023 11:07:59] :System.ArgumentNullException [1, PID:10264][01/24/2023 11:07:59] :System.ArgumentNullException Value cannot be null. Parameter name: collection Parameter name: collection Parameter name: collection at System.Collections.Generic.List1..ctor(IEnumerable1 collection)

    As your said. From the logs, it seems that the collection is missing special value causing the console crash. I recommended that you try to remove the collection use the following command.

    Get-CMCollection -Name "Collection name" | Remove-CMCollection

    The screenshot for your reference:

    1

    2

    For more information about the command, please refer to this link:

    Remove-CMCollection (ConfigurationManager) - Configuration Manager | Microsoft Learn

    Thanks for your time!

    Best regards,

    Cherry


    If the response is helpful, please click "Accept Answer" and upvote it.

    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.


  5. AndresP 21 Reputation points
    Aug 8, 2023, 8:08 AM

    Upgrading to 2303 didnt fix the issue . Still same error:

    [1, PID:22428][08/08/2023 10:47:45] :System.ArgumentNullException\r\nValue cannot be null.
    Parameter name: collection\r\n   at System.Collections.Generic.List`1..ctor(IEnumerable`1 collection)
       at Microsoft.ConfigurationManagement.ManagementProvider.WqlQueryEngine.WqlQueryPropertySingleItem.get_IntegerArrayValue()
       at Microsoft.ConfigurationManagement.AdminConsole.CollectionProperty.MenuUtilityClass.GetAADTenantIdByCloudServiceId(ConnectionManagerBase connectionManager, Int32 cloudServiceId)
       at Microsoft.ConfigurationManagement.AdminConsole.CollectionProperty.MenuUtilityClass.IsCollectionUsedByCloudAttach(ConnectionManagerBase connectionManager, String sCollID)
       at Microsoft.ConfigurationManagement.AdminConsole.CollectionProperty.MenuUtilityClass.DeleteCollectionAction(Object sender, ScopeNode scopeNode, ActionDescription action, IResultObject selectedObjects, PropertyDataUpdated dataUpdatedDelegate, Status status)\r\n
    [1, PID:22428][08/08/2023 10:47:45] :System.Reflection.TargetInvocationException\r\nException has been thrown by the target of an invocation.\r\n   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
    
    

    No solution? @Zakaria Muhammad @CherryZhang-MSFT @David V Pearson


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.