Why does my app works on my computer but not on others


im doing an app in c# windowns form that register the entries of the employees with a biometric device. I did a setup and send to my other computer to test if it would work on another device. Everything works fine except the functionalities that work directly with the biometric device(remembering that works perfectly fine on my computer). I already checked one by one every dll, and didnt noticed nothing missing.

The error is the following :

System.Runtime.InteropServices.COMException (0x80040154): Retrieving the COM class factory for component with CLSID {00853A19-BD51-419B-9269-2DABE57EB61F} failed due to the following error: 80040154 Class not registered (Exception from HRESULT: 0x80040154 (REGDB_E_CLASSNOTREG)).

Print of the error : https://i.stack.imgur.com/x5vk2.png

asked on Stack Overflow Aug 6, 2020 by Rubs Bieira

1 Answer


This looks, you have the COM DLLs registered in your computer but not on the other computer. So naturally it would fail without making any change in the actual software you developed. SDK package usually has register.bat or something similar to that. Find it and run the batch file, then your software would work.

answered on Stack Overflow Aug 10, 2020 by Ramshri

User contributions licensed under CC BY-SA 3.0