0

I am trying to connect custom RTD client, written in C# with 3rd party RTD server.

Type rtd;
Object rtdServer = null;
rtd = Type.GetTypeFromProgID("ProgId","WS001");
rtdServer = Activator.CreateInstance(rtd);

where WS001 is my machine name, and ProgId is name for RTD server. I got this error,

Error: System.Runtime.InteropServices.COMException (0x800706BA): Retrieving the COM class factory for remote component with CLSID {xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx} from machine "WS001" failed due to the following error: 800706ba "WS001".`

I am using windows 7 64 bit os.

marc_s
  • 732,580
  • 175
  • 1,330
  • 1,459
Max
  • 1,528
  • 21
  • 33

1 Answers1

0

If WS001 is your local machine name, then try the other overload, which doesn not take the machine name:

rtd = Type.GetTypeFromProgID("ProgId");
Marko
  • 20,385
  • 13
  • 48
  • 64