Skip to Content
Former Member
Apr 22, 2014 at 04:50 PM

ExportToDisk - CrystalReport to PDF



When the windows service module to converts crystal report to pdf, I got following error:

CrystalDecisions.CrystalReports.Engine.InternalException' in Assembly 'CrystalDecisions.Shared, Version=13.0.2000.0, Culture=neutral, PublicKeyToken=692fbea5521e1304' is not marked as serializable.

Runtime: CRRuntime_32bit_13_0_6

OS: Windows 2008

Application format: Window service

Owner of service: both local system and admin user are tested

Tool: Visual studio 2010

Method that raised error:

ReportDocument m_rptDoc;

m_rptDoc.ExportToDisk(CryShd.ExportFormatType.PortableDocFormat, strDest);

It does work fine on work station(windows 7.1) but not on the server(production).

I could really use some help here so any comment would be greatly appreciated.