The following procedure describe how to configure the OPC server application for anonymous connections:
Launch DCOMCONFG (see Appendix A, Launching DCOMCNFG).
Find the OPC Server application, and go to its properties.
Windows 2000: select from the list in the Applications tab.
Windows XP: Expand My Computer, then DCOM Config. OpcEnum is located under DCOM Config.
General tab: Set the “Authentication level” to None.
Security tab: Do the following:
Choose “Use custom access permissions” and make sure the following users are in the list with all permissions allowed:
ANONYMOUS LOGON (if possible)
Everyone
INTERACTIVE
NETWORK
SYSTEM
Choose “Use custom launch permissions,” and make sure that the same users are in the list as for access permissions (as above).
Indentity tab: Select the following:
“The System Account,” if possible.
If the client and server are on the same domain, select the “The interactive user.”
Otherwise, select “This user,” and enter the credentials of a user valid on the OPC server host.