Office Online Server – MSVCR120.dll missing

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.

What now?

Checking the c:\windows\system32\ folder I found the following file:

msvcr120_clr0400.dll

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
  • Microsoft.IdentityModel.Extention.dll

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.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.