DCOM配置完整版

合集下载
  1. 1、下载文档前请自行甄别文档内容的完整性,平台不提供额外的编辑、内容补充、找答案等附加服务。
  2. 2、"仅部分预览"的文档,不可在线预览部分如存在完整性等问题,可反馈申请退款(可完整预览的文档不适用该条件!)。
  3. 3、如文档侵犯您的权益,请联系客服反馈,我们会尽快为您处理(人工客服工作时间:9:00-18:30)。

Setting Up The Insight OPCServer Service
•Creating a Windows User Account
•Creating an InsightOPCServer User Account
1.Run dcomcnfg, and then click OK.
If a CLSID warning displays, click Yes to close the dialog box。

The Console Root\Component Services window displays.
2.In the system tree double—click Services。

3.Do one of the following:
•Select InsightOPCServer. From the Action menu,select Properties。

•Right-click Insight OPCServer,and then select Properties。

The InsightOPCServer Properties dialog box displays.
4.Click the Log On tab,and then uncheck the Allow service to interact with desktop
box.
5.Select This Account,and then enter the InsightOPCServer account and its password.
6.Click OK.
Setting Up DCOM
To set up DCOM Security at the InsightTALON View Database Server, follow the instructions on Setting DCOM Security for COM Servers for the Insight.OPCServer and OpcEnum COM Servers.
OPCClient远程连接OPC服务器配置
一,操作系统用户
1、在OPC服务器上用Administrator用户建立一个拥有管理员权限的用户并设置密码,一定要设置密码,不能为空,如:用户名:OPCClientUser 密码:123
2、在OPCClient服务器上用Administrator用户建立一个相同的拥有管理员权限的用户并设置相同密码,一定要设置密码,不能为空,如:用户名:OPCClientUser 密码:123,并用OPCClientUser用户登入。

二、防火墙设置(OPC服务器和客户端上都要进行设置)
1、关闭window自带的防火墙。

2、如果不关闭windows自带的防火墙,则需要在window防火墙管理界面上配置允许客户端程序访问权限和开放OPC通讯135端口。

步骤如下:
1)
2)
3)
4)
5)
三、DCOM配置(OPC服务器和OPCClient服务器都要进行设置)
1、开始—〉运行—〉输入:dcomcnfg
进入DCOM的总体默认属性页面,将“在这台计算机上启用分布式COM”打上勾,将默认身份级别改为“无"。

如下面画面
2、打开属性—>切换到“安全”属性页,分别编辑如下4个选项。

3、以上4个选项分别添加everyone,administratro,anonymous user三个用户用户,并勾选上所有权限选项。

【请注意是三个用户,如果少了一个有可能出现找不到服务器的情况】
设置DTC
在msdtc标签下,点击“安全性配置”,按下图配置
4、在OPC服务器上,还要回到“组件服务”界面,打开DCOM配置,找到注册的OPC服务器的名称选项,打开它的属性.
设置加密
设置位置
启用交互式用户
(注:有时做好dcom配置后,需要重新启动电脑才起作用.所以为了安全起见,建议最好重新启动一下电脑,再做下一步)。

四、本地安全策略配置
1、OPC服务器和OPCClient服务器都要设置:打开“控制面版”à“管理工具”à打开“本地安全策略”
2、à安全选项-〉”网络访问:本地帐户的共享和安全模式”->属性
3、选择“经典—本地用户以自己的身份验证"
注意一点不能忘了这一步,否则会在连接Opc服务器时报“拒绝访问"的错误!
五、其他设置
1、关闭操作系统运行的其他防火墙,杀毒软件等。

(注其实杀毒软件不关也不要紧,主要是把防火墙关了就行了)。

相关文档
最新文档