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=eyJmaW5hbFJlZGlyZWN0TG9jYXRpb24iOiJodHRwczovL3d3dy52ZWVhbS5jb20va2IxMzA3IiwiaGFzaCI6ImU5YWJiZGE1LWI4NTUtNDUwMi05MDQyLWRmNjIxYTE0MTgyYyJ9
1-800-691-1991 | 9am - 8pm ET
EN

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

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.

KB ID:
1307
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.
Your report was sent to the responsible team. Our representative will contact you by email you provided.
We're working on it please try again later