LoadLibrary Failed with Error 126 on Remote Desktop Connection


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.)

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

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:

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:

About the Author

Ryan Wunderlich

Sr. Technical Support Specialist<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
How to Hardcode the IMAGINiT Reprise License Manager Dynamic Port
How to Hardcode the IMAGINiT Reprise License Manager Dynamic Port

Learn how to gardcode the IMAGINiT Reprise License Manager dynamic port

Next PDF
Assess and Advise
Assess and Advise

Review how your company uses its CAD or BIM software in a typical project environment. Ensure you have the ...