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
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