asp net core 3.0 doesnt acess DLL


I received a dll generated in vb6 to integrate with my Core api, in that dll to various calculation methods.

With that, I must invoke these dll methods in my core 3.0 project in visual studio.

It is possible to import the dll into my core project normally, and even invoke the methods. When starting my project everything works normally, until the moment of informing the requested parameters so that the method inside the dll is invoked

In the line where my asp.Net core project instantiates my DLL, the following error is shown shows the following error

System.Runtime.InteropServices.COMException: 'Retrieving the COM class factory for component with CLSID {C0131351-6182-46C9-87E0-A509400E50AD} failed due to the following error: 80040154 Classe não registrada (0x80040154 (REGDB_E_CLASSNOTREG)).

Inside csproj, my dll is referenced as follows in xml

    <COMReference Include="CSGlobal.dll">
asked on Stack Overflow Dec 12, 2019 by Fabricius Santos • edited Dec 13, 2019 by Fabricius Santos

0 Answers

Nobody has answered this question yet.

User contributions licensed under CC BY-SA 3.0