cancel
Showing results for 
Search instead for 
Did you mean: 

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

Former Member
0 Kudos

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

Accepted Solutions (1)

Accepted Solutions (1)

former_member183750
Active Contributor
0 Kudos

What version of CR are you using in the app?

What version of CR was the report created in?

next, open the report in the designer then go to the Database menu and select "Set Datasource Location". Expand the "Properties" node. What do you see here?

- Ludek

Answers (0)