June 23, 2016 - Sven Huisman
VMware AirWatch and the .NET Framework mystery
I recently had to reinstall the AirWatch Cloud Connector (ACC) at a customer. The ACC was installed on the AirWatch Console server (on-premises installation). The reason that I needed to reinstall the ACC was because of the need for additional services that needed to use the ACC and were disabled. You can’t just enable the services, you also have to reinstall the ACC after enabling services.
So first step is to enable the required services:
After removing the ACC from the server I started the Cloud Connector installer. The first thing the installer checks is if .NET Framework 4.5.2 is installed. If it’s not, it will download it and install it:
- Installing .NET Framework 4.5.2:
- And then the installation failed:
The reason that the installation failed was the fact that .NET Framework 4.6.1 was installed on the server (as a Windows update installed through WSUS). When .NET Framework 4.6.1 is already installed, .NET Framework 4.5.2 obviously cannot be installed anymore.
To be able to (re)install the ACC, remove the .NET Framework update from the server:
- Remove “Update for Microsoft Windows (KB3102467)
Reboot the server and now you can install the ACC, because the installer will detect the .NET Framework 4.5.2 installation.
However, after removing the .NET Framework 4.6.1 update I noticed that the Console interface (which is installed on the same server) didn’t work anymore. After launching a browser and typing the URL of the Console, the following error showed up: Server Error in ‘/AirWatch’ Application. Method not found:…
The only way I found to fix this is to reinstall the .NET Framework 4.6.1 update (NDP461-KB3102436-x86-x64-AllOS-ENU.exe). After reinstalling the Console worked as expected.
Please note that the ACC auto-update feature will not function correctly when .NET Framework 4.6.1 is installed. The ACC server installer requires .NET Framework 4.5.2. So for a next upgrade, you have to do the same trick.
My advice: make sure .NET Framework 4.6(.1) is not installed on any AirWatch server!