
|
| How to configure firewall and COM security on Windows XP Service Pack2 |
|
Forward |
If you install Service Pack 2 to Windows XP, "Windows Firewall" becomes effective.
It is impossible that you do the browsing of OPC Server list that uses the DCOM connection and the OPCENUM function through LAN like the setting of default.
The white paper that notes about using SP2 to Windows XP goes out of OPC Foundation, and it is recommended to often read.
Notice
The following contents is intended for users who integrate with TAKEBISHI OPC Server to use smoothly. TAKEBISHI doesn't guarantee the operational results about its setting way and each explanation in this site. We recommend you to verify the function carefully.
|
|
Local Area Connection Properties |

Please select "Advanced" tab on the property screen of the local area connection, and push "Settings" button.
|
|
Windows Firewall - General |

In Windows XP/SP2, the Windows firewall is effectively set by default.
It explains the setting method when DCOM is used with the firewall made effective as follows.
|
|
Windows Firewall - Exceptions |
 
Click "Add Programs" from "Exceptions" Tab so that the application to pass the firewall can be specified, and add OPC Server name (ex. "MELSEC OPC Server").
Moreover, to do the browsing of the installed server list from another node by using the OPCENUM function, "OpcEnum.exe" is added.
|
|
Windows Firewall - Add Port |

In addition, port "135" of "TCP" used with DCOM pushing "Add Port" button is added.
The setting of the Windows firewall is up to here.
|
|
My Computer Properties |
Because the COM security is strengthened when Windows XP/SP2 is applied, the setting as follows is needed.

"DCOMCNFG.EXE" is started from the command line or "Component Service" is opened from the management tool of control panel, and "COM security" tab is selected.
The dialog opens when "Edit limits" button of "Access permit" is pushed.
|
|
COM Security - Access permission |

"ANONYMOUS LOGON" is selected to access OPCEnum.exe remotely, and "Remote Access" is set to "Allow".
|
|
COM Security - Access permit of starting and making actively |

The dialog opens when "Edit limits" button of "Access permit of starting and making actively" is pushed.
"Everyone" is selected, and "Remote Launch" and "Remote Activation" are set to "Allow".
|
|
Error message when accessing from OPC Client |
When the configuration as above-mentioned is not set, the error message as follows might be displayed.
  |
|