Jasper Sub Reports Could Not Be Loaded

Hi friends,
I am using jasper report for my application. If i use sing report it show successfully, but if i use sub report with the particular main report it could not be loaded. This is my code.
Please help me.
        Map<String, String> params = new HashMap<String, String>();
        params.put("FromDate", strFromDate);
        params.put("ToDate", strToDate);
        params.put("GroupCode", strGrpCode);       
       params.put("SubReport", "C:\\Documents and Settings\\TAINNTECH\\My Documents\\NetBeansProjects\\UdtSteelShop\\Reports\\SalesAndPayment1_subreport1.jasper");
        //params.put("SubReport", "C:\\Documents and Settings\\Nagendran\\My Documents\\NetBeansProjects\\UdtSteelShop\\Reports\\SalesAndPayment_SubReportItems.jasper");
            //FileInputStream fileRpt = null;
            try {
                //fileRpt = new FileInputStream("C:\\Documents and Settings\\Nagendran\\My Documents\\NetBeansProjects\\UdtSteelShop\\Reports\\SalesAndPayment.jasper");
                //jasperReport = (JasperReport) JRLoader.loadObject(fileRpt);
                //jasperPrint = JasperFillManager.fillReport(compiledFileName,  params, conLocal);
                jasperDesign = JasperManager.loadXmlDesign("./Reports/SalesAndPayment1.jrxml");
                jasperReport = JasperManager.compileReport(jasperDesign);
                jasperPrint = JasperFillManager.fillReport(jasperReport, params, conLocal);
                jasperPrint.setPageWidth(600);
                intViewerFlag++;
                if (intViewerFlag > 1) {
                    viewer.clear();
                viewer = new JRViewer(jasperPrint);
                viewer.setVisible(true);
                viewer.setEnabled(true);
                viewer.setSize(dpSalesAndPayment.getSize());
                viewer.setBackground(Color.WHITE);
                dpSalesAndPayment.setLayout(new BorderLayout());
                dpSalesAndPayment.add(viewer, BorderLayout.CENTER);
                dpSalesAndPayment.setBackground(Color.WHITE);
            } catch (JRException e) {
                e.printStackTrace();
                System.out.println(e);
                JOptionPane.showMessageDialog(null, e);
        }

Hi Samhith,
       Please do the following steps.
      (1) Delete  subreports from main report.
      (2) Run the main report .
      (3) Add subreports one by one with proper parameters.
      (4) Run the report locally.
      (5) If it is showing all the data, deploy main report as well as subreports.
      (6) Run the report again from server.
Still you are not getting subreport data, delete datasource(not dataset) and create  it again. Run the report again.
Hope this will solve your issue.
Please click the 'Mark as Answer' button, if this post solves your issue.
Best Regards,
Dhanisha

Similar Messages

  • Alarm & Event (AlertView​.dll) control report Control could not be loaded error on LV Runtime

    Hello, when I try to execute my application that use Alarm & Event control, the window show in red color the text: Control could not be loaded.
    I have tried to manually copy the AlertView.dll on C:\Program Files\National Instruments\Shared and then register the control with:
    regsvr32 C:\Program Files\National Instruments\Shared\AlertView.dll
    but still the control is never on the screen.
    When the window is invoked and the ActiveX is loading the system show several error message (unable to initialize ComponetWorks control ...) and then exit the the red color error message Control could not be loaded.
    If I install the DSC everything works fine ...
    Any idea?
    Regards.
    Marco Savegnago

    Hi msave,
    I'm not sure I've understood correctly your problem, but reading your post it seems that you want to execute your application that loads an ActiveX control without installing the DSC module.
    I did some researches for you and what I found is that copying the alertview.dll (in your case) into the path: <drive:>\Program Files\National Instruments\Shared  and register it into regsrv32, may not be sufficient.
    National Instruments, suggests to install the DSC (and from your post it seems you can do it) in order to have correctly installed all the parts you need effectively (in fact, in your case when you install the DSC all seems to work properly).
    I hope I've been of some help
    carlo> 

  • 0x80230729 (The extension could not be loaded.)

    Hi,
    I've been working on this most of the day without any luck. I'm wondering if anyone has seen something like this.
    PCNS can successfully deliver the password change to an AD target, so PCNS should be OK.
    The failure occurs when we add the Oracle EBS Web Service management agent to the password sync targets.
    The error message indicates that the Microsoft.IdentityManagement.WebService.MA.dll cannot be loaded due to an incorrect .NET framework version.
    An unexpected error has occurred during a password set operation.
     "BAIL: MMS(5080): d:\bt\9394412\private\source\miis\ma\core\passwordext.cpp(322): 0x80230729 (The extension could not be loaded.)
    ERR_: MMS(5080): d:\bt\9394412\private\source\miis\ma\core\passwordext.cpp(804): Please verify that the password extension dll can be located in the Extensions directory.
    If the extension is present, confirm that the version of the .NET framework that can run the extension is installed on the server and that a supportedRuntimes entry in the configuration files specifies that version. The synchronization engine will not be able
    to load an extension that is built with a newer version  of the .NET framework than the version of the .NET runtime it is hosting.BAIL: MMS(5080): d:\bt\9394412\private\source\miis\ma\core\passwordext.cpp(806): 0x80230729 (The extension could not be loaded.)
    BAIL: MMS(5080): d:\bt\9394412\private\source\miis\ma\extensible\export.cpp(2821): 0x80230729 (The extension could not be loaded.)
    BAIL: MMS(5080): d:\bt\9394412\private\source\miis\ma\extensible\export.cpp(2866): 0x80230729 (The extension could not be loaded.)
    BAIL: MMS(5080): d:\bt\9394412\private\source\miis\server\server\exportpassword.cpp(474): 0x80230729 (The extension could not be loaded.)
    BAIL: MMS(5080): d:\bt\9394412\private\source\miis\server\server\ma.cpp(7961): 0x80230729 (The extension could not be loaded.)
    BAIL: MMS(5080): d:\bt\9394412\private\source\miis\server\server\ma.cpp(8410): 0x80230729 (The extension could not be loaded.)
    Forefront Identity Manager 4.1.2273.0"
    I ran an Environment.Version command and it returns that we are using 4.0.30319.296.
    In the dllhost.exe.config file, we have the settings:
    <?xml version="1.0" encoding="UTF-16"?>
    <configuration>
    <configSections>
    <section name="resourceManagementClient" type="Microsoft.ResourceManagement.WebServices.Client.ResourceManagementClientSection, Microsoft.ResourceManagement"/>
    </configSections>
    <!--
    .NET Runtime startup configuration: If you use a .NET 4.0 runtime, the useLegacyV2RuntimeActivationPolicy attribute is required and must be set to "true".
     When multiple versions of the runtime are listed, the first supportedRuntime element should specify the most preferred version of the runtime,
    and the last element should specify the least preferred version.
    Currently, the Synchronization Service supports the following runtime choices: v2.0.50727 and v4.0.30319. If selected, the version must be found in the \Windows\Microsoft.NET\Framework or \Windows\Microsoft.NET\Framework64 directories.
    -->
    <startup useLegacyV2RuntimeActivationPolicy="true">
    <supportedRuntime version="v4.0.30319"></supportedRuntime>
    <supportedRuntime version="v2.0.50727"></supportedRuntime>
    </startup>
    <runtime>
    <assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
    <dependentAssembly>
    <assemblyIdentity name="Microsoft.MetadirectoryServicesEx" publicKeyToken="31bf3856ad364e35" />
    <bindingRedirect oldVersion="3.3.0.0" newVersion="4.0.1.0" />
    <bindingRedirect oldVersion="4.0.0.0" newVersion="4.0.1.0" />
    </dependentAssembly>
    </assemblyBinding>
    </runtime>
    </configuration>
    So, I think it looks like it should be trying to run the dll under the 4.0.30319 framework. The documentation says that framework is required and we are running it.
    The dll is in the Extensions folder.
    Has anyone seen this before or something like it? Any ideas on where else I could check?
    Thanks,
    Sami

    Thank you for your reply. I've tried running in and out of proc with the same error showing up.
    I tried a few different modifications to the miiserver.exe.config (as well as Mmsscrpt.exe.config and the Dllhost.exe.config files). I tried changing 4.0.30319 to 4.0 as per this article:
    http://msdn.microsoft.com/en-us/library/w4atty68.aspx
    Even though we are only on FIM R2 (not on SP1), I tried a variation on the config file changes recommended here:
    http://support.microsoft.com/kb/2772429 but I referenced the newVersion as 4.0.1.0.
    Still no luck.
    Here's the miiserver.exe.config file. Maybe you'll see something glaringly wrong? Thank you for your help!
    <?xml version="1.0" encoding="UTF-16"?>
    <configuration>
      <configSections>
        <section name="resourceManagementClient" type="Microsoft.ResourceManagement.WebServices.Client.ResourceManagementClientSection, Microsoft.ResourceManagement"/>
        <section name="resourceManagementService" type="Microsoft.ResourceManagement.WebServices.ResourceManagementServiceSection, Microsoft.ResourceManagement.Service"/>
        <section name="resourceSynchronizationClient" type="MIIS.ManagementAgent.ResourceSynchronizationClientSection, mmsmafim"/>   
      </configSections>
      <!--
        .NET Runtime startup configuration: If you use a .NET 4.0 runtime, the useLegacyV2RuntimeActivationPolicy attribute is required and must be set to "true".
        When multiple versions of the runtime are listed, the first supportedRuntime element should specify the most preferred version of the runtime,
        and the last element should specify the least preferred version.
        Currently, the Synchronization Service supports the following runtime choices: v2.0.50727 and v4.0.30319. If selected, the version must be found in the \Windows\Microsoft.NET\Framework or \Windows\Microsoft.NET\Framework64 directories.
       -->
      <startup useLegacyV2RuntimeActivationPolicy="true">
        <supportedRuntime version="v4.0.30319"></supportedRuntime>
        <supportedRuntime version="v2.0.50727"></supportedRuntime>
      </startup>
      <!--
      <resourceManagementService/>
            Additional properties that can be specified for the <resourceManagementService /> configuration section
            PropertyName                                   
    DefaultValue                                Description
            dataReadTimeoutInSeconds                        58                                         
    Database timeout for read operations
    Range: 0-max(int16)
            dataWriteTimeoutInSeconds                       58                                         
    Database timeout for write operations
    Range: 0-max(int16)
            synchronizationDataReadTimeoutInSeconds         1200                                       
    Synchronization operations (FIM MA import / export)
    that read from the FIM Service are tied to this timeout
    to allow these operations extra time to complete if there
    are a large number of objects / values in a batch.                                                                                                   
    Range: 0-max(int16)
            Note: The following registry key : ReadTimeOut , in the registry path : HKLM\SOFTWARE\Microsoft\Forefront Identity Manager\2010\Synchronization Service ,
            overrides the synchronizationDataReadTimeoutInSeconds property.
            synchronizationDataWriteTimeoutInSeconds        1200                                       
    Synchronization operations (FIM MA import / export)
    that write to the FIM Service are tied to this timeout
    to allow these operations extra time to complete if there
    are a large number of objects / values in a batch.                                                                                                   
    Range: 0-max(int16)       
            externalHostName                                Defined by
    Administrator during set-up      This value is used by FIM to define the external host name
    that should be used by clients to connect to FIM when you deploy
    a Load Balanced configuration.       
        -->
      <resourceSynchronizationClient/>
      <!--
            Additional properties that can be specified for the <resourceSynchronizationClient /> configuration section. This configuration is used to configure the FIM MA
            settings.
            PropertyName                                   
    DefaultValue                                Description
            asynchronous                                   
    true                                        This property controls
    whether FIM MA uses the older synchronous channel
    or the new asynchronous channel when communicating with FIM Service.
            aggregate                                      
    true                                        This property controls
    whether FIM MA can send data to FIM Service in batches.
            aggregationThreshold                            1000                                       
    This property controls the number of attributes per aggregated batch.
            delayUpdateAcknowledgements                     false                                      
    This property controls whether the FIM Management Agent sends acknowledgements to
    FIM Synchronization Service immediately upon Request completion, or withholds them
    until the end for Update operations. Setting this to true may reduce the overall time
    to export data, but the FIM Synchronization Service UI statistics are not updated as frequently.
            exportRequestsInProcessMaximum                  50                                         
    This property controls the maximum number of export requests that
    can be in process.              
        -->
        <system.diagnostics>     
            <sources>
                <source name="ForefrontIdentityManager.ManagementAgent" switchValue="Warning">
                    <listeners>
                        <add initializeData="ForefrontIdentityManager.ManagementAgent" type="System.Diagnostics.EventLogTraceListener, System, Version=2.0.0.0, Culture=neutral,
    PublicKeyToken=b77a5c561934e089"
                             name="MAExceptionEventLogListener" traceOutputOptions="LogicalOperationStack, DateTime, Timestamp, Callstack">
                        <filter type="" />
                        </add>
                    </listeners>
                </source>
                <source name="ForefrontIdentityManager.ManagementAgent.EventTracingForWindowsTraceSource" switchValue="Verbose">
                    <listeners>
                        <add name="MAEventTracingForWindowsListener"
                             type="System.Diagnostics.Eventing.EventProviderTraceListener, System.Core, Version=3.5.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"
                             initializeData="{C4D0C1D4-909D-481b-B011-10E682A6009C}" />
                    </listeners>
                </source>
            </sources>
        </system.diagnostics>
        <!-- Instructions for collecting ETW Traces
             To collect ETW traces for Microsoft.ResourceManagement.Service. Run the following commands in the specified order from
             an elevated command prompt.
                1. To start a new etw trace session    : logman start mysession -p {C4D0C1D4-909D-481b-B011-10E682A6009C} -o FIMMAETWtrace.etl -ets
                2. To stop a running etw trace session : logman stop mysession -ets
                To format the collected traces run any of the following commands (from an elevated command prompt) depending
                on the required output format.
                1. tracerpt FIMMAETWtrace.etl -o FIMMAEventTrace.xml -of XML -lr -summary FIMMAEventTraceSum.txt -report FIMMAEventTraceRpt.xml
                2. tracerpt FIMMAETWtrace.etl -o FIMMAEventTrace.evtx -of EVTX -lr -summary FIMMAEventTraceSum.txt -report FIMMAEventTraceRpt.xml
                3. tracerpt FIMMAETWtrace.etl -o FIMMAEventTrace.csv -of CSV -summary FIMMAEventTraceSum.txt -report FIMMAEventTraceRpt.xml  
      -->
        <!--
           Full Diagnostics configuration.
           Uncomment the following section and replace the default <system.diagnostics> configuration to
           enable all trace sources and obtain all available traces for Microsoft.ResourceManagement.Service
      -->
        <!--
        <system.diagnostics>     
            <sources>      
                <source name="System.ServiceModel" switchValue="Verbose"
                  propagateActivity="true">
                    <listeners>                  
                        <add name="ServiceModelTraceListener">
                            <filter type="" />
                        </add>
                    </listeners>
                </source>
                <source name="ForefrontIdentityManager.ManagementAgent" switchValue="Verbose">
                    <listeners>
                        <add initializeData="ForefrontIdentityManager.ManagementAgent" type="System.Diagnostics.EventLogTraceListener, System, Version=2.0.0.0, Culture=neutral,
    PublicKeyToken=b77a5c561934e089"
                             name="ExceptionEventLogListener" traceOutputOptions="LogicalOperationStack, DateTime, Timestamp, Callstack">
                        <filter type="" />
                        </add>
                        <add name="ServiceModelTraceListener">
                            <filter type="" />
                        </add>
                    </listeners>
                </source>
                <source name="ForefrontIdentityManager.ManagementAgent.EventTracingForWindowsTraceSource" switchValue="Verbose">
                    <listeners>
                        <add name="EventTracingForWindowsListener"
                             type="System.Diagnostics.Eventing.EventProviderTraceListener, System.Core, Version=3.5.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"
                             initializeData="{C4D0C1D4-909D-481b-B011-10E682A6009C}" />
                    </listeners>
                </source>
            </sources>      
            <sharedListeners>
                <add initializeData="ForefrontIdentityManager.ManagementAgent_tracelog.svclog"
                  type="System.Diagnostics.XmlWriterTraceListener, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"
                  name="ServiceModelTraceListener" traceOutputOptions="LogicalOperationStack, DateTime, Timestamp, ProcessId, ThreadId, Callstack">
                    <filter type="" />
                </add>
            </sharedListeners>
            <trace autoflush="true" />
        </system.diagnostics>
        -->
      <!--
        .NET Runtime startup configuration: If you use a .NET 4.0 runtime, the useLegacyV2RuntimeActivationPolicy attribute is required and must be set to "true".
        When multiple versions of the runtime are listed, the first supportedRuntime element should specify the most preferred version of the runtime,
        and the last element should specify the least preferred version.
        Currently, the Synchronization Service supports the following runtime choices: v2.0.50727 and v4.0.30319. If selected, the version must be found in the \Windows\Microsoft.NET\Framework or \Windows\Microsoft.NET\Framework64 directories.
       -->
      <startup useLegacyV2RuntimeActivationPolicy="true">
        <supportedRuntime version="v4.0.30319"></supportedRuntime>
        <supportedRuntime version="v2.0.50727"></supportedRuntime>
      </startup>
      <runtime>
        <assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
          <dependentAssembly>
            <assemblyIdentity name="Microsoft.MetadirectoryServicesEx" publicKeyToken="31bf3856ad364e35" />
            <bindingRedirect oldVersion="3.3.0.0" newVersion="4.0.1.0" />
            <bindingRedirect oldVersion="4.0.0.0" newVersion="4.0.1.0" />
          </dependentAssembly>
        </assemblyBinding>
      </runtime>
    </configuration>

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

    Post Author: lurked
    CA Forum: Data Connectivity and SQL
    Hi guys.The post title explains the problem...I'm using Crystal Report XI : Developper with Windows Server 2003.I need to display reports over the web, so I'm using the Crystal Report ActiveX Viewer.All is working fine for now, except the following : When I try to show the report, I only see the Viewer's border, with the viewer empty, and on the top, its written : Failed to load database information. Details: The database DLL 'crdb_odbc.dll' could not be loaded.
    I searched my computer, and I found many different crdb_odbc.dll(I used many different versions of Crystal Report), they all are in the Common Files folders, and I tried to register it, but since there is no Entry, I cant register it. I also un/re-installed Crystal Report, both on the server AND on the client machine, and I keep getting the same error message.So I'm kinda stuck now.. If anybody knows where I should head first, to get over this problem, it would be very nice.Thanks.François BoivinSTAS, Analyst Programmerwww.stas.biz

    Post Author: V361
    CA Forum: Data Connectivity and SQL
    when you set up your ODBC connection what type of connection did you create. Does it work from any machine ?.  You might want to try adding another ODBC connection to the Windows Server, Chose System DSN (If that is appropriate for your environment) and try the openlink generic (Again If that is appropriate for your environment) Whatever you call this connection, you will need a clone on the server side as well, same name, same case, same everything....   Not sure if this will help, but I had some situations were I got a similar error, and doing the above fixed my problem....  ( I am using SQL server though, so....)

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

    I'm using Visual Studio 2008 to develop an ASP.NET application to display reports created using Crystal Reports XI.
    We currently have a working VB6 application that employees use to launch reports written in Crystal Reports XI. My task is to rewrite the user interface using Visual Studio 2008 in ASP.NET and provide the reports on our company ASP.NET portal.
    The reports that need to be launched are all existing reports written in XI. There is no VB code that defines data connection; it just launches the report in a report viewer.
    Here is the VB 6 code:
    Set CrystalApplication = CreateObject("CrystalRuntime.Application.9")
    Set CrystalReport = CrystalApplication.OpenReport(grsReports!ReportFile)
    crViewer.ReportSource = CrystalReport
    crViewer.ViewReport
    Very simple!
    Now this should be simple to reproduce in ASP.NET page; 30min top.
    Dim crystalReport As New ReportDocument()
    crystalReport.Load(q.ReportLoc)
    CrystalReportViewer1.ReportSource = crystalReport
    I created the page threw it up on the server and everything looks fine. When the user selects a report they are presented with a box that says enter values. They enter the date range and select OK. Then BOOMB!
    The error message u2013 u201CFailed to load database information. Details: The database DLL 'crdb_p2bbtrv.dll' could not be loaded. Error in File C:WINDOWSTEMPvoucher reprint by voucher {AE5F62B2-1704-428D-8DCD-4BD83001BF49}.rpt: Failed to load database information.u201D
    When I open the report in Crystal it works just fine and I dont get any errors, even on the server
    I installed process monitor on the server
    1. I've deployed the CRRedist2008_x86.msi (BootStrapper)  on the server.
    2. Installed Crystal Report XI on the server
    3. Installed pervasive PSQL
    I folllowed the SAP links.
    http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/oss_notes_boj/sdn_oss_boj_dev/sap(bD1lbiZjPTAwMQ==)/bc/bsp/spn/scn_bosap/notes%7b6163636573733d36393736354636443646363436353344333933393338323636393736354637333631373036453646373436353733354636453735364436323635373233443330333033303331333333363338333933333331%7d.do
    Install the Btrieve database engine on the system with the Visual Studio .NET application.  How do I do that?
    Thank you

    Hi Larry,
    The problem is you originally used the CR Basic version which is included with VS 2008, cr version is 10.5. So what you are doing is going backwards in CR runtime version.
    Next problem is CR Basic for VS 2008 does not include the native Btrieve driver and the one included in the XI runtime will not work in VS 2008. VS 2008 and CR basic only supports the basic ODBC, OLE DB and few others drivers...
    When you downloaded the trial version of CR 2008 use Service Pack 3 full version and rebuild your app with the updated 12.3.x.x runtime, 12.0.1100.x and 12.0.2000.x assembly versions. And when you do install CR 2008 SP 3 select the custom option to manually select the native btrieve/pervasive driver, it's not installed by default. Now your application will spefifically look for CR 2008 rutime, if you don't update by rebuilding the app it will continue to use the 10.5 runtime.
    Now when you build your deployment package also use the Service Pack 3 Redist MSI package, it will include the native driver.
    If you don't purchase CR 2008 your license will run out in a month and your users will not be able to continue using your app.
    If you don't upgrade your only option is to convert your reports to ODBC and then verify you are not using any CR XI specific features, they won't work in CR 10.5 runtime.
    Hope this clears it all up for you?
    Thank you
    Don

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

    I have built a .net 2.0 website that is using Crystal Report Viewer with an Oracle 10g Database. All works well on my local machine but when deployed to the web server I get the following error:
    Failed to load database information. Details: The database DLL 'crdb_oracle.dll' could not be loaded. Error in File C:\DOCUME1\DMTEST\ASPNET\LOCALS1\Temp\test {BB80E9A1-92CE-402D-A52A-47ECE4330794}.rpt: Failed to load database information.
    I have run the Crystal Reports for .Net Framework 2.0 setup and have located the 'crdb_oracle.dll' file in the C:\Program Files\Common Files\Business Objects\2.7\Bin directory. Am I missing a step in this process.
    The Web Server is a Windows 2000 box.
    Thank,
    John

    I am having a similar problem.  However, I do not have CR installed, but want to use only CR from within VS 2008 and deploy a ASP.NET reporting app to IIS.  If I create a simple report with no parameters it will run fine in both VS and IIS.  However, if I add a parameter to the report such as UserId={?Parameter1} then on execution, the report will prompt for the parameter and then throw this error, "The database DLL 'crdb_oracle' could not be loaded."
    I have added full privileges to the ASP.NET, IUSR, and IWAM for the Oracle folder.  I also search the hard drive and find only one OSI.dll and no crdb_oracle.dll.
    Can you tell me if my scenario is supported with VS 2008 only?
    I am connecting to the DB like this:
                ConnectionInfo connectionInfo = new ConnectionInfo();
                connectionInfo.ServerName = "Driver={Microsoft ODBC for ORACLE};Server=localhost;Port=1521;";
                connectionInfo.DatabaseName = "dev";
                connectionInfo.UserID = "...";
                connectionInfo.Password = "...";
                TableLogOnInfos tableLogOnInfos = CrystalReportViewer1.LogOnInfo;
                foreach (TableLogOnInfo tableLogOnInfo in tableLogOnInfos)
                    tableLogOnInfo.ConnectionInfo = connectionInfo;
    Thank you,
    Travis

  • The specified cache entry could not be loaded during initialization

    The OBIEE server is failing every few minutes of working.
    I saw in the NQServer.log:
    The specified cache entry could not be loaded during initialization.
    Cache entry, '/home/oracleadmin/OracleBIData/cache/NQS_rprt_734086_39693_00000001.TBL', is invlaid due to either non-existing file name, size does not match, exceeding maximum space limit nor exceeding maximum entry limit, and it's been removed.
    I checked the directory and there is no space limitation.
    Can someone please clarify?
    The server/Config/NQSConfig.INI is as follows:
    [ CACHE ]
    ENABLE = YES;
    DATA_STORAGE_PATHS = "/home/oraceladmin/OracleBIData/cache" 2000 MB;
    MAX_ROWS_PER_CACHE_ENTRY = 100000; // 0 is unlimited size
    MAX_CACHE_ENTRY_SIZE = 1 MB;
    MAX_CACHE_ENTRIES = 1000;
    POPULATE_AGGREGATE_ROLLUP_HITS = NO;
    USE_ADVANCED_HIT_DETECTION = NO;
    MAX_SUBEXPR_SEARCH_DEPTH = 7;

    It's more than enough if you are using it for .tmp and .tbl files storage. Have you checked work_directory_path in NQSConfig.ini file .Is it on diffrent mount point.Usually we wil create a seperate mount point and use that as storage location.
    b. Instead of using SAPurgeAllCache() , can I add shell script which delete the files fromt the cache directory and the execute run-sa.sh?You need to understand diffrence between OBIEE rpd cache and .tbl and .tmp file. SAPurgeAllCache() will purge cache from RPD.It wont purge .tmp or .tbl files.These files will be stored in some physical location.When a report start executing .tmp file will start evoluting and after execution of report it will be purged by OBIEE server automatically.
    see this blog for some insight into this topic
    Re: TMP Files uneder /OracleBIData/tmp
    Regards,
    Sandeep

  • The data base DLL 'crdb_dao.dll' could not be loaded.

    This has  been posted in other threads but I've not seen a final resolution.
    I used VS2008 to create an application that includes Crystal Reports and One Click in VS2008 to create a runtime system to distribute my application.  The system installs and runs properly on a 32 bit system but fails to run on a 64 bit system.  I get a message on the 64  bit system that says
    The data base DLL 'crdb_dao.dll' could not be loaded.
    I cannot find the crdb-dao.dll module on the 64 bit system but can find it on the 32 bit system.   Can anyone tell me how to overcome this problem?
    Thanks!
    John

    Hi John,
    Moved to .NET Developer Forum. As noted in those other threads, there is no 64 bit version of the DAO driver. Your only option is to use ODBC or OLE DB.
    No plans to create one because I don't Microsoft does NOT support their Access driver in 64 bit modes. See this Microsoft article on the history and supportability of DAO:
    http://msdn.microsoft.com/en-us/library/ms810810.aspx
    In this article it states:
    There is no 64-bit version of the Jet Database Engine, the Jet OLEDB Driver, the Jet ODBC Drivers, or Jet DAO available. This is also documented in KB article 957570. On 64-bit versions of Windows, 32-bit Jet runs under the Windows WOW64 subsystem. For more information on WOW64, see http://msdn.microsoft.com/en-us/library/aa384249(VS.85).aspx. Native 64-bit applications cannot communicate with the 32-bit Jet drivers running in WOW64.
    Thank you
    Don
    Edited by: Don Williams on Apr 27, 2010 6:56 AM

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

    Hi Experts,
    We are facing the following problem on windows 2008 64bit machine with crystal reports 2008 and ODBC connectivity.
    We are upgraded our production server OS to Windows 2008 64bit machine,After upgrade some of the crystal reports are not working and throughing the following error
    Failed to load database information.Details: The database DLL 'crdb_query.dll' could not be loaded
    Not able to find the exact reason.There is no difference between working and non-working reports.
    On server we installed Crystal reports 2008 developer and runtime version.Our application is build on .net and to connect to database from crystal reports we are using ODBC connectivity and our database is oracle
    Any idea how to resolve this one?
    Thank you.
    Edited by: venkat_crystal on May 18, 2011 6:57 AM

    CR 2008 and it's runtime is 32 bit only. Make sure your database client also is 32 bit and you added your DSN using the 32 bit ODBC Administrator.
    As long as you use Service Pack 3 it should work. windows 7 was added to SP 2 and 2008 is it's matching Server OS so it should work.
    How did you distribute the runtime?
    Thanks
    Don

  • Tha database connector 'crdb_p2bxbse.dll' could not be loaded.

    Hi there,
    When I try to load a DBF file (dBase IV), I'm getting following error:
    Failed to load database information.
    Tha database connector 'crdb_p2bxbse.dll' could not be loaded.
    The correct verision of the database client for this database type miight not be installed.
    Any idea how to resolve this one?
    Thank you,

    Convert your reports to use ODBC, that should always work.
    You did not say what version or anything else but it's possible that driver is no longer shipped.
    Thank you
    Don

  • W.I.C.S Nationwide Error Connecting - Specified driver could not be loaded due system error 998

    I am currently virtualising W.I.C.S Nationwide with APP V 5.0 SP1 on a Windows 64BIT machine. When I install and launch the application manually I am able to log into the application successfully without issues.
    When I sequence the application, I get nothing in the report to suggest any issues. in fact the report has nothing. After sequencing, when testing the application on a client machine (Which is a mirror copy of the sequencing machine), once I put in the log
    in credentials and try to connect with the application, I get the below error message:
    Error Connecting - 2147467259 :Specified driver could not be loaded due system error 998:Invalid access to memory location. (Oracle in Installclient11_1,C:\ProgramData\App-V\86B33AE4-890E-4E98-AD4F-C4F7A1FCA0DE\4D075A01-3775-4BEA-BEC4-5414B3B0D02E\Root\instantclient_11_1\sqora32.dll).
    I was wondering if anyone has had this issue with a similar application that tries to load an ODBC driver and if so how did you resolve it
    UObi

    When Sequencing did you try to go into ODBC and test the connection?  Is that file in that location? If you run a ProcMon, what results does that produce in relation to the sqora32.dll?
    Out of interest, have you tried sequencing on a 32-bit machine? I haven't had an issue yet but am wondering if it's a 32-bit driver running on 64-bit and not running correctly for some reason, either way, a ProcMon may give you some clues. Sorry, can't be
    much help
    PLEASE MARK ANY ANSWERS TO HELP OTHERS Blog:
    rorymon.com Twitter: @Rorymon

  • Failed to load database information DLL crdb_p2smapi.dll could not be loade

    Hello,
    Iam using Crystaldelivery to view mij crystal reports.
    I have made a report to read in my outlook agenda.
    The design of the report is made in Crystal report XI release 2.
    First when we open the viewer you can select the parameters and then comes the error message.
    Now when i want to view the report in Crystaldelivery or any other crystal viewer (i tried with more viewers) i get the message:
    Failed to load database information.
    Details: The database DLL crdb_p2smapi.dll could not be loaded.
    Error in file: PATH TO THE TEMP FILE.rpt:
    Failed to load database information.
    Can somebody help me with this?
    What makes this error to come up and how can we get the message away and we can view the report.
    thx

    Well, you are still not giving enough info to suggest things so I recommend purchasing a support and working with a Support engineer to resolve the issue. It's obvious information requests is being lost here so to get this resolved please contact CIC and purchase a case.
    http://store.businessobjects.com/store/bobjamer/DisplayProductByTypePage&parentCategoryID=&categoryID=11522300?resid=-Z5tUwoHAiwAAA8@NLgAAAAS&rests=1254701640551
    Thank you
    Don

  • The database connector "Crdb_p2bpfx.dll" could not be loaded

    Hello,
    I received a new laptop, and now my reports no longer work.  I get the error "The database connector "Crdb_p2bpfx.dll" could not be loaded" then several others that follow.  I have ODBC connections setup that test successfully and I connect to the database via other means.  I am using Crystal Reports Professional  version 11.5.12.1838 on Windows 7. I have seen a few other posts regarding this file, but nothing that seemed to address my particular situation.  Any help would be greatly appreciated, Thank you.

    No references. Only from the DB driver name it tells me you are using a report that was originally created off that Third Party DB driver. How to get around it is something we don't have any details on nor can we. Search using Google, it may tell you something..
    After searching I see it is the DataFlex Driver: http://www.pfxcorp.com/faqcrystal.htm
    PFXcrystal FAQ
    How can Crystal Reports 9, 10, XI, XI R2 and 2008 work with PFXplus data?
    Crystal Reports can access Powerflex database directly, connecting via PFXcrystal; or through ODBC, connecting via PFXodbc.
    Contact DataFlex for assistance... They were an OEM Partner or had the source code. So somewhere you got those reports from their product and or package...
    Don
    Edited by: Don Williams on Jan 16, 2012 1:54 PM

  • Dependent module os4apilib.so could not be loaded

    Hi ALL
    Now I'm installing PI 7.1 on AS/400, when proceed to step import ABAP, an error about "Dependent module os4apilib.so could not be loaded" occurs. According to note 978127 and 1017181, it looks like a similar case to this one but it's for kernel 700. After I tried to replace os4apilib.so in directory /usr/sap/XD2/SYS/exe/uc/as400_pase_64/ with a new one extracted from SCSCLIENT_3-20001357.SAR, the issue still persists.
    Please refer to below for error details:
    WARNING    2009-01-30 17:32:06.065
               CJSlibModule::writeWarning_impl()
    Execution of the command "/usr/sap/XD2/SYS/exe/uc/as400_pase_64/R3load -testconnect" finished with return code 255. Output:exec(): 0509-036 Cannot load program /usr/sap/XD2/SYS/exe/uc/as400_pase_64/R3load because of the following errors:
            0509-150   Dependent module os4apilib.so could not be loaded.
            0509-022 Cannot load module os4apilib.so.
            0509-026 System error: A file or directory in the path name does not exist.
            0509-021 Additional errors occurred but are not reported.
    ERROR      2009-01-30 17:32:06.068
               CJSlibModule::writeError_impl()
    CJS-30023  Process call '/usr/sap/XD2/SYS/exe/uc/as400_pase_64/R3load -testconnect' exits with error code 255. For details see log file(s) R3load.exe.log.
    ERROR      2009-01-30 17:32:07.61 [sixxcstepexecute.cpp:940]
    FCO-00011  The step testDatabaseConnection with step key |NW_Onehost|ind|ind|
    ind|ind|0|0|NW_Onehost_System|ind|ind|ind|ind|1|0|NW_CreateDBandLoad|ind|ind|
    ind|ind|10|0|NW_ABAP_Import_Dialog|ind|ind|ind|ind|6|0|NW_ABAP_Import|ind|ind
    |ind|ind|0|0|testDatabaseConnection was executed with status ERROR (Last error reported by the step :Process call '/usr/sap/XD2/SYS/exe/uc/as400_pase_64/
    R3load -testconnect' exits with error code 255. For details see log file(s) R3load.exe.log.).
    Thanks very much for any kinds of help provided here.
    Best regards,
    Effan

    I hardly remember how I resolved it, my friend. But start trying with latest installation master and kernel if that's a choice for you, maybe I loaded the latest ILE introduced by some notes. If it doesn't help, retry it and sort the installation directory by time sequence and then find all related logs. Please open a new thread for open discussion.
    BTW, why not to install 7.11 if this is a new instance? I just finished one, it's still warm to support you.
    Regards,

  • Bex report does not show loaded data at once

    Hi experts,
    Why Bex report does not show loaded data at once after loading is finished but after some time?
    Could be the reason of it:
    a) huge amount of data in infocube.
    b) there are no deleting/creating indexes before/after loading, because it takes too much time
    c) anothe reason?
    Thank you,
    Tigr_Z

    Hi Tigr,
    A and B both can be the reasons behind, but normally in case of B option the results on report output can be wrong like duplicates sort of showing you double figures.
    C - it can be resource issue, so please look into all and double check with basis if thats the case.
    Regards
    Sunny

Maybe you are looking for

  • FAQ: I found a bug. How do I write a useful bug report? Or send bug files to Adobe?

    If you think you've found a bug in Photoshop CS6, please post your findings here on the forums. Here is a list of the information we'll want for you to gather at a minimum: Clear and concise steps so that someone who isn't in front of your comptuer c

  • Email header printing on separate page

    Not sure what I did, but now when I print an email, the header (to/From:) prints on the first page and then the main email prints from page 2 on.  I can not see where this can be changed.  They used to print together as they do on my other Macs.  Jus

  • Essbase server is invalid. Not registered with Shared Services

    Hi, I am trying to deploy EPMA Essbase application after we upgrade to 11.1.2.2 from 11.1.2.0. I get this error. Application server '<Server>:1423' is invalid. It is not registered with Shared Services. URI: http://<Server>/awb/integration.verifyAppl

  • Combining Audiobook files.

    How can I combine 900 audiobook files, from one book, into one file after it is in iTunes?

  • Displaying URL (in work item description) as Hyperlink in UWL

    Hi experts, I have successfully configured my UWL to retrieve and display work items under "Tasks" tab. However some of the work items contain a URL which I would like to display as a hyperlink (i.e. clicking on the hyperlink opens a new browser wind