Skip to Content
0
Former Member
Jan 23, 2018 at 04:03 PM

The type initializer for 'CrystalDecisions.CrystalReports.Engine.ReportDocument' threw an exception.

888 Views Last edit Jan 23, 2018 at 09:26 PM 2 rev

Hello,

I have an problem with CR on my second machine. Did I forgot something?

  1. It works fine on the dev. machine
    • x64 WIN10
    • x64 RunTime Installed (13.0.21)
    • CRforVS (13.0.21)
    • App runs with "ANY CPU" (IIS: Use 32Bit Mode = False)
  2. On the second machine i get an error (TypeInitializationException)
    • x64 WIN-Server 2008 R2
    • x64 RunTime Installed (13.0.21)
    • App runs with "ANY CPU" (IIS: Use 32Bit Mode = False)
The type initializer for 'CrystalDecisions.CrystalReports.Engine.ReportDocument' threw an exception.
   at CrystalDecisions.CrystalReports.Engine.ReportDocument..ctor()
   at CrystalDecisions.CrystalReports.Engine.ReportClass..ctor()
   [...]