-2

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.

  • *"I tried all the possible ways"* - and which ones are these? – T.S. Jun 29 '21 at 15:52
  • I mean, you can try to find in the registry, to which component this class id is belonging – T.S. Jun 29 '21 at 15:53
  • If it's not in the registry, then presumably a required registration step has not been completed. – Craig Jun 29 '21 at 18:32
  • How to register the Clsid in the registry? As I checked in the registry this file is not available HKEY_CLASSES_ROOT\CLSID\{DB797690-40E0-11D2-9BD5-0060082AE372}.. Kindly let me know how to register it. – Priyadarshini Sivakumar Jun 30 '21 at 05:40

1 Answers1

0

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.

Think2826
  • 201
  • 1
  • 7