/
Errors with ODBC Data Source and Crystal Reports
Errors with ODBC Data Source and Crystal Reports
Problem
If the ODBC data source can't connect and Adams Web throws a Crystal Report error, the issue might have to do with the how the pg_hba.conf file is configured.
Example of the error: Crystal Reports failed to logon to the database.
Solution
On the server, the ODBC data source might be pointing to the wrong location for the PostgreSQL ODBC driver. The configuration file is located in C:\Program Files\PostgreSQL\<version>\data
. Make sure add the fe80::/10
address line.
# TYPE DATABASE USER ADDRESS METHOD
# IPv6 local connections:
host all postgres ::1/128 trust
host ForayAdams foraydbadmin ::1/128 md5
host ForayAdams foraydbadmin fe80::/10 md5
-- NOTE: This line is in the Foray Adams Installation Guide.
Related articles
, multiple selections available,
Related content
ODBC Data Source for use with Crystal Reports and PostgreSQL
ODBC Data Source for use with Crystal Reports and PostgreSQL
More like this
Crystal Reports Can't Create Connection to Database
Crystal Reports Can't Create Connection to Database
More like this
Crystal Reports "Database logon failed"
Crystal Reports "Database logon failed"
More like this
MS SQL Server Named Instances
MS SQL Server Named Instances
More like this
Adams Bridge Unable to Connect to Adams Web
Adams Bridge Unable to Connect to Adams Web
More like this
Cannot find the user 'foraydbadmin', because it does not exist or you do not have permission.
Cannot find the user 'foraydbadmin', because it does not exist or you do not have permission.
More like this
© 2023 Foray, LLC - All Rights Reserved