After installing Palo Alto’s Global Protect client, I received the error message “PanGPA.exe – The code execution cannot proceed because MSVCR120.dll was not found“.
As soon as I clicked OK I got similar notifications about mfc120u.dll and MSVCP120.dll
I needed the GlobalProtect client because it provides a secure VPN connection to my work environment. This allows me to access the same resources at home as at work.
In this blog, I will cover the cause and solution of the MSVCR120.dll problem in PanGPA.exe
Cause of PanGPA.exe – System Error
MSVCR120.dll is part of the software package Visual C ++ Redistributable Packages for Visual Studio 2013. GlobalProtect uses this support software.
Visual C ++ may not be installed during the installation of the GlobalProtect client. You may also have uninstalled the software yourself, without knowing that Palo Alto GlobalProtect relied on Visual C ++ 2013.
Solution for The code execution cannot proceed because MSVCR120.dll was not found
You can fix The code execution cannot proceed because MSVCR120.dll was not found by installing the Visual C++ Redistributable Packages for Visual Studio 2013
This is not only the solution for PanGPA.exe – System Error, but in principle for all software that gives an error on MSVCR120.dll. You can choose x86 and x64 when downloading. At GlobalProtect you need to install the x64 version. This may be different for other applications. But if you are unsure you can install both versions. It will not cause any problems.
More info about MSVCR dll, MSVCP dll and versions
By the way, it is also good to know that the number in the dll name indicates a specific version of the Visual C ++. Below you will find an overview of all versions and the accompanying Visual C ++ software.
MSVCR110.dll – needs Visual C++ Redistributable for Visual Studio 2012 Update 4
MSVCR120.dll – needs Visual C++ Redistributable Packages for Visual Studio 2013
MSVCR130.dll – needs Visual C++ Redistributable for Visual Studio 2015
MSVCR140.dll – needs x86 for Visual C++ 2015/2017/2019 or x64 for Visual C++ 2015/2017/2019
Note that the number in the DLL filename does not correspond 1 on 1 to the version. I.e. in the past I had an MSVCR110 error with WAMP. It stated MSVCR110.dll was missing, but to fix I needed Visual Studio 2012 C++ files.