Troubleshooting performance counter problems – Rockwell Automation FactoryTalk Historian SE 3.0 UniInt Interface User Guide User Manual

Page 43

Advertising
background image

UniInt Interface User Manual

37

counters will be installed. If performance counters are already installed, then the total
number of counters for the interface is checked. If the total number of counters has changed,
then the interface counters are uninstalled and re-installed. Therefore, if the developer adds a
performance counter in a new interface version, the new counter will automatically be
installed the next time that the interface is run as a service.

However, if in a new interface version individual counters have been changed but the total
number of counters is the same, the new counters will not automatically be updated the next
time that the interface is run as a service. In order to load the new counters, the currently
installed counters must be uninstalled by removing the service with the –remove command-
line parameter. Once the service has been re-installed and the service has been re-started, the
new counters will be installed.

Troubleshooting Performance Counter Problems

Error -30300, Unable to install performance counters for service test

This problem usually occurs when performance counters have been installed incorrectly by
some application. The biggest offender is Network Associates VirusScan Windows version
4.03a and lower. If this version of VirusScan is installed, performance counters are most
likely screwed up on your system. This can be verified by going to

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows
Windows\CurrentVersion\Perflib

and checking the value of LastCounter. If LastCounter is not and even number, then
performance counters are screwed up. One can work around this problem as follows:

1. Uninstall counters for the interface by removing the service.

2. Increment LastCounter and LastHelp under

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows
Windows\CurrentVersion\Perflib

by 1.

3. Re-installing the interface as a Windows service.

4. Starting the interface as a service.

However, the above workaround may not be a permanent fix. If VirusScan is subsequently
removed, counters will be screwed up again, and the workaround will need to be applied
again. The only permanent way of fixing the counters is to re-install Windows and all
software on your system.

Error Activating Counters, Could not find D:\PIPC\bin\pictrdll.dll

The interface will look for the

pictrdll.dll

in the directory specified by the

Library

variable under the registry key

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\<service_name>+<
ServiceID>\Performance

Advertising