An object of type MonitoringClass with Id 1a9387f0-6fe5-5527-a2cb-73f2f6be6b c7 was not found

Hi,

we are using a network management tool, we have an option to the register the SCOM server in our application.

During the registeration process we are sending out a request to SCOM server and in return instance we are getting this below error.


Microsoft.EnterpriseManagement.Common.ObjectNotFoundException:An object of type MonitoringClass with Id 1a9387f0-6fe5-5527-a2cb-73f2f6be6bc7 was not found.
at Microsoft.EnterpriseManagement.Configuration.TypeSpaceCache.GetType[T](Guid managementPackObjectId, Dictionary`2 objectIdMap)   
at Microsoft.EnterpriseManagement.Configuration.TypeSpaceCache.GetMonitoringClass(Guid managedTypeId)   
at Microsoft.EnterpriseManagement.ManagementGroup.GetMonitoringClass(Guid id)   
at Microsoft.EnterpriseManagement.Administration.ManagementGroupAdministration.GetRootManagementServer()   
[ below 2 lines and classes are our customized codes call the Microsoft methods ]
at scomregistration.Program.GetSCOMVersion(ManagementGroup mg)   
at scomregistration.Program.Main(String[] args)

This is the c# code we are using to invoke the Microsoft method, trying to get the SCOM version 

private static void GetSCOMVersion(ManagementGroup mg)
        {
            /**
             * Get the SCOM Server version.
             */
            ManagementGroupAdministration mga = mg.GetAdministration();
            Console.WriteLine(mga.GetRootManagementServer().Version.ToString());
        }

Scom version is 2012  

This is observed in two of our customer environments, when we try to register the same in our local lab its working fine. someone please help us, what could be the one causing this issue

Thanks in advance.



  • Edited by Gokul Shanmugam 18 hours 10 minutes ago update more information
May 22nd, 2015 8:39am

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics