Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

Probleme running Web Service Interfacing with Crystal Report


I develop a web service in dotNet with discuss with Crystal Report (SAP Crystal Report 2013). And, i have this error message:


Caused by: {System.TypeInitializationException} The type initializer for 'CrystalDecisions.CrystalReports.Engine.ReportDocument' threw an exception.

   at CrystalDecisions.CrystalReports.Engine.ReportDocument.r()

   at CrystalDecisions.CrystalReports.Engine.ReportDocument..ctor()

   at Fr.Serenis.BusinessLayer.RptFile.ExportToPdf(Object[] rptParameters)

Caused by: {System.Runtime.InteropServices.COMException} Retrieving the COM class factory for component with CLSID {CF76A644-314B-404D-8D45-F08B51FF990B} failed due to the following error: 80040154 Class not registered (Exception from HRESULT: 0x80040154 (REGDB_E_CLASSNOTREG)).

   at CrystalDecisions.CrystalReports.Engine.ReportDocument..cctor()

Do someone aldready have this issue ?

I work in windows server 2013, in 64 bits. My Web Service is in IIS server.

Not what you were looking for? View more on this topic or Ask a question