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:

  1. Download the Microsoft GDI+ Redistributable from here.
  2. Run the downloaded gdiplus_dnld.exe to extract the contents to a temporary directory.
  3. Copy the extracted file gdiplus.dll to the system32 directory (C:\winnt\system32 or c:\windows\system32).
  4. Open a new command line window (from start menu, select Run, enter cmd and press ok).
  5. Move to the DataPA bin directory (type cd c:\program files\attribute\datapa\bin and press enter).
  6. Type regsvr32 ChartFX.ClientServer.Core.dll and press enter. (you should get the message DllRegisterServer in ChartFX.ClientServer.Core.dll succeeded).
  7. Type regsvr32 ChartFX.ClientServer.Annotation.dll and press enter. (you should get the message DllRegisterServer in ChartFX.ClientServer.Annotation.dll succeeded).
  8. Type regsvr32 ChartFX.ClientServer.Borders.dll and press enter. (you should get the message DllRegisterServer in ChartFX.ClientServer.Borders.dll succeeded).
  9. Type regsvr32 ChartFX.ClientServer.Data.dll and press enter. (you should get the message DllRegisterServer in ChartFX.ClientServer.Data.dll succeeded).
  10. Type Exit and press enter.