[RHEV] RHEV-M upgrade installer crashes with .NET 4 installed
Environment
- Windows Server 2008 R2 (64-bit)
- .NET 4 runtime
- RHEV-M installer builds 51796 and 52920
Issue
- "I was trying to install and the installer crashed, when I restarted the installer, I chose to repair[1] hoping it would finish the installation. It proceeded to remove RHEV-M."
- With .NET 4 installed on Windows 2008 R2, the upgrade of RHEV-M from 2.2.2 (build 47069) to 2.2.4 (build 51796) crashed on a .NET .dll file with this error message:
Description: Stopped working Problem signature: Problem Event Name: APPCRASH Application Name: RHEVM_51796.exe Application Version: 4.5.4.51796 Application Timestamp: 4a30034b Fault Module Name: mscorwks.dll Fault Module Version: 2.0.50727.4952 Fault Module Timestamp: 4bebd49a Exception Code: c0000005 Exception Offset: 0004eb4a OS Version: 6.1.7600.2.0.0.272.7 Locale ID: 1033 Read our privacy statement online: http://go.microsoft.com/fwlink/?linkid=104288&clcid=0x0409 If the online privacy statement is not available, please read our privacy statement offline: C:\Windows\system32\en-US\erofflps.txt
- The crash appears in Windows like the following screenshot:

Resolution
** Please note: If the installer crashes during an upgrade of RHEV-M, please contact a Red Hat Support Technician immediately! In many cases, the fix will be to uninstall and reinstall RHEV-M by following Scenario III, Step 7 in this kbase article: RHEV: How to restore RHEV-M after a crash
If you have found this kbase article prior to upgrading RHEV-M and you have .NET 4 installed, please do the following:
-
Remove .NET 4 (RHEV: How do I remove .Net4 from my RHEV-M 2.2 machine?)
-
Reboot Windows
- Install .NET 3.5.1 (refer Admin Guide)
Root Cause
RHEV-M officially supports .NET 3.5.1 only and was never tested to work with higher versions. Future RHEV-M installers, starting with 2.2.9, will check for the presence of .NET 4 and will instruct the user accordingly.
[1] Please do not use Repair or Modify options on RHEV-M installer as per RHEV-M: What do "Modify" or "Repair" options do on RHEV-M Installer?.
This solution is part of Red Hat’s fast-track publication program, providing a huge library of solutions that Red Hat engineers have created while supporting our customers. To give you the knowledge you need the instant it becomes available, these articles may be presented in a raw and unedited form.
Comments