Continue in the app
Be The First To Get Support Updates
Want to know about the latest technical content and software updates?

Problem: ArcGIS 10.4 applications return a "Runtime Error R6034"


Certain ArcGIS 10.4 applications show a Runtime Error R6034 message. This error may come from ArcCatalog.exe, ArcReader.exe, DesktopIndexingService.exe, or other ArcGIS executables. It occurs most frequently when opening the Search window in ArcCatalog or when DesktopIndexingService begins to index folders in the background. The full message appears as follows:

 "Microsoft Visual C++ Runtime Library"

Runtime Error!
Program: C...
An application has made an attempt to load the C runtime library incorrectly.
Please contact the application's support team for more information.
After clicking OK to dismiss the error message, the application typically continues to run and function normally without crashing. In the case of add-ins and extensions for Desktop, the process may crash if the customization has a dependency on Microsoft C Runtime Library version 9.


This error message occurs when the application encounters duplicate copies of the Microsoft C Runtime Library version 9, msvcr90.dll. The duplicate copy is typically exposed to the application when a folder with a copy of msvcr90.dll exists in the PATH environment variable. ArcMap, ArcScene, and ArcGlobe contain a special handling mechanism that prevents this error.
In ArcCatalog, ArcReader, ArcGISIndexingService, and other ArcGIS executables, the conflict is most commonly triggered the first time the Python subsystem is loaded. Opening the Search window, viewing maps or layers with Python labeling expressions, opening the Python window, and working with geoprocessing tools can all cause Python to load. The error can also be triggered by any ArcCatalog add-in, or extension, that relies on msvcr90.dll. Internet Explorer, which is used by browser controls in ArcGIS applications, may also introduce the conflict via the Internet Explorer add-ons mechanism.

The msvcr90.dll C runtime library is installed and used by many third-party programs. If their install and configuration adds the program’s folder to the PATH environment variable, the machine can trigger this issue in ArcGIS. Cases reported to Esri show that this configuration is sometimes seen with two widely used software packages: LANDesk (C:\Program Files (x86)\LANDesk\Shared Files) and the Intel Management Engine’s iCLS component (C:\Program Files (x86)\Intel\iCLS Client\).

Solution or Workaround

Esri does not recommend workarounds that involve modifying the PATH environment variable or deleting msvcr90.dll from folders listed in the PATH, as doing either can negatively impact any application reliant on the DLL. If the application referenced in the PATH environment variable is non-essential, uninstalling it may provide a safe workaround for the issue. Removing unnecessary items from Internet Explorer’s list of add-ons may also help.

A general patch for version 10.4 and 10.4.1 has been released to address this issue in the ArcGIS Desktop applications and ArcReader.

ArcGIS Engine developers encountering the R6034 Error in their own applications must make specific modifications when updating them to Engine Runtime version 10.4 or later. The steps are outlined in the following Technical Article: Error: R6034 Runtime Error! An application has made an attemp to load the C runtime library incorrectly

Related Information


Last Published: 7/27/2016

Article ID: 000013080

Software: ArcMap 10.4.1, 10.4