Data Connectivity
 Crystal Reports Forum : Crystal Reports 9 through 2020 : Data Connectivity
Message Icon Topic: Cannot load CR at run time [C# 2008] Post Reply Post New Topic
Author Message
Andy
Newbie
Newbie


Joined: 11 Sep 2009
Online Status: Offline
Posts: 2
Quote Andy Replybullet Topic: Cannot load CR at run time [C# 2008]
    Posted: 11 Sep 2009 at 9:50am
Hi,

I have a CR that connects to its datasource [access database] at design time.

I can create a pdf file from the report at design time: no worries there.


At run time, I get the err:

Failed to load database information
crdb_dao.dll couldn't be loaded
Error in file.. temp\...\crTest.rpt
Failed to load database information.


Thanks


More details


Both of these code snippets produce the same error:

ReportDocument reportDocument = new ReportDocument();
reportDocument.Load("crNames.rpt");
reportDocument.SetDataSource("dbTest.mdb");
reportDocument.ExportToDisk(CrystalDecisions.Shared.ExportFormatType.PortableDocFormat, "c:\\crTest.pdf"); // err on this line


crTest cr = new crTest();
cr.ExportToDisk(CrystalDecisions.Shared.ExportFormatType.PortableDocFormat, "c:\test.pdf"); // err on this line


Any ideas?




Edited by Andy - 11 Sep 2009 at 9:51am
Thanks

Andy
IP IP Logged
Andy
Newbie
Newbie


Joined: 11 Sep 2009
Online Status: Offline
Posts: 2
Quote Andy Replybullet Posted: 11 Sep 2009 at 9:11pm
Additional information:

XP64 SP2
Thanks

Andy
IP IP Logged
DannyTiong
Newbie
Newbie


Joined: 13 Sep 2009
Online Status: Offline
Posts: 1
Quote DannyTiong Replybullet Posted: 13 Sep 2009 at 9:16am
Hi Andy,
 
The web link below report similar issues but different Crdb_adoplus.dll instead of crdb_dao.dll.
 
 
IP IP Logged
Post Reply Post New Topic
Printable version Printable version

Forum Jump
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot delete your posts in this forum
You cannot edit your posts in this forum
You cannot create polls in this forum
You cannot vote in polls in this forum



This page was generated in 0.016 seconds.