Skip to Content
0
Former Member
Jun 10, 2009 at 02:56 AM

Different exception results using UFErrorText with different SDK's

35 Views

Hi,

We have been using Crystal through the CR9 .Net SDK for report generation for a while, but have recently switched to CRXI RAS SDK (due to ability to modify data sources at runtime). Our reports heavily use UFL custom libraries, since switching to RAS we have noticed a change in how our exceptions (called by populating the UFErrorText property) are output.

The following is an example of the exception we get out of RAS:

System.Runtime.InteropServices.COMException (0x80041019): Failed to export the report.

Error in File D:\temp\Generic_BenefitPayment {7FA27F86-6AD7-4684-BAD9-ACCC420488BC}.rpt:

Error in formula <BuildTransList>.

'if {member_quote_and_claim_history.record_type} = "C" then

'

at ReportExportService.ExportReport(String strFileName, String strDSN, String strDatabase, String strUser, String strPassword, DataSet dsParams, String strExportType)

I can't find an example of how this was previously, however we would expect to see the actual string we populated in the UFErrorText property after the first line of the formula.

Cheers,

Rob