59
Appendix B DCOM configuration
By default, the OPC Server is installed and used as a local server, i.e. both the server and
the client run on the same computer. The server can also be run as a remote server on
another computer than the client. The remote server is accessed in the same way as the
local server (except that the computer where the server runs must be selected in the OPC
client; how this is done is client-specific), but some DCOM configuration must be
performed before accessing the remote server. The DCOM configuration must be done
on both the server and the client computer.
The server must be installed and registered on the server computer. It must also be
registered on the client computer unless the client uses the OPC Server Browser
(OPCENUM.EXE) provided by the OPC Foundation, or unless the client can browse the
registry on the server computer. The registration is done automatically during the
installation. Therefore it may be easiest to install the server also on the client computer, if
the client requires local registry entries for the server.
DCOM uses security settings to protect the client and server from unauthorized access.
The actual settings that are used depend on the security requirements, but the settings
below should work in most cases. The settings can be changed with the program
dcomcnfg. Administrator rights are required in order to use it.
You can launch the dcomcnfg program by choosing
Start
>
Run
. When prompted for the
name of a program, type “dcomcnfg“ and click OK, see Figure 4-8.
Figure 4-8: Launching the dcomcnfg
1MRS755221