SAP Knowledge Base Article - Public

1686434 - Error: "The type initializer for 'CrystalDecisions.CrystalReports.Engine.CRPE' threw an exception." is thrown when crystal report is viewed.

Symptom

  • Error is thrown when the report is viewed from Windows application.
  • Error: The type initializer for 'CrystalDecisions.CrystalReports.Engine.CRPE' threw an exception.

Untitled.jpg

Environment

  • Windows application using .NET Framework 4.0
  • Crystal Reports for Visual Studio 2010 (Merge Modules)

Resolution

  1. Uninstall the setup package created using Merge Modules
  2. Install the Microsoft Visual C++ 2005 Service Pack 1 Redistributable Package ATL Security Update
  3. Install the setup package.

Keywords

crvs 2010 cr4vs2010 crvs2010 msm net deployment , KBA , BI-DEV-NET , BI Software Development Kits (SDKs) - .NET or Other , Problem

Product

SAP Crystal Reports, developer version for Microsoft Visual Studio