The issue is a Windows Server problem. A Google search for ‘mfc140.dll’ will show Microsoft solutions that should enable a resolution to this problem. Per a Microsoft reference:
"The mfc140.dll files were omitted from the redistributable files directory in Visual Studio 2015 RTM. You can use the versions installed by Visual Studio 2015 in the Windows\system32 and Windows\syswow64 directories instead."
Most likely, customers will need the package for x86, because the BMC Defender SIEM Correlation Server requires 32 bit architecture.
Visual Studio 2015, 2017 and 2019
Download the Microsoft Visual C++ Redistributable for Visual Studio 2015, 2017 and 2019.
Note: Visual C++ 2015, 2017 and 2019 all share the same redistributable files. For example, installing the Visual C++ 2019 redistributable will affect programs built with Visual C++ 2015 and 2017 also. However, installing the Visual C++ 2015 redistributable will not replace the newer versions of the files installed by the Visual C++ 2017 and 2019 redistributables. This is different from all previous Visual C++ versions, as they each had their own distinct runtime files, not shared with other versions.
AT BMC, on our Windows 2016 Server, below is where we updated this .dll - it is in:
Windows\system32
A patch from Microsoft should have placed the .dll in the correct directories.
Here are instructions from Microsoft:
Method 1: Download Mfc140.dll
Search through available download versions of mfc140.dll, select the correct file and download it.
How to choose the correct version of Mfc140.dll?
First, look through descriptions in the table above and select the proper file for your program. Pay attention to whether it’s a 64-, or 32-bit file, as well as the language it uses. As mentioned above, the BMC Defender SIEM Correlation Server requires 32 bit architecture. It’s best to choose those dll files which language corresponds to the language of your program, if possible. We also recommend downloading the latest versions of dll files for an up-to-date functionality.
Where to place the Mfc140.dll file?
To repair the “mfc140.dll is missing” error, put the file inside the application installation folder. Alternatively, you can place the mfc140.dll file within the Windows system directory: C:\Windows\System32.
How to register Mfc140.dll?
If putting the missing mfc140.dll file into the proper directory doesn’t solve the problem, you’ll have to register it. To do so, copy your DLL file to the C:\Windows\System32 folder, and open a command prompt with admin rights. There, type “regsvr32 mfc140.dll” and press Enter."