A customer has migrated to Windows Server 2016 (64 bit) and now our reports (Crystal Reports) don't start anymore. The error message is:
The type initializer for 'CrystalDecisions.CrystalReports.Engine.ReportDocument' threw an exception
The Thinkwise applicatie that the customer is working with has been developed with TSF 2017.1.
The version Windows GUI is 2018.1.17.
The SAP Crystal Reports runtime engine for .NET framework (64 bit) is 13.0.13.1597.
I have two questions:
1. What causes this error?
2. What determines which version of the SAP Crystal Reports runtime enige I should install?
Could anyone help me out here?
Solved
The type initializer for 'CrystalDecisions.CrystalReports.Engine.ReportDocument' threw an exception
Best answer by Anne Buit
Hi Johan,
There is a version checker in the Developer tab in the Windows GUI that can be used to check missing dependencies. See if any Crystal Reports dependencies light up. It could be that the migration somehow deregistered some Crystal Reports assemblies from the GAC. But I can't say this for sure.
The current supported versions of Crystal Reports can be found in the documentation, here. You can try to update the runtime to see if this resolves the issue.
View originalThere is a version checker in the Developer tab in the Windows GUI that can be used to check missing dependencies. See if any Crystal Reports dependencies light up. It could be that the migration somehow deregistered some Crystal Reports assemblies from the GAC. But I can't say this for sure.
The current supported versions of Crystal Reports can be found in the documentation, here. You can try to update the runtime to see if this resolves the issue.
This topic has been closed for comments
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.