Class not registered Error

前端 未结 10 1886
伪装坚强ぢ
伪装坚强ぢ 2020-12-05 14:32

Running an application from Visual Studio 2012 on 64-bit computers, displays the following error message:

Retrieving the COM class factory for compon

相关标签:
10条回答
  • 2020-12-05 15:15

    I had the same problem. I tried lot of ways but at last solution was simple. Solution: Open IIS, In Application Pools, right click on the .net framework that is being used. Go to settings and change 'Enable 32-Bit Applications' to 'True'.

    0 讨论(0)
  • 2020-12-05 15:15

    I had this problem and I solved it when I understood that it was looking for the Windows Registry specified in the brackets.

    Since the error was happening only in one computer, what I had to do was export the registry from the computer that it was working and install it on the computer that was missing it.

    0 讨论(0)
  • 2020-12-05 15:20

    For me, I had to install Microsoft Access Database Engine 2010 Redistributable and restart my computer.

    0 讨论(0)
  • 2020-12-05 15:21

    In 64 bit windows machines the COM components need to register itself in HKEY_CLASSES_ROOT\CLSID (64 bit component) OR HKEY_CLASSES_ROOT\Wow6432Node\CLSID (32 bit component) . If your application is a 32 bit application running on 64-bit machine the COM library would typically look for the GUID under Wow64 node and if your application is a 64 bit application, the COM library would try to load from HKEY_CLASSES_ROOT\CLSID. Make sure you are targeting the correct platform and ensure you have installed the correct version of library(32/64 bit).

    0 讨论(0)
提交回复
热议问题