Hello,
We are in the proces of upgrading various pieces of software and one of these is Crystal Reports.
Up to now we have been running Crystal Reports 8.5, to make reports from 3 different Oracle databases: an oracle 8.1.7 for our ERP system, an oracle 10xe for our external sites and an oracle 11g for our WMS system.
To connect to these databases we are using ODBC drivers, for the Oracle8 database we are using an Oracle8 ODBC Driver and for the other two we are using an Oracle11 ODBC driver.
To see if it makes sense for us to upgrade to the latest version of Crystal Reports I have downloaded the Crystal Reports 2011 trial from crystalreports.com.
One of the things that is really going to help us is the ability to make outer joins within the report, helping me to eliminate many of the subreports I have now made to do this.
However in the 2011 version I am running into an issue that I haven't had in CR8.5:
Crystal Reports appears to be using the wrong driver to connect to the databases.
Last week I could connect to the Oracle8 database, but I couldn't connect to the Oracle10 and Oracle11 databases.
When I tried to connect this morning to see if I could fix it, I could connect to the Oracle10 and Oracle11 databases, but not to the Oracle8.
I got an ORA-12154 error. Having seen this before I knew this had to do with the TNSnames configuration. I checked these to make sure they were properly connected, both in the Oracle8 and Oracle11 ODBC installations. They were.
As the databases that were using the Oracle11 ODBC driver were working, I figured I'd try to add the Oracle8 database to their TNSnames as well. When I did this, it did work. However now I am having the problem that the Oracle11 ODBC driver can't connect to the Oracle8 database (ORA-39021 if I'm not mistaken).
So it appears that Crystal Reports is trying to connect to the Oracle8 database using the Oracle11 ODBC driver, eventhough the ODBC drivers are properly configured (connecting to each of the databases via ODBC does work properly when I try to connect via Excel and via Crystal Reports 8.5).
So I was wondering if anybody knows where this is going wrong and what I could to fix this.
I know that the Oracle8 database is old, and it is one of the other parts of our software we are upgrading. But to do this upgrade properly I will have to change all the existing Crystal Reports to use the new database. And I think this would be easier to do in Crystal Reports 2011 than in 8.5, though to try that out, I will have to have Crystal Reports working with all databases.