Skip to Content
0

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

Jan 23 at 04:03 PM

123

avatar image
Former Member

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()
   [...]
10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

1 Answer

Best Answer
Don Williams
Jan 23 at 09:27 PM
0

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

See if ProcessMonitor shows what is missing.

Don

Share
10 |10000 characters needed characters left characters exceeded