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


#1

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 http://www.businessobjects.com/support 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


#2

Crystal Reports do not work natively. There are a few work arounds that I know a few users have gotten to work. See: http://www.britishdeveloper.co.uk/2012/01/crystal-reports-on-azure-how-to.html 1


#3

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