Skip to main content

Set up OPC HDA Server

OPC HDA Tuning for Automation

The first time XLReporter accesses data from the PI Historian, a popup window will appear. This behavior will prevent any report scheduling and so it must be suppressed by launching the server with a specific Windows Account.

  1. Locate the PI OPC HDA Server service, right-click and select Stop.

  2. Right click again and select Properties.

    image57.png
  3. Go to the Log on tab, select This Account and specify an account.

    image58.png
  4. Configure the server itself to launch with the same account by updating DCOM settings. To access DCOM settings, for a 32-bit operating system, select Start, Run, and enter dcomcnfg. For a 64-bit operating system enter comexp.msc /32.

  5. Expand Component Services, Computers, My Computer, DCOM Config.

  6. Select PI OSI HDA Server right-click and select Properties

    image59.png
  7. Select the Security tab

  8. Set Launch and Activation Permissions to Customize

  9. Click the Edit button.

  10. In Launch and Activation Permission, click Add.

    image60.png
  11. Add the current user, and/or any users associated with XLReporter design and runtime components.

    image61.png

    If XLReporter’s Scheduler is set to run as a Windows Service, you must also add the Windows user the Scheduler Service is running. All other Groups or Users should be removed.

  12. To access data remotely with XLReporter Ultimate Edition, the ASPNET user should also be listed. If you experience issues retrieving the data from a team client, also add the user group EVERYONE to the list.

  13. If XLReporter is installed locally, enable Local Launch and Local Activation. For installations where XLReporter and PI Historian are installed on separate machines, enable the Remote settings.

    image62.png
  14. Under the Identity tab,

    image63.png

    Set the account to This user and specify the same user account configured for the Windows Service to run under.

  15. Restart the PI OPC HDA Server Windows service.