Port installation setup |
CommServer folder settings
A user who launch the CommServer (on which privileges CommServer is run) should have access rights (read/write) to the CommServer directory, in this case: C:\Program Files (x86)\CAS\CommServer. The easier way to achieve it is to grant full control privileges for everyone user, see figure below:
CASOpcDaWrapper settings
CASOpcDaWrapper.exe is an application that is a OPC server (this is the main executable file in the CommServer package). Because CommServer should be launched on the administrator account for the system time, make sure that you account has administrator privileges. What is more when UAC* is enabled follow tips showed on figure below to give CASOpcDaWrapper administrator privileges.
* User Account Control (UAC) is a new security component in Windows Vista and Windows 2008. UAC enables users to perform common tasks as non-administrators, called standard users in Windows Vista and Windows 2008, and as administrators without having to switch users, log off, or use Run As. A standard user account is synonymous with a user account in Windows XP. User accounts that are members of the local Administrators group will run most applications as a standard user. By separating user and administrator functions while enabling productivity, UAC is an important enhancement for Windows Vista and Windows 2008.
Note |
---|
First launch of CommServer should be done from account with administrative privileges |
DCOM related settings
First, to easier the DCOM configuration for remote connection we suggest to create an accout on which CommServer will be run. Lets create user: opc (to omit some problems it is good to grant administrator privileges to this user).
Distributed COM Users
Secondly it is necessary to add opc user to “Distributed COM Users” group, to achieve this follow the instruction on the figure below.
CommServer DCOM properties
Now it is time to configured on which account CommServer should run. To configure it DCOMCNFG application is used, see figure below for details.