SAP Knowledge Base Article - Public

1219717 - Error: "Cannot Open Database, failed to open the connection..." when creating a report based on a Business View connecting to PostgreSQL in Crystal Reports

Symptom

  • Unable to create a report based on a Business View in Crystal Reports.
  • When trying to connect to a Business View connecting to PostgreSQL database, it fails with the following error messages:

    "Cannot Open Database
     Failed to open the connection. Details: - The database DLL 'crdb_jdbc.dll' could not be loaded."

Environment

  • SAP Crystal Reports 2020
  • SAP Crystal Reports 2025

  • PostgreSQL

Cause

This issue was caused the Outer join used for the Views in the Business View. 

Resolution

In the Business View Manager, open the Business View, and in the Data Foundation, ensure you set the appropriate join type for your database.

Keywords

CR  OUTER JOIN REPORT DESIGNER BUSINESS VIEW ELEMENT CRDB_JDBC.DLL Crystal Reports, c2018916 , KBA , BI-RA-CR , Crystal Reports designer or Business View Manager , Problem

Product

SAP Crystal Reports 2020 ; SAP Crystal Reports 2025