This document describes a common error that is seen at the time of installation or upgrade of Cisco Energy Management (CEM) and it is related to shared libraries. CEM uses shared libraries for certain components of the installation. For most of these components, the shared libraries are installed and checked at the time of the installation and upgrade. In some cases, when you upgrade or install CEM to version 5.2 on Windows 2008, Windows 2012 (R2) or others, Apache fails to start at the time and after the installation.
This error is displayed in the installation dialogue when you experience the issue:
After the installation is complete, when you try to start Apache manually, you receive an error that the api-ms-win-crt-runtime-l1-1-0.dll library is missing.
This error is displayed when you try to start Apache:
The root cause of the issue is related to the bundled Microsoft Visual C++ 2015 Redistributable which is a requirement for the version of Apache. As with the other prerequisites, this library comes with the CEM 5.2 installation. Unfortunately, on some Windows installations, the prerequisites for the Microsoft Visual C++ 2015 Redistributable itself are not present.
In the installation log of the Microsoft Visual C++ 2015 Redistributable component, you will find this error: