Issue:
A user receives the following error after clicking on the Summary button when attempting to reate a new report using Reporter (RepGen - the excel based reporting tool):
Run time error '339'
*ERROR* Error 339 (Component 'RICHTX32.OCX' or one of its dependencies not correctly registered: a file is missing or invalid)
Product Line:
Struxureware Power Monitoring 7.0
Struxureware Power Monitoring 7.0.1
Environment:
"Reporter" report generation
Cause:
'RICHTX32.ocx' is not registered
Resolution:
To correct this issue, manually register richtx32.ocx using regsvr32.exe. Be sure to run this command when logged into the machine as the Administrator (not just an account that is in the Administrators group). On machines running a 64-bit version of the operating system, be sure to use the 32 bit version of regsvr32.exe. It will be located in the C:\Windows\SysWOW64 directory. Here are the steps:
1- Start a command prompt (Right click on it and "Run as administrator")
2- Navigate to the C:\Windows\SysWOW64 directory, then run the following command:
regsvr32 richtx32.ocx
You will see a dialog indicating the ocx registered successfully as shown in picture below. Once this is done, RepGen will function normally.
The next release (Power Monitoring Expert version 7.2 and higher) does not run into this problem and the file is registerd during installer.