The "Index was outside the bounds of the array" error while opening nworks UI

KB ID: 1308
Product: Veeam Management Pack for Microsoft System Center
Version: 5.x
Published: 2011-10-20
Last Modified: 2020-08-28
Get weekly article updates
By subscribing, you are agreeing to have your personal information managed in accordance with the terms of Veeam's Privacy Notice.

Cheers for trusting us with the spot in your mailbox!

Now you’re less likely to miss what’s been brewing in our knowledge base with this weekly digest

error icon

Oops! Something went wrong.

Please try again later.

Challenge

You may see the following error while opening nworks UI:

"Index was outside the bounds of the array"

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.

Click here to send feedback regarding this KB, or suggest content for a new KB.
To report a typo on this page, highlight the typo with your mouse and press CTRL + Enter.

Spelling error in text

This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.
Thank you!

Thank you!

Your feedback has been received and will be reviewed.

Oops! Something went wrong.

Please try again later.

KB Feedback/Suggestion

This form is only for KB Feedback/Suggestions, if you need help with the software open a support case

By submitting, you are agreeing to have your personal information managed in accordance with the terms of Veeam's Privacy Notice.
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.
Verify your email to continue your product download
We've sent a verification code to:
  • Incorrect verification code. Please try again.
An email with a verification code was just sent to
Didn't receive the code? Click to resend in sec
Didn't receive the code? Click to resend
Thank you!

Thank you!

Your feedback has been received and will be reviewed.

error icon

Oops! Something went wrong.

Please try again later.