Applicable Versions: All
Symptoms
When you try and open the DataPA Dashboard, you get the error ""Run Time error '339' - Component 'ChartFx.ClientServer.Core.dll' is not correctly registered""
When you try and add a graph to a report in DataPA Reports, DataPA Reports crashes with the error ""Run time error 0"".
You cannot open any reports that have a graph on them in DataPA Reports
Solution
The problem is caused by a missing core graphics component (GDIPlus) in the Windows OS, causing the graphing components used by DataPA to fail to register. Follow the steps below to solve the issue:
- Download the Microsoft GDI+ Redistributable from here.
- Run the downloaded gdiplus_dnld.exe to extract the contents to a temporary directory.
- Copy the extracted file gdiplus.dll to the system32 directory (C:\winnt\system32 or c:\windows\system32).
- Open a new command line window (from start menu, select Run, enter cmd and press ok).
- Move to the DataPA bin directory (type cd c:\program files\attribute\datapa\bin and press enter).
- Type regsvr32 ChartFX.ClientServer.Core.dll and press enter. (you should get the message DllRegisterServer in ChartFX.ClientServer.Core.dll succeeded).
- Type regsvr32 ChartFX.ClientServer.Annotation.dll and press enter. (you should get the message DllRegisterServer in ChartFX.ClientServer.Annotation.dll succeeded).
- Type regsvr32 ChartFX.ClientServer.Borders.dll and press enter. (you should get the message DllRegisterServer in ChartFX.ClientServer.Borders.dll succeeded).
- Type regsvr32 ChartFX.ClientServer.Data.dll and press enter. (you should get the message DllRegisterServer in ChartFX.ClientServer.Data.dll succeeded).
- Type Exit and press enter.