Quantcast
Channel: SCN : Popular Discussions - SAP Crystal Reports, version for Eclipse
Viewing all articles
Browse latest Browse all 893

Why Crystal Report is connecting to old database configuration?

$
0
0

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


Viewing all articles
Browse latest Browse all 893

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>