Solved

SCOM Console Crashed after Installing Veeam Nworks Vmware Managment Pack

Posted on 2010-09-12
1
954 Views
Last Modified: 2012-05-10

I have been having some problems when importing a Veeam Nworks management pack 5.5 for VMware into Microsoft Operations Manager 2007 SP1. After importing the management pack I get the error message at the bottom of this post. Veeam have assured me that there no issue with their management pack. I have removed all management packs from Microsoft operations manager and still get the error message on import, so to try and identify the issue I installed a fresh copy of operations manager in a lab environment upgraded to service Pack 1 and the latest updates (.100) .The  Veeam management pack installed perfectly with no problems. I then compared the two incidences of Microsoft operations manager databases looking at the management pack table. I confirmed that exactly the same management packs were installed on both operations manager databases with the same GUID. Therefore my only conclusion has to be that there is a corruption within our database somewhere which specifically causes issues with that the Veeam management pack. My question is there any tools to check the integrity of the operations manager database or any additional logging that can be switched on so that I can give information back to Veeam to see if they can identify the issue. The only other alternative is to reinstall operations manager from scratch which is something that I would strongly like to avoid. Any advice would be gratefully received.

The error only starts when I switch to the monitoring tab in the console



Note:  The following information was gathered when the operation was attempted.  The information may appear cryptic but provides context for the error.  The application will continue to run.

Microsoft.EnterpriseManagement.Common.UnknownServiceException: The service threw an unknown exception. See inner exception for details. ---> System.ServiceModel.FaultException`1[System.ServiceModel.ExceptionDetail]: The given key was not present in the dictionary. (Fault Detail is equal to An ExceptionDetail, likely created by IncludeExceptionDetailInFaults=true, whose value is:
System.Collections.Generic.KeyNotFoundException: The given key was not present in the dictionary.
   at System.ThrowHelper.ThrowKeyNotFoundException()
   at System.Collections.Generic.Dictionary`2.get_Item(TKey key)
   at Microsoft.EnterpriseManagement.Mom.DataAccess.QueryDefinitionCache.RetrieveManagedTypeViews(Dictionary`2 nameGeneratedQueryDefinition, ResultSet managedTypeResultSet, Dictionary`2 tableToResults)
   at Microsoft.EnterpriseManagement.Mom.DataAccess.QueryDefinitionCache.CreateGeneratedQueries(ResultSet managedTypeResultSet, ResultSet relationshipTypeResultSet, ResultSet managedTypeTableResultSet)
   at Microsoft.EnterpriseManagement.Mom.DataAccess.TypeSpaceCache.GetGeneratedQueryDefinition(String queryDefinitionName)
   at Microsoft.EnterpriseManagement.Mom.DataAccess.QueryDefinitionCache.GetQueryDefinition(String queryDefinitionName)
   at Microsoft.EnterpriseManagement.Mom.DataAccess.DatabaseC...).
   --- End of inner exception stack trace ---
   at Microsoft.EnterpriseManagement.DataAbstractionLayer.SdkDataAbstractionLayer.HandleIndigoExceptions(Exception ex)
   at Microsoft.EnterpriseManagement.DataAbstractionLayer.ConnectorFrameworkOperations.HandleConnectorIndigoExceptions(Exception ex)
   at Microsoft.EnterpriseManagement.DataAbstractionLayer.ConnectorFrameworkOperations.GetConnectorsByCriteria(String criteria, String languageCodes)
   at Microsoft.EnterpriseManagement.ConnectorFramework.ConnectorFrameworkAdministration.GetMonitoringConnectorsInternal(String criteria)
   at Microsoft.EnterpriseManagement.ConnectorFramework.ConnectorFrameworkAdministration.GetMonitoringConnectors()
   at Microsoft.EnterpriseManagement.Mom.UI.AlertView.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 component, EventHandler`1 job, Object sender, ConsoleJobEventArgs args)
System.ServiceModel.FaultException`1[System.ServiceModel.ExceptionDetail]: The given key was not present in the dictionary. (Fault Detail is equal to An ExceptionDetail, likely created by IncludeExceptionDetailInFaults=true, whose value is:
System.Collections.Generic.KeyNotFoundException: The given key was not present in the dictionary.
   at System.ThrowHelper.ThrowKeyNotFoundException()
   at System.Collections.Generic.Dictionary`2.get_Item(TKey key)
   at Microsoft.EnterpriseManagement.Mom.DataAccess.QueryDefinitionCache.RetrieveManagedTypeViews(Dictionary`2 nameGeneratedQueryDefinition, ResultSet managedTypeResultSet, Dictionary`2 tableToResults)
   at Microsoft.EnterpriseManagement.Mom.DataAccess.QueryDefinitionCache.CreateGeneratedQueries(ResultSet managedTypeResultSet, ResultSet relationshipTypeResultSet, ResultSet managedTypeTableResultSet)
   at Microsoft.EnterpriseManagement.Mom.DataAccess.TypeSpaceCache.GetGeneratedQueryDefinition(String queryDefinitionName)
   at Microsoft.EnterpriseManagement.Mom.DataAccess.QueryDefinitionCache.GetQueryDefinition(String queryDefinitionName)
   at Microsoft.EnterpriseManagement.Mom.DataAccess.DatabaseC...).

0
Comment
Question by:James-Sillett
1 Comment
 

Accepted Solution

by:
James-Sillett earned 0 total points
ID: 33718978
Result
I am pleased to say that I have been able to resolve this problem.
After three months of trying I have now successfully installed the management pack and thought I would share the results with you.
From first installing the management pack and having the console crash as soon as it was opened I had been restoring the database from a backup that I had taken before installing the management pack and carrying out experiments. This way I could make the database usable again. However the last time I installed management pack and it caused the console to crash, I removed the management pack by running the uninstall management pack stored procedure from within the database and passing the guid as a parameter. This successfully removed management pack, and I did not have to restore the database. To my surprise when I reinstalled management pack again without making any changes (so that I could get a screenshot of the error messages) I was somewhat amazed to find that the console no longer crashed. Clearly by running the uninstall store procedure removed from the database not only the management pack but corrected whatever the problem within the database that was causing the installation to fail. I'm happy to say that the Veeam management pack is now working perfectly and seem very good results. I share these findings in case anyone else has these problems.
0

Featured Post

Free Gift Card with Acronis Backup Purchase!

Backup any data in any location: local and remote systems, physical and virtual servers, private and public clouds, Macs and PCs, tablets and mobile devices, & more! For limited time only, buy any Acronis backup products and get a FREE Amazon/Best Buy gift card worth up to $200!

Join & Write a Comment

I have put this article together as i needed to get all the information that might be available already into one general document that could be referenced once without searching the Internet for the different pieces. I have had a few issues where…
Experts-Exchange users below are the steps you can follow to upgrade your Lync server to latest CU's or cumulative updates. Note: Perform it during non-production hours.   Step 1: Backup your lync and SQL server database. Follow below article: h…
It is a freely distributed piece of software for such tasks as photo retouching, image composition and image authoring. It works on many operating systems, in many languages.
This video explains how to create simple products associated to Magento configurable product and offers fast way of their generation with Store Manager for Magento tool.

758 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

20 Experts available now in Live!

Get 1:1 Help Now