[]
        
(Showing Draft Content)

C1.Report.FlexReport.ReportError

ReportError Event

Occurs when an error occurs while rendering a report.

Namespace: C1.Report
Assembly: C1.FlexReport.dll
Syntax
public event ReportErrorEventHandler ReportError
Returns
Type Description
ReportErrorEventHandler Occurs when an error occurs while rendering a report.
Remarks

The most common types of errors found when rendering reports are:

1) Invalid connection string or SQL query. This usually indicates that the system could not open the specified database (a server may be off line, or a database file may be in a different location than what was specified) or that the SQL syntax used for the DataSource contains errors.

2) Error executing scripts or evaluating expressions. This usually indicates that the VBScript expression used contains a syntax error. In these cases, make sure you look at the exception message. It usually contains a good explanation of what caused the error.