ERROR

The code execution cannot proceed because VCRUNTIME140.dll was not found. Reinstalling the program may fix this problem

Last Published: September 23, 2021

Error Message

In some instances, when attempting to launch the ArcGIS Enterprise Patch Notification tool on an ArcGIS Server machine, the following error message is returned:

Error:
The code execution cannot proceed because VCRUNTIME140.dll was not found. Reinstalling the program may fix this problem.
The error message: The code execution cannot proceed because VCRUNTIME140.dll was not found. Reinstalling the program may fix this problem returned when launching the ArcGIS Enterprise Patch Notification tool

Cause

This error is returned when the vcruntime140.dll file is unavailable at either, or both of the following locations on the machine.

C:\Windows\System32
C:\Windows\sysWOW64

Solution or Workaround

Warning:   
The information below includes making changes to essential parts of the operating system. Esri recommends performing a backup of the operating system and files, including the registry, before proceeding.

Esri cannot guarantee results from incorrect modifications while following these instructions. Exercise caution. Consult a qualified computer systems professional if necessary.

vcruntime140.dll is one of the runtime libraries for Microsoft Visual Studio (Visual C++) to run programs developed in Microsoft Visual Studio. To resolve the error, download and install the required Microsoft Visual C++ redistributable packages following the operating system of the machine. This is to ensure the files are properly integrated into the system according to the correct bit operating system. Refer to Microsoft Support: The latest supported Visual C ++ downloads for information to select and download the file depending on the version of the machine's operating system.

Article ID:000025963

Software:
  • ArcGIS Server

Receive notifications and find solutions for new or common issues

Get summarized answers and video solutions from our new AI chatbot.

Download the Esri Support App

Related Information

Discover more on this topic

Get help from ArcGIS experts

Contact technical support

Download the Esri Support App

Go to download options