News

Failed to initialize the console

During some actions on the authoring pane i apparently ran into a corrupted element 'cause i ran into an object not found exception.
It was something like:
Microsoft.EnterpriseManagement.Common.ObjectNotFoundException: An object of type MonitoringClass with Id [someguid] was not found.

after that the console crashed and i could not start it anymore.
Restarting services or a reboot of the RMS gave no solution.
I continuously ran into the following error.

Date: 10/4/2007 10:50:46 AM
Application: System Center Operations Manager 2007
Application Version: 6.0.5000.0
Severity: Error
Message: Failed to initialize the console.

System.NullReferenceException: Object reference not set to an instance of an object.
   at Microsoft.EnterpriseManagement.Internal.UI.Authoring.Views.MonitorBackingStore.GetLastExpandedKey(MonitorWrapper wrapper)
   at Microsoft.EnterpriseManagement.Internal.UI.Authoring.Views.MonitorBackingStore.WasExpanded(MonitorWrapper wrapper)
   at Microsoft.EnterpriseManagement.Internal.UI.Authoring.Views.MonitorBackingStore.ExpandItems(Boolean expandRecursive)
   at Microsoft.EnterpriseManagement.Internal.UI.Authoring.Views.MonitorBackingStore.DoUpdates(QueryUpdate`1 updates)
   at Microsoft.EnterpriseManagement.Mom.Internal.UI.GridViewBase`2.OnCacheUpdated(CacheUpdatedEventArgs`1 e)
   at Microsoft.EnterpriseManagement.Internal.UI.Authoring.Views.HealthView.OnCacheUpdated(CacheUpdatedEventArgs`1 e)
   at Microsoft.EnterpriseManagement.Mom.Internal.UI.CachedView`2.<>c__DisplayClass2.<QueryCache_UpdateEvent>b__0(Object , ConsoleJobEventArgs )
   at Microsoft.EnterpriseManagement.Mom.Internal.UI.Console.ConsoleJobExceptionHandler.ExecuteJob(IComponent jobOwner, EventHandler`1 job, Object sender, ConsoleJobEventArgs args)
   at Microsoft.EnterpriseManagement.ConsoleFramework.ConsoleJobsService.RunJob(IComponent jobOwner, EventHandler`1 jobMethod, EventHandler`1 errorHandler, Object[] arguments)
   at Microsoft.EnterpriseManagement.ConsoleFramework.ConsoleJobsService.RunJob(IComponent jobOwner, EventHandler`1 jobMethod, Object[] arguments)
   at Microsoft.EnterpriseManagement.Mom.Internal.UI.CachedView`2.QueryCache_UpdateEvent(Object sender, CacheUpdatedEventArgs`1 e)

Upon study of this error you see the following statement: GetLastExpandedKey and QueryCache.
This made me wonder if there was some kind of cache which caused this problem. Apparently the console tries to load the latest known state.
And it is, 'cause when you browse to the documents and settings folder of the logged on user you will find a 'momcache.mdb' in the following directory:
"C:\Documents and Settings\[username]\Local Settings\Application Data\Microsoft\Microsoft.Mom.UI.Console".

Deleting this file solved my problem.
This file is recreated as soon as you restart the console.

 
 
Joomla-Template by guenstige.shop-stadt.de & go-windows.de
 
 
     
 
   
Books!