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

Last post 04-01-2008 10:28 AM by Kellem00. 3 replies.

Sort Posts:

  • The database DLL 'crdb_oracle.dll' could not be loaded.

    07-08-2007, 10:14 AM
    • Member
      2 point Member
    • kiran_s
    • Member since 04-24-2007, 2:19 PM
    • Posts 4
    Configuration:

    Asp.Net 2.0

    Oracle 10g.

    Visual Studio 2005 Prof. Ed.

    Crystal Reports 10 Adv. Dev.

    A simple crystal report named "Report1.rpt" is built in crystal reports 10 Adv. Dev. and works fine when run in CR Designer mode.

     

    However, accessing it from Asp.Net page gives following error:

    “Failed to load database information. Details: The database DLL 'crdb_oracle.dll' could not be loaded. Error in File C:\WINDOWS\TEMP\Report1

    {F5957DEE-E12A-4456-B718-50C6EE90BA46}.rpt: Failed to load database information.”

     Stored procedure is as follows:-    PROCEDURE proc_list_group (     rcv_allgroups OUT SYS_REFCURSOR) IS     BEGIN -- executable part starts here    OPEN rcv_allgroups FOR    SELECT *      FROM tblgroup; 

        END "PROC_LIST_GROUP";

     Asp.Net page is as follows:-<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">    <CR:CrystalReportSource ID="CrystalReportSource1" runat="server">        <Report FileName="C:\LMEdo_Reports\Report1.rpt">        </Report>    </CR:CrystalReportSource>    <CR:CrystalReportViewer ID="CrystalReportViewer1" runat="server" AutoDataBind="true"        ReportSourceID="CrystalReportSource1" EnableParameterPrompt="False" EnableDatabaseLogonPrompt="False" /></asp:Content> Asp.Net page behind file is as follows:-    Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load        Dim rep As CrystalDecisions.CrystalReports.Engine.ReportDocument = CrystalReportSource1.ReportDocument        Dim db As CrystalDecisions.CrystalReports.Engine.Database = rep.Database        Dim tblst As CrystalDecisions.CrystalReports.Engine.Tables = db.Tables        Dim tbl1 As CrystalDecisions.CrystalReports.Engine.Table = tblst.Item(0)        Dim loginfo As CrystalDecisions.Shared.TableLogOnInfo = tbl1.LogOnInfo        loginfo.ConnectionInfo.UserID = "usercommon"        loginfo.ConnectionInfo.Password = "usercommon"        loginfo.ConnectionInfo.ServerName = "LMEDo"        loginfo.ConnectionInfo.Type = CrystalDecisions.Shared.ConnectionInfoType.Unknown        tbl1.ApplyLogOnInfo(loginfo)         Me.DataBind()

        End Sub

     

    Solutions tried:-

    Tried installing, Oracle client 10.2, but in vain. Path variable is set properly Oracle_Home  as suggested by business objects in one of their post.

     Observation:-

    Creating a new connection in visual studio 2005 doesn’t show any option as “Oracle Server”, as it appears in Crystal Reports 10 Adv. Dev.

  • Re: The database DLL 'crdb_oracle.dll' could not be loaded.

    07-31-2007, 3:56 AM
    • Member
      167 point Member
    • rkay
    • Member since 02-28-2007, 6:59 AM
    • Posts 38

    Did u manage find  a fix?? i am having similar problem. Any help appreciated!

  • Re: The database DLL 'crdb_oracle.dll' could not be loaded.

    08-08-2007, 1:54 AM
    • Member
      167 point Member
    • rkay
    • Member since 02-28-2007, 6:59 AM
    • Posts 38

    In my case the report worked okay in my development machine but not in the server. Note that my other reports worked which don't use parameterized procedures. I created the reports using Crystal Reports 9.

    I couldn't find the file crdb_oracle.dll in the deployment server.

    From http://support.businessobjects.com/communityCS/TechnicalPapers/crnet_deployment.pdf and several other discussion groups it seems that redistribution package from http://support.businessobjects.com/downloads/merge_modules.asp for CR9 (http://support.businessobjects.com/communityCS/FilesAndUpdates/cr9netredist.zip.asp) need to be installed.

    This installation would require the CR9 licence key while installing and for some reasons it didn't accept my license key which is valid.

    Since i already installed the Crystal Reports runtime (C:\Program Files\Microsoft Visual Studio 8\SDK\v2.0\BootStrapper\Packages\CrystalReports\CRRedist2005_x86.msi) on the server i could see C:\Program Files\Common Files\Business Objects\2.7\ directory on the server. So i just tried copying crdb_oracle.dll from my developer machine into the server  C:\Program Files\Common Files\Business Objects\2.7\Bin directory which worked for me. It seems that CRRedist2005_x86 doesn;t come with the required crdb_oracle.dll file for oracle.

     


     

  • Re: The database DLL 'crdb_oracle.dll' could not be loaded.

    04-01-2008, 10:28 AM
    • Member
      7 point Member
    • Kellem00
    • Member since 10-04-2006, 7:08 AM
    • Posts 2

    I had the same issue when upgrading a project from Asp.net 1.1 to Asp.net 2.0

    The report was built in crystal Reports XI however when I included it in my Asp.net 2.0 project I got this error.

    The solution for me was to reinstall crystal http://support.businessobjects.com/downloads/service_packs/crystal_reports_en.asp

    I installed Crystal Reports XI Release 2 and Crystal Reports for Visual Studio .NET 2005

    When installing Crystal Reports XI Release 2 I did a custom install. In this custom install I selected anything that related to oracle.

    I'm not 100% sure why I needed to do all this but all I know is that the project ran in Visual Studio 2005 after I had completed this.

    Hope this helps anyone who might be unfortunate enough to be getting this error

     

Page 1 of 1 (4 items)