C1.C1Report Namespace > C1Report Class : ReportError Event |
'Declaration Public Event ReportError As ReportEventHandler
public event ReportEventHandler ReportError
The most common types of errors found when rendering reports are:
1) Invalid DataSource.ConnectionString or DataSource.RecordSource parameters. 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.RecordSource property 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.
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2