HELP - Remote OPC Client

glenglen

Member
Join Date
May 2003
Posts
24
I did following steps in DCOM settings:
OPC Server node (Win XP Pro)
-in DCOMCNFG,
-checked "Enable Distributed COM on this computer"
-set "Default Authentication Level" to "None"
-set "Default Impersonation Level" to "Identify"
-in general tab, set "Authenatication Level" to "None"
-in location tab, checked "Run application on this computer" and unchecked others
-in security tab, customized "access permissions" options, added in group "Everyone" with allow to access
-in security tab, customized "launch permissions" options, added in group "Everone" with allow to access
in identity tab, checked "the launching user"

OPC Client node (Win XP Pro)
-created registry settings (get from reg file from OPC server)
-in DCOMCNFG,
-checked "Enable Distributed COM on this computer"
-set "Default Authentication Level" to "None"
-set "Default Impersonation Level" to "Identify"
-in location tab, checked "run application on the following computer" with computer's name of OPC server and unchecked others.

With all these settings, i able to launch OPC server when i clicked "Connect to OPC Server" in my opc client but unable to connect to opc server.
i have error message "CoCreateInstannceEx - failed for node: 123.123.123.1 ProgID:CIMPLICITY.HMI.OPCServer (80070005)"

Scenario:
i have OPC Server (XP home) installed in one node and another OPC Client (XP Pro) installed in another node. i'd like to connect to OPC Server from OPC Client remotely. how do i make it? i read the documentation GFK-1675, but its example is in NT environment. i'm using winXP and it is a lot different from NT.

any one can help me on this? what's the problem? or do i miss anythings above? thank you very much.
 
[font=Arial,Helvetica,Geneva,Sans-serif][size=-1]The critical action here is to add Anonymous Logon for both Access and Launch Permissions or opcenum.exe will not work and your OPC client will not be able to browse for remote OPC servers on the affected machine. [/size][/font]
[font=Arial,Helvetica,Geneva,Sans-serif][size=-1]The reason for this is that OPCEnum.exe (which is an OPC Foundation supplied application), is written to initialize security to allow Anonymous connections - it does not look for specific users. [/size][/font]
[font=Arial,Helvetica,Geneva,Sans-serif][size=-1]Both Access and Launch Permissions must be set to allow everything. Subsets of Everyone can be used but must not be more restrictive than the settings set found under the Edit Default buttons for both Access and Launch Permissions or they will override them.

From: http://www.softwaretoolbox.com/xpsp2/html/dcomlimits.html[/size][/font]​
 

Similar Topics

I have been searching for help on this subject, below are my details. I Have a Teamviewer connection to a locations PC, running FTViewSE Local...
Replies
11
Views
2,107
Hello, can anyone point me in the right direction, i cannot figure out how to write the ladder for remote clearing Cscape Alarm history, if...
Replies
2
Views
1,836
I will like to see if you guys can help me figured out, how I can connect to a network of CLX PLC's remotely. I know it can be done because there...
Replies
4
Views
2,776
Hello all. A client will be using a Danfoss FC302 VLT. It is to be normally controlled over Ethernet/IP. However, in case communications or the...
Replies
4
Views
2,289
Hi Everyone Have a really old line with a PLC5/30 and a lot of remote IO. Had a 1791-OA32 (32 point output module) module fail and all I have in...
Replies
3
Views
3,075
Back
Top Bottom