Today I installed a new Office Online Server Farm based on two Windows 2012 R2 Servers.
The installation went smooth, but I experienced an unhealthy farm status. Checking the ULS logs I found the following error:
LoadLibrary failed with error 2 on D:\Program Files\Office Web Apps\OneNoteMerge\bin\ONSrvU.DLL
After a bit of investigation, I tried to run the OneNoteMerge.exe. This resulted in the following error:
The program can't start because MSVCR120.dll is missing from your computer. Try reinstalling the program to fix this problem.
Checking the c:\windows\system32\ folder I found the following file:
Following the Microsoft Deployment Guide for Office Online Server there are the following prerequisites:
- .NET Framework 4.5.2 (I wasn’t able to install it)
- Visual C++ Redistributable for Visual Studio 2015
I install the remaining two prerequisites, but wasn’t able to get rid of the errors.
I found the following article: Determining Which DLLs to Redistribute pointing out, that msvcr120.dll is a part of Visual Studio 2013.
So I went for the Visual C++ Redistributable Packages for Visual Studio 2013 package and downloaded both the x64 and x86 version and installed them. The msvcr120.dll comes with the x64 version.
This solved the error for me. I hope it works in your environment as well.