Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

Why Crystal Report is connecting to old database configuration?

I am using Service Pack 1 for Crystal Reports for Eclipse 2.0.

From Eclipse, I created a Crystal Reports rpt file. The report contains tables that are coming from a Derby database. The database is located at 'C:\workspace\CrystalReportDerbySA\localdb'.

I implemented a Java standalone program that will load up the Crystal Reports rpt file and update the ConnectionInfos of the Tables to another Derby database, 'remotedb'.

However, if I deleted the database, 'C:\workspace\CrystalReportDerbySA\localdb', the report does not load up in the Java standalone program. I am getting error:

Logon Error: Database 'C:\workspace\CrystalReportDerbySA\localdb' not found.

Eventhough I have updated ConnectionInfos of the Tables to point to another Derby database, 'remotedb'.

If I restored the database, 'C:\workspace\CrystalReportDerbySA\localdb', then the report does get loaded and is executed from the other Derby database, 'remotedb' correctly.

My Crystal Reports file has one parameter.

Why do the Crystal Reports file needs to connect to the old database even though I have updated ConnectionInfos of the Tables to another database?

-Lance

Former Member
Not what you were looking for? View more on this topic or Ask a question