PROBLEM

LoadLibrary fails to load with error 126 or error 87 when working remotely over RDP

Last Published: May 3, 2024

Description

When working remotely to access ArcGIS Software, users rely on RDP (Remote Desktop Protocol) connections to use ArcGIS Desktop applications.
In some cases, the following errors may be encountered when launching ArcMap, ArcGIS Pro or other ArcGIS software:

Error:
LoadLibrary failed with error 126: The specified module could not be found.
or,
Error:
LoadLibrary failed with error 87: The parameter is incorrect.
 
Image of the error message

Cause

When using RDP to connect to a remote machine, the error could be related to the RDP session itself. However, what may be occurring is a conflict between the video card specified by the RDP connection, and the one used by ArcMap on the remote machine. RDP is connecting by default to a built-in Intel video card, and not the video card used by ArcMap.

Solution or Workaround

The solution is to disable the Intel video card, and restart the RDP session, forcing it to use the video card on the computer used by ArcGIS.

Article ID: 000023067

Software:
  • ArcGIS Desktop 1

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