Problem: LoadLibrary fails to load with error 126 or error 87 when working remotely over RDP
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.
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.
- Error: LoadLibrary Error 126 when launching ArcMap
- Error: LoadLibrary failed with error 87: The parameter is incorrect
- Error: LoadLibrary failed with error 87
- Problem: Unable to start CityEngine via remote desktop connection because of OpenGL error