"Object reference not set to an instance of an object" error while opening nworks UI

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

Challenge

While opening nworks UI, you see the following error:

"Object reference not set to an instance of an object"

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 recreated. 

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: 
5 out of 5 based on 1 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