Skip to Content
0
Former Member
Apr 09, 2012 at 10:27 PM

Visual Studio 2008 Error DLL 'crdb_com.dll' could not be loaded.

40 Views

Hello,

I am receiving an error trying to export a report a current report i have to the c: drive of my computer.

Im using visual studios to run the command to export the report

ReportDocument cryRpt = new ReportDocument();

cryRpt.Load("c:\\rptMACWorkOrder.rpt");

cryRpt.SetDatabaseLogon("XXX", "XXXX");

i am setting my parameters through

cryRpt.SetParameterValue(1, "0");

and at the end i use

cryRpt.SetDatabaseLogon("XXX", "XXX", "localhost", "Password");

cryRpt.ExportToDisk(ExportFormatType.PortableDocFormat, @"C:\report.pdf");

once i execute the command i recieve this error and i have no idea what could be causing it or why its being generated.

Failed to load database information.

Details: The database DLL 'crdb_com.dll' could not be loaded.

Error in File C:\Users\XXX\AppData\Local\Temp\rptMACWorkOrder {05EB7D4A-6A53-4C9D-BC0A-153361749AEA}.rpt:

Failed to load database information.

Any information on it would be great. thanks in advanced!!

-stephen