https://login.veeam.com/en/oauth?client_id=nXojRrypJ8&redirect_uri=https%3A%2F%2Fwww.veeam.com%2Fservices%2Fauthentication%2Fredirect_url&response_type=code&scope=profile&state=eyJmaW5hbFJlZGlyZWN0TG9jYXRpb24iOiJodHRwczovL3d3dy52ZWVhbS5jb20va2IxMzA5IiwiaGFzaCI6IjA4YzFkNzkyLWFlODQtNDVhZi04MTM1LWY1YzU3ODQ2MDlmNiJ9
1-800-691-1991 | 9am - 8pm ET
EN

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

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.

KB ID:
1309
Product:
Veeam Management Pack for Microsoft System Center
Version:
5.x
Published:
2011-10-20
Last Modified:
2020-08-28
Please rate how helpful this article was to you:
5 out of 5 based on 1 ratings
Thank you for helping us improve!
An error occurred during voting. Please try again later.

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

Knowledge base content request
By submitting, you agree that your personal data will be managed by Veeam in accordance with the Privacy Policy.

ty icon

Thank you!

We have received your request and our team will reach out to you shortly.

OK

error icon

Oops! Something went wrong.

Please go back try again later.