OPC Historian .NET Server Toolkit Reference
Deployment
Send comments on this topic.

Glossary Item Box

The customized HDANSrv OPC server is deployed to the target system by copying the files from the project directory:
  • HDANSrv.Net4.exe
  • HDAPluginNet4.dll          ( Base customization layer )
  • HDAPluginDBANet4.dll    ( Application specific database access )
  • HDANSrv.Net4.exe.CONFIG (only if configuration from file is used in HDAPluginNet4.dll)
  • RegServer.BAT or RegServer.EXE for Windows Vista
  • Project specific files

The files need to be copied to the same target directory and the RegServer.BAT (RegServer.EXE) file must be executed in this directory to register the server.
Alternatively the server registration can be done in an application setup by executing HDANSrv.Net4.exe with the command line option /RegServer (or /Service to register the server as a Windows service).

 

Prerequisites

  • .NET Framework 2.0 or 3.0 / 3.5

  • OPC Core Components V3.0.102
    If no or older OPC core components are installed on the target system then the OPC Core Components.MSI file needs to be copied to the target system from the HDANSrv installation subdirectory OPC and executed.

 

DCOM Configuration

Depending on security settings the DCOM configuration may need to modified using the DCOMCNFG utility.
If Windows XP Service Pack 2 is installed then a number of default DCOM settings need to be changed for OPC to work on DCOM. See chapter Using OPC via DCOM with XP SP2.pdf for instructions.

Copyright ©2004-2019 Advosol Inc. All Rights Reserved.