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


when I post on gearhost and try to discard a crystal report it reports selling this error

An error has occurred. The type initializer for 'CrystalDecisions.CrystalReports.Engine.ReportDocument' threw an exception. System.TypeInitializationException An error has occurred. An error has occurred while attempting to load the Crystal Reports runtime. Either the Crystal Reports registry key permissions are insufficient, or the Crystal Reports runtime is not installed correctly. Please install the appropriate Crystal Reports redistributable (CRRedist*.msi) containing the correct version of the Crystal Reports runtime (x86, x64, or Itanium) required. Please go to for more information. CrystalDecisions.CrystalReports.Engine.LoadSaveReportException at CrystalDecisions.CrystalReports.Engine.ReportDocument.CheckForCrystalReportsRuntime() at CrystalDecisions.CrystalReports.Engine.ReportDocument..cctor()

On my published local computer it works


Crystal Reports do not work natively. There are a few work arounds that I know a few users have gotten to work. See: 1


I tried Microsoft Report Viewer and it works! thank you!