Skip to Content
avatar image
Former Member

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

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()
   [...]
Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • Best Answer
    Jan 23 at 09:27 PM

    Could be missing a dependency or version of Framework. Do all Windows updates also.

    See if ProcessMonitor shows what is missing.

    Don

    Add comment
    10|10000 characters needed characters exceeded