This section describes how to configure the OPC Server on Windows Vista and Windows XP Service Pack 2.
Note: After configuring your OPC Server, you need to restart the server so that your settings can take effect.
To configure the OPC Server:
Windows/System32
folder.You might have to Browse for other executables installed on the computer
to add them as exceptions. Please be aware that only .exe
files are added to the exceptions list. For
in-process OPC Servers and clients (DLLs and OCXs) you need to add
the .exe
applications that call
them to the list instead.
You need to now add TCP port 135 to initiate DCOM communications and allow incoming echo requests.
You have now defined your exceptions, so you can restart your firewall.
You are now ready to configure DCOM for your launch, activation, and access permissions.
The Component Services dialog will appear.
Property
|
Setting
|
---|---|
Enable Distributed COM on this computer |
selected |
Enable COM Internet Services on this computer |
not selected |
Default Distributed COM Communication Properties |
|
Default Authentication Level |
Connect |
Default Impersonation Level |
Identify |
Provide additional security for reference tracking |
not selected |
Click Apply to save your changes.
Note: For some OPC servers, setting the Default Authentication Level to "Connect" does not work. If this is the case, try setting this property to "None".
This is needed for OPCEnum.exe
to function correctly, and for any
OPC Servers and clients that set their DCOM authentication level to
None in order to allow anonymous connections. If you don't use
OPCEnum.exe
, you might not need to
enable remote access for anonymous users.
You need to then edit the launch and activation permissions.
In the Group or user names list, select Everyone then select every check box in the Allow column.
Finally, you're ready to edit the default permissions for Access and Launch for each user (or group) that participates in OPC communication (for example, "OPC Users").
You have now configured your OPC Server.
Note: You need to restart this machine so that your settings can take effect.
You are now ready to configure your OPC Client.