Instantiating third party library throws System.Runtime.InteropServices.COMException:

-1

Yesterday my collegue gave me a TLB-file with our GRAccess Toolkit. I've added it as a reference but when I'm instantiating it it throws the COMExeption error.

using aaGRAccess;

This, the first time I'm using the library t throws the following exception;

System.Runtime.InteropServices.COMException: 'Retrieving the COM class factory for component with CLSID {949654D1-B9C0-468F-B43D-33431004297A} failed due to the following error: 80040154 Class not registered (Exception from HRESULT: 0x80040154 (REGDB_E_CLASSNOTREG)).'

Now there's solutions on Google but none of them did it for me. What I've tried is to set the platform target to x86 and put "Enable 32-Bit Applications" to True but both without solving my problem.

Any suggestions how to solve this?

c#
asked on Stack Overflow Sep 26, 2019 by IDR • edited Sep 26, 2019 by Prashant Pimpale

0 Answers

Nobody has answered this question yet.


User contributions licensed under CC BY-SA 3.0