Failed to open the connection. Details: [Database Vendor Code: <vendor code number>]

Reason

  • The data source required by the report is unavailable or improperly configured on the machine that is processing the report.

  • The database server required by the report is unavailable.

  • The database client is installed but improperly configured on the machine that is processing the report. For example a DB2 database alias, Oracle tnsnames entry or Sybase DSEDIT entry is missing or improperly configured.

Context

Occurs when refreshing or previewing a Crystal report that does not contain saved data.

Resolution

  • Ensure that the data source required by the report is available and properly configured on all machines where the report can be run. For example, the ODBC data source or JNDI data source exists and connectivity can be proven from a client test tool.

  • Ensure that the database server required by the report is running and that connectivity can be proven from a client test tool on all machines where the report can be run.