1. Home
  2. Diamonds
  3. Errors
  4. Start up
  5. Error: Invalid class at System.Management.ManagementException.ThrowWithExtendedInfo(…)
  1. Home
  2. Diamonds
  3. Errors
  4. Calculation
  5. Error: Invalid class at System.Management.ManagementException.ThrowWithExtendedInfo(…)

Error: Invalid class at System.Management.ManagementException.ThrowWithExtendedInfo(…)

When you try to run an elastic analysis , you get the following error.

This error appears reagardless the project you’re trying to calculate.

Cause

This message is caused by a problem with WMI (Windows Management Instrumentation). Each time you hit calculate  or close Diamonds, Diamonds will verify (via WMI) if there are any other instances of Diamonds or the calculation core ( = BuildsoftServer.exe in Task Manager) open. The Diamonds error indicates something is wrong with WMI.

To test if something is wrong with WMI, you can try the following:

  • Start > Run > enter wmimgmt.msc and it OK
  • With the right mouse button, click on WMI Control (Local) and select Properties.
  • A new dialog appears. If there is a problem, that dialog should say something in the trend of “Win32_Processor : WMI : classe non valide”

Since WMI is a Windows component, it’s hard for us to know what causes WMI to get corrupt. Our best guess is a Windows update.

Solution 1

Try if there are any new Windows updates and execute them.

Solution 2

Try to do a system restore.

Solution 3 (semi solution)

  1. Open Task Manager and go to the tab page Details.
  2. End ALL Diamonds.exe and BuildsoftServer.exe – instances (if they appear in the list).
  3. Go to My Documents > Diamonds > {version you’re using}
  4. Open the file Diamonds.ini with Notepad.
  5. Search (CTRL + F) for[TGENERALPREFERENCES_PREF].
    If you cannot find it, go to the end of the document (CTRL + END) and paste [TGENERALPREFERENCES_PREF] in it.
  6. Below [TGENERALPREFERENCES_PREF] paste RESTARTCALCCORE=0.
  7. Close Diamonds.ini and save the changes.
  8. Restart Diamonds and try to calculate.
  9. Make sure to save your model before you try to close Diamonds. When you try to close Diamonds, you’ll still get an error and you’ll probably need the Task Manager to close Diamonds. Make sure to close the calculation core (BuildsoftServer.exe) as well (see step 1 & 2)! For that reason it’s a semi-solution.

Was this article helpful?

Related Articles

Need Support?
Can't find the answer you're looking for? Don't worry we're here to help!
CONTACT SUPPORT