LKBEN10704: RegSvr32 delivers an error: LoadLibrary("name of a com object") failed - The specified module could not be found
LKB | Created: 02/04/2020 | Version: 0 | Language: EN | Rating: 0 | Outdated: False | Marked for deletion: False
Author: Wim Peeters - Keskon GmbH & Co. KG
Symptom
You need to register an ActiveX or a com Object and you get an error message about a module which cannot be found
Cause
This can be caused when regsvr32 has to register a dll or exe component and some of its dependencies cannot be resolved.
Solution
Did you move the object in the filesystem or from another PC? First you should check if the COM object is right. Check that the name supplied to regsvr32 is correctly written. Check both the name and place in the filesystem. You can check the dependencies (dll, exe, com, ...) with programs like dependency walker. You might be able to solve this problem by changing your path so all the dependencies can be resolved. If you are moving it from one PC to another, you might find the dependent files on the old PC and need to copy these too.
About the Author
Wim Peeters is electronics engineer with an additional master in IT and over 30 years of experience including time spent in support, development, consulting, training and database administration. Wim has worked with SQL Server since version 6.5. He has developed in C/C++, Java and C# on Windows and Linux in different European countries and different European languages. He writes knowledge base articles to solve IT problems and publishes them on the Lubby Knowledge Platform where he is one of the most important contributors and the main developer.