I'm trying to register a COM DLL file on Windows Server 2008 R2. Here are the steps I took:
- Run
cmdas administrator c:\windows\system32\regsvr32.exe c:\tempdl\temp12.dll
When I execute that command I get this error:
The module
temp12.dllfailed to load. Make sure the binary is stored at the specified path or debut it to check for problems with the binary or dependent.DLLfiles. The specified module could not be found.
I was able to register the same DLL file on Windows 2000.
I also tried
c:\windows\syswow64\regsvr32 "c:\tempdl\temp12.dll"
And I got this error:
the module
c:\tempdl\temp12.dllwas loaded but the call toDllRegisterServerfailed with error code0x80040154. For more information about this problem, search online using the error code as the search term