"The given key was not present in the dictionary" error while opening nworks UI

KB ID:
1309
Product:
Veeam Management Pack for Microsoft System Center;Veeam Smart Plug-in (SPI) for VMware
Version:
5.x
Published:
Last Modified:
2011-11-29

Challenge

When opening nworks UI, the following error occurs:

"The given key was not present in the dictionary"

Cause

The maindb.xml file is corrupted for some reason.

Solution

It is necessary to remove the "maindb.xml" file in the following way:

  1. Locate and backup file "C:\Documents and Settings\All Users\Application Data\nworks\Management Center\maindb.xml" (for Win 2008 the location is "C:\ProgramData\nworks\Management Center”)
  2. Stop nworks Enterprise Manager (Management Center) service
  3. Delete file "C:\Documents and Settings\All Users\Application Data\nworks\Management Center\maindb.xml" (for Win 2008 the location is "C:\ProgramData\nworks\Management Center”)
  4. Start nworks Enterprise Manager (Management Center) service

 Once the service is started again, "maindb.xml" will be re-created.

NOTE: Removing maindb.xml file removes all the vCenter connection configuration, each VEM server advanced property customization and VEM server ESX cluster assignments.

Rate the quality of this KB article: 
2 out of 5 based on 15 ratings

Couldn't find what you were looking for?

Below you can submit an idea for a new knowledge base article.

Report a typo on this page:

Please select a spelling error or a typo on this page with your mouse and press CTRL + Enter to report this mistake to us. Thank you!

Spelling error in text:

Submit