Retrieving the COM class factory for component with CLSID {DB797690-40E0-11D2-9BD5-0060082AE372} failed due to the following error: 80040154

191 Views Asked by At

While migrating .net application to 64 bit Windows 10 the above runtime error is occuring.I tried all the possible ways but still not working.Also the above mentioned key is not there in the clsid of registry. How to tackle it? enter image description here and when I tried to register the dll I got this dialog box.

1

There are 1 best solutions below

2
Think2826 On

Try registering the referenced com file in the registry.

ex)

  1. cmd
  2. regsvr32 c:\test\test.dll

If the file you are referencing is made of .net Find the 'RegAsm.exe' file and try to register.

ex2)

cd C:\test

RegAsm test.dll /unregister

RegAsm test.dll /codebase

or If your project has a 64-bit build, try building it with a 32-bit change.