Skip to Content
Former Member
Apr 24, 2007 at 02:35 AM

'crdb_oracle.dll' could not be loaded


Post Author: jimg72

CA Forum: Data Connectivity and SQL


this error when trying to load a CR. I'm in CR XI R2 and Visual Studio

2. I'm beginning to wonder if CR is worth the trouble. Failed to load database information.Details: The database DLL

'crdb_oracle.dll' could not be loaded.Error in File


{D7E74355-4DBF-46A1-8518-C08B2822CD57}.rpt:Failed to load database

information. Here's

my login code that is causing the error. The parameters I'm passing

are correct, the report works fine in preview in VS and CR.

public static void LogonToDatabase(ReportDocument MyReport, string

UserId, string Password, string ServerName, string DatabaseName) { ConnectionInfo MyConnectionInfo = new CrystalDecisions.Shared.ConnectionInfo(); TableLogOnInfo MyLogonInfo = new CrystalDecisions.Shared.TableLogOnInfo(); if (ServerName != "") { MyConnectionInfo.ServerName = ServerName; MyConnectionInfo.DatabaseName = DatabaseName; } MyConnectionInfo.UserID = UserId; MyConnectionInfo.Password = Password; MyLogonInfo.ConnectionInfo = MyConnectionInfo; foreach (CrystalDecisions.CrystalReports.Engine.Table MyTable in MyReport.Database.Tables) { MyTable.ApplyLogOnInfo(MyLogonInfo); if (ServerName != "") { MyTable.Location = MyTable.Location.Substring(MyTable.Location.LastIndexOf(".") + 1); } } }

This worked fine with CR 10 and 1.1.