LoadLibrary Failed with Error 126 on Remote Desktop Connection

March 20, 2020 Ryan Wunderlich

Issue:

Using Remote Desktop Connection(RDC) to connect to a remote machine give you LoadLibrary Error 126 (there can be other LoadLibrary Error codes for other AutoCAD vertical products, 126 is common for AutoCAD, 86 & 87 are common for Civil 3D, etc.)


Causes:
This is caused by the graphics engine on the local machine not being capable of handling the RDC connection to the machine with AutoCAD


Solution:
As we navigate new waters around here, I have run across this issue and want to inform you on the reason and provide a better answer than the Autodesk KB:https://www.autodesk.com/support/technical/article/caas/sfdcarticles/sfdcarticles/LoadLibrary-failed-with-error-126-when-starting-an-Autodesk-product.html

Here’s the actual issue, if a customer is trying to Remote Desktop Connection (RDC) from their home PC into their work PC, and an AutoCAD based product shows this, it may not be the ATI component. It’s how RDC works is it uses the host PC (user’s home PC) graphics engine to display what is on the remote PC. If they update the graphics drivers and still get that error, then they will need to investigate other options, since we cannot re-tune RDC or bypass it.

So, they will need to look at other screen sharing programs and cannot use RDC to accomplish their task. (like ConnectWise, LogMeIn Pro, Team Viewer, etc.) This generally only affects AutoCAD based programs.

You can investigate these options:
https://www.techradar.com/news/best-remote-desktop-software

About the Author

Ryan Wunderlich

Support Team Manager - AEC Team<br><br>An AutoCAD Certified Professional, Ryan is responsible for taking client cases and assisting with issues with the software - everything from regular glitches to software deployments and whatever else goes wrong. He's proficient in AutoCAD (including customization), VBA, LISP, and Civil 3D.

Follow on Linkedin More Content by Ryan Wunderlich
Previous Article
LIVE Online Virtual Classroom - A Complete Online Learning Platform
LIVE Online Virtual Classroom - A Complete Online Learning Platform

LIVE Online learning is like being in the classroom, just without the classroom. Online training offers the...

Next Article
How to Move a Deployment to a Different Server or Folder
How to Move a Deployment to a Different Server or Folder

Learn to move a deployment to a different server or folder

×

Get Tips Delivered.

Subscribe to Email Updates.

First Name
Last Name
Country
Thank you!
Error - something went wrong!