type initializer error in crystalreports deployment

I have simple windows form that uses a webclient to download a Crystal Report and then displays the report in a ReportViewer control. It works fine on my development machine, and an .msi deployment works OK on other machines until the report viewer tries to display the report. At that point I get the following error:

"Type initializer for CrystalDecisions.CrystalReports.Engine.ReportDocument threw an exception"

I have two questions:
1. Does anyone know why this is happening , and
2. How do I capture the full text of the exception on a deployment machine

Thanks for any help!


Answer this question

type initializer error in crystalreports deployment

  • type initializer error in crystalreports deployment