Skip to Content
0
Jul 01, 2013 at 07:45 AM

The database DLL 'crdb_b1.dll' could not be loaded

1005 Views

Hi Friends,

I am trying to export the Crystal report by using the following source.

Dim CrExportOptions As ExportOptions

Dim CrDiskFileDestinationOptions As New _

DiskFileDestinationOptions()

Dim CrFormatTypeOptions As New PdfRtfWordFormatOptions()

CrDiskFileDestinationOptions.DiskFileName = "Test"

CrExportOptions = docreport.ExportOptions

With CrExportOptions

.ExportDestinationType = ExportDestinationType.DiskFile

.ExportFormatType = ExportFormatType.PortableDocFormat

.DestinationOptions = CrDiskFileDestinationOptions

.FormatOptions = CrFormatTypeOptions

End With

docreport.Export()

docreport.Dispose()

GC.Collect()

At the time of export I am getting the Error:


Failed to load database information.

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

Error in File C:\Users\ADMINI~1\AppData\Local\Temp\temp_42765689-c8d3-4e8f-8fa1-2a0b6f37bd24 {E9C02E65-3637-41EF-B2C4-6117D5676CD4}

Can any one help me?

Note:

SAP : SAP Business One 8.81 (8.81.319) PL: 10

CR : Crystal Report 2008 CR Developer Version 12.1.0.892

Product Type : Full

Regards,

Silambu