Skip to content

Exception: CoCreateInstanceEx: Class not registered #64

@avnet78

Description

@avnet78

I am getting CoCreateInstanceEx: Class not registered Exception. Here's how I am trying to initialize the opc server:

Please advise.

var opcServerName = "FactoryTalk Gateway";
var opcServerIP = "192.168.200.7";

Uri url = UrlBuilder.Build(opcServerName, opcServerIP);

using (var server = new OpcDaServer(url))
{
  // read opc tags
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions