Ugly pop up in the console

Brian W 126 Reputation points
2024-03-13T14:47:38.4766667+00:00

Sometimes when running a ps script or clicking around in the scom console I get an error I don't know how to resolve. I'm doing an in place upgrade on Sunday, I sure hope this doesn't choke the process

Date: 3/5/2024 7:05:08 AM

Application: Operations Manager

Application Version: 10.19.10569.0

Severity: Error

Message:

Microsoft.EnterpriseManagement.Common.ObjectNotFoundException: An object of class ManagementPackClass with ID 00000000-0000-0000-0000-000000000000 was not found.

at Microsoft.EnterpriseManagement.Configuration.LegacyTypeSpaceCache.GetTypeT

at Microsoft.EnterpriseManagement.Configuration.LegacyTypeSpaceCache.GetClass(Guid managedTypeId)

at Microsoft.EnterpriseManagement.Configuration.LegacyTypeSpaceCache.GetT

at Microsoft.EnterpriseManagement.EntityTypeManagement.GetClass(Guid id)

at Microsoft.EnterpriseManagement.Common.EnterpriseManagementObject.GetLeastDerivedNonAbstractClass()

at Microsoft.EnterpriseManagement.Common.EnterpriseManagementObject.GetProperties()

at Microsoft.EnterpriseManagement.Common.EnterpriseManagementObjectBaseWithProperties.InitializeProperties()

at Microsoft.EnterpriseManagement.Common.EnterpriseManagementObjectBaseWithProperties.TryGetProperty(ManagementPackProperty property, EnterpriseManagementSimpleObject& simpleObject)

at Microsoft.EnterpriseManagement.Mom.UI.StateDetailView.<>c__DisplayClass2.<PopulateInfoPane>b__1(Object param0, ConsoleJobEventArgs param1)

at Microsoft.EnterpriseManagement.Mom.Internal.UI.Console.ConsoleJobExceptionHandler.ExecuteJob(IComponent component, EventHandler`1 job, Object sender, ConsoleJobEventArgs args)

Microsoft System Center | Other
0 comments No comments
{count} votes

2 answers

Sort by: Most helpful
  1. XinGuo-MSFT 22,231 Reputation points
    2024-03-14T08:14:03.3566667+00:00

    Hi,

    Did you follow this article: SCOM Remote Agent Health Report Script

    Did you run this ps1 in Management server?

    Have you tried to run this ps1 in OS level?


  2. Brian W 126 Reputation points
    2024-03-14T08:59:44.3933333+00:00

    The script failes with similar output:

    Get-SCOMClassInstance : An object of class ManagementPackClass with ID 00000000-0000-0000-0000-000000000000 was

    not found.

    At \t000000scom0001\g$\SCOMADMIN\SCOM Scripts\RemoteAgentHealthSCOMServerReport.ps1:58 char:29

    • $HSWInstances = $HSWClass | Get-SCOMClassInstance | Where {$_.HealthS ...
    •                         ~~~~~~~~~~~~~~~~~~~~~
      
      • CategoryInfo : InvalidOperation: (Microsoft.Syste...InstanceCommand:GetSCClassInstanceCommand) [Get
      -SCOMClassInstance], ObjectNotFoundException
      • FullyQualifiedErrorId : ExecutionError,Microsoft.SystemCenter.OperationsManagerV10.Commands.GetSCClassInstan
      ceCommand
    0 comments No comments

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.