Issue connecting different versions of OPC server | Miscellaneous | Forum

Avatar
Search
Forum Scope


Match



Forum Options



Minimum search word length is 3 characters - maximum search word length is 84 characters
Lost password?
sp_Feed sp_PrintTopic sp_TopicIcon
Issue connecting different versions of OPC server
Avatar
Johann Resl
New Member
Members
Forum Posts: 1
Member Since:
09/15/2015
sp_UserOfflineSmall Offline
1
04/12/2018 - 21:54
sp_Permalink sp_Print

Hi,

I have an issue connecting a client system to differnent versions of OPC servers.

Old OPC servers are Cognex and run on Windows XP.

Cognex was taken over by Ametek and the newer system runs on Win7.

Old WXP server was called Cognex.Softview.OPC.Server and the newer one in Win7 is called Ametek.Softview.OPC.Server but they use the same class ID and I think that's what confuses my client.

If I connect the Win7 server first, the XP clients can connect later.

If I connect XP server 1st, the Win7 server won't connect.

So if I need to reboot the Win7 server I need to disconnect all XP boxes to get all the connections back up running.

Wondering if I hack the registry and create different class ID for the 2 flavors if it would work or are there any other suggestions if above is not too confusing.

Thanks!

Avatar
Randy Armstrong
Admin
Forum Posts: 802
Member Since:
05/30/2017
sp_UserOfflineSmall Offline
2
04/13/2018 - 07:06
sp_Permalink sp_Print

Hacking the registry would break the ProgIDFromCLSID function.

The makers of the server really messed things up. 

What you might be able to do is create a second COM server on the XP machines with a different CLSID but references the same path to EXE. 

Forum Timezone: America/Phoenix
Most Users Ever Online: 202
Currently Online:
Guest(s) 17
Currently Browsing this Page:
1 Guest(s)
Top Posters:
Forum Stats:
Groups: 2
Forums: 9
Topics: 970
Posts: 3034