When printing reports through the software, you may get a message "System.TypeInitialisationException:
The type initializer for 'CrystalDecisions .CrystalReports .Engine .ReportDocument' threw an exception"
The software uses Crystal Reports for Visual Studio to generate, display and print reports within the software.
The report feature utilises a set Crystal Reports Redistribution package and Microsoft C++ Redistributable Package to be present on the computer.
This message can appear if either the Crystal Reports Redistribution package or Microsoft
C++ Redistributable Package have been uninstalled or corrupted on the computer.
Where the packages were not present on the computer during installation of the software, the software installer would have attempted to install them.
To resolve this issue:
Caution: Do not download and install the packages from any unknown web sites.
Download and install the Microsoft C++ Redistributable Package from Microsoft web site using one of the following links.
Use this update as it seems to work for all Windows versions - click this link https://support.microsoft.com/en-in/help/2977003/the-latest-supported-visual-c-downloads
Select an update suitable for your version of Windows OS. Refer to the System requirements for Supported Operating Systems on the web page.
Restart the system and check if the report works.
Only if the above does not work then you will need to install Crystal Reports Redistribution package.
Disclaimer: Information provided here is given without any obligations and we will not accept any claims or liabilities for any damages as a result
of you relying on the information given here, if in doubt you must consult a qualified system engineer. Any web links provided to third party website are
for your reference, we do not have any control on the validity and content on those websites. We do not take any responsibility for you using or relying on them.
Copyright to contents remains with the owner of that website.