Spreadsheet report failing

Hey,
I am trying to run several Oracle reports through portal using the PDF, and SPREADSHEET desformat's, but the spreadsheet format is failing for reports that are bigger then 350 or so pages, but works fine in PDF. I am getting the following error for the spreadsheet format 'REP-56048: Engine rwEng-0 crashed, job Id: 1837' .
Any ideas on what is causing and how to fix this?
Thanks

Osman,
All the queries that are in the derived tables are syntax wise correct. There is no issue with them
I have clearly mentioned that this universe is in unx format for which derived table cannot be referenced through launch pad.
Also, we are on SAP BO4.1 SP3 and not on 3.x.. I'm awaiting for your further response

Similar Messages

  • Can't get spreadsheet report with JRE update 27 and up

    oracle forms reports 10g r2. client: IE 8, win xp sp3, jre 1.6 update 29. server: win 2003.
    I have a few reports rendering spreadsheet format, I ran those reports in forms, and get the report result with web show document and getjobid, then browser window crashed, failed to show the spreadsheet report. pdf report is fine though.
    worked before JRE update 25. any idea?
    much thanks.

    Well, you haven't really shared enough information, so we can jus offer a guess.
    I. Did you uninstall all old JRE versions before installing the new one?
    2. How exactly are you attempting to open an Excel doc in the browser? In other words, are you just calling the Excel doc? Have you attempted to set the mime type...? Example:
    -- Send to Excel?    
            If v_excel = 'yes' Then    
         mimetype := '&mimetype=application/vnd.ms-excel';
            End if;     
             WEB.SHOW_DOCUMENT('/reports/rwservlet/getjobid'||substr(v_rep,instr(v_rep,'_',-1)+1)||'?'||'server='||v_repServerName || mimetype,'_blank'); 3. Exactly which version of Forms are you using?
    4. Exactly which version of Office/Excel is installed on the client?
    5. You claimed this worked with 1.6.0_25. Have you tried to uninstall _29 and resintall _25 in order to verify your suspicion? I doubt the JRE version is the cause of the problem in this case.

  • Error in report generation-Load report failed

    I have installed crystal reports  for VS2005 runtime in my live environment.When i try to load the report file from a .Net page i am getting the error'Error in Report generation-Load report failed'.
    This works fine in development and testing but when moved to production we are having issues.
    I believe i have a workaround i.e i need to open the rpt in a VS 2005 environment and re-write the connection string again.This fix had worked in development and testing when we had the same issue.
    But not sure if this is a known issue with crystal reports and if so do we have any hot fixes for the same.
    Please help.

    Hi Don,
    The reason why i posted the item on 'data Connectivity issues' is because i suspect the problem is with the connection string.Though i had provided the correct connection string,re-writing the connection string with the same info might help to fix the issue with loading the report.
    Does it mean that there is a problem in the connectivity?
    I have a risk here that i cant re-write the connection string..i.e to open the RPT file in VS2005 and bind it.The production web server & database server sits in a  third party environment and it is not in the company network.So i cant connect to this server to re-write from any other severs in the network.
    Is there any fix which can applied to the server to get this issue resolved?
    Cheers
    Nithya.

  • Report failing with error

    Hi All,
    Application R12.1.3 with Shared Application Tier 2 nodes
    Database : 11g R 11.2.0.2 with RAC 2 nodes with ASM
    We have a concurrent program which gets fired when submitted thru API . For each order program is run once . If there are more orders it will run n number of times . At this time one request is failing with error
    REP-0004:
    REP-0069:
    REP-57054:
    But for the same failed request when we run separately(with same parameters) it is completing Normal . There is no other error in Manager Logs.
    please help what can be the issue.
    thanks
    Mapps

    Please see the following docs/links.
    Concurrent Processing - Concurrent Reports Failing With Errors REP-0004,REP-0082 and REP-0104 [ID 844976.1]
    https://forums.oracle.com/forums/search.jspa?threadID=&q=REP-0004+AND+REP-0069+AND+REP-57054&objID=c3&dateRange=all&userID=&numResults=15&rankBy=10001
    If the links did not help, please enable trace/debug and see if you get more details about the error and post the contents of the log file then -- How Can Trace and Debug Be Turned On For A Concurrent Request? [ID 759389.1]
    Thanks,
    Hussein

  • Crystal Reports with VS2005 - Load Report failed Error....

    Post Author: rajeshvijayan
    CA Forum: Older Products
    Hi,
    I am running Crystal Reports viewer on IIS6.0 and windows server 2003, which was installed using the redistributable package that comes along with Visual Studio 2005. We open these reports through a web based application 1 which is run on a different application pool on IIS. We have about 3 to 4 other web applications runing on the same IIS. All the other Web applications are working fine.
    This  web application 1 has 2 parts - one is the normal data display quiries from the back end SQL server 2005 and the other is the Crystal Reports which also quires data from SQL Server 2005. At times i find that these reports all of them throw an error - Load Report Failed. At the same time the Part 1 of this application does work fine in showing the data that is queried from the database. Moreover at this stage, I dont find any errors in the Event viewer. If i restart this application pool alone, the reports starts working fine again.
    I had gone through a few of the news groups and have made all the necessary permission related changes like the TEMP Folder, ASP.NET temporary folder, the folder in which the crystal reports is placed etc but still the same error throws up after some point in time. Wanted to know if there is any special configuration required on the Application pool when it comes to Crystal Reports. We have bout 10 to 15 users using this application for testing and it only throws this error at times and not always.
    Looking forward to any kind of solution from your side.
    Regards
    Rajesh

    Post Author: mikeeby
    CA Forum: Deployment
    Yes I too have been fighting this problem. I was using a XML Data file and schema file for my u201Cdatabase templateu201D in the report. I would then run my query using the .NET SQLClient then fill the report with my dataset table using the SetDataSource method from the ReportDocument object.
    I tried both embedded and runtime loaded reports all worked fine on my development machine but would NOT work on my production server. I use all the server installs, played with user rights, registering DLLu2019s still nothing.  I went as far as creating a winform app to fix the problem. I then had exactly the same problem, I was catching the error and it originated from the viewer control in both winform and webforms.
    What finally worked for me was to attach to the database using OLE DB instead of XML/schema (xml/xsd) datasource then pasting my SQL Query into the database connection command this gave me the fields to build the report. I actually used the u201CSet Database Locationu201D Dialog in Crystal Reports so I didnu2019t have to redesign my report. This dialog works very weird but I managed to figure it out. I then used an embedded report and all seem to be well. I think there is a problem with the Crystal Reports .NET Server Install and Merge Modules used with .NET with XML files, but I cannot be sure, all I know is this worked for me.
    I am concerned that if my database server is moved or renamed my report might break because the server connection is embedded in the report, but for right now it is working. I thought that was the reason for using the xsd file was to eliminate the dependence on a server connection in the report.
    Good luck and I hope this helps you fix your problem too. If it does please let me know I have see so many reports of people asking questions about this problem and it seems like most are left hanging.
    Mike

  • NFR 2.5 - no autogenerated reports, fails on generation

    Hello,
    we have NFR 2.5 installation with mutiple bindings to Windows and OES servers. The scans works well and we received information inside the databases (PG 9.2). I created some reports which will be work in the preview mode. The next step to schedule the reports fails. There are no reports inside the "stored reports" section. I reconfigure the log level to debug and see an error inside the report generation "Report generation completed with errors or warnings for report SERVER_FS_filextension: System.NullReferenceException: Object reference not set to an instance of an object. at SRSReportGenerator.SRSReportGenerator.ReportThread (Object obj)".
    Which are the next steps to fix this issue? Is there an other way to analyse the problem? I get the same error level for all reports on the system. I try also to delete these reports and recreate a new one.
    Here you found a trace from the report generation:
    01 2015-01-27 15:38:00 3600 5 800c 2848 3000 Sched, ST: Removed task AgentManagerService Scheduled Task 3 from schedule queue.
    01 2015-01-27 15:38:00 3600 8 8010 2848 4588 SQL: SQL Processing SQL stored procedure: 'srs.add_scan_active_task_entry', Param 0 (): '<?xml version="1.0" encoding="UTF-8"?><ScanScheduleSetupTask><TaskType>2</TaskType><ScanType>2</ScanType><ScheduleID>283</ScheduleID><PolicyID>17</PolicyID></ScanScheduleSetupTask>', Param 1 (): '0'
    01 2015-01-27 15:38:00 3600 5 800c 2848 4588 Sched, RT: ScanSchedulerService Scheduled Task 283 executed, Result = 0.
    01 2015-01-27 15:38:00 3600 5 800c 2848 4588 Sched, RT: This is the last execution for ScanSchedulerService Scheduled Task 283.
    01 2015-01-27 15:38:00 3600 5 0005 2848 748 SSC: Starting initial setup for report definition 17, schedule 283, type: 2...
    01 2015-01-27 15:38:00 3600 5 0005 2848 748 SSC: Dispatching scheduled report, schedule 283, report definition id 17...
    01 2015-01-27 15:38:00 3600 8 8010 2848 748 SQL: SQL Processing SQL query: 'SELECT * FROM srs.report_definitions WHERE id=?', Param 0 (): 17
    01 2015-01-27 15:38:00 3600 8 8010 2848 748 SQL: SQL Processing SQL stored procedure: 'srs.add_report_in_progress_entry', Param 0 (): '17', Param 1 (): '1', Param 2 (): '0'
    01 2015-01-27 15:38:00 3600 8 8010 2848 748 SQL: SQL Processing SQL stored procedure: 'srs.add_scan_active_task_entry', Param 0 (): '<?xml version="1.0" encoding="UTF-8"?><ReportExecutionTask><ReportDefinitionID>17 </ReportDefinitionID><InProgressReportID>40</InProgressReportID><PriorityLevel>3604529</PriorityLevel></ReportExecutionTask>', Param 1 (): '6'
    01 2015-01-27 15:38:00 3600 8 8010 2848 748 SQL: SQL Processing SQL query: 'DELETE FROM srs.scan_active_tasks WHERE id=?', Param 0 (): 592
    01 2015-01-27 15:38:00 3600 5 0005 2848 2252 SSC: Report Worker executing report for definition ID 17, priority 3604529...
    01 2015-01-27 15:38:00 3600 8 8010 2848 2252 SQL: SQL Processing SQL query: 'SELECT * FROM srs.report_definitions WHERE id=?', Param 0 (): 17
    01 2015-01-27 15:38:00 3600 8 8010 2848 2252 SQL: SQL Processing SQL query: 'SELECT nt.* FROM srs.notification_targets AS nt JOIN srs.report_notification_targets AS rnt ON nt.id = rnt.notification_target_id WHERE rnt.report_definition_id=?', Param 0 (): 17
    01 2015-01-27 15:38:00 3600 8 8010 2848 4252 SQL: SQL Processing SQL query: 'DELETE FROM srs.scan_active_tasks WHERE id=?', Param 0 (): 593
    01 2015-01-27 15:38:00 3600 8 8010 2848 4252 SQL: SQL Processing SQL stored procedure: 'srs.add_notification_entry', Param 0 (notification_timet): '1422369480', Param 1 (target): '', Param 2 (type): '1', Param 3 (severity): '1', Param 4 (status_code): '-1', Param 5 (destination_type): '2', Param 6 (subject): 'Report generation failure', Param 7 (message): 'An error was encountered while attempting to generate the report SERVER_FS_filextension: System.NullReferenceException: Object reference not set to an instance of an object. at SRSReportGenerator.SRSReportGenerator.ReportThread (Object obj).'
    01 2015-01-27 15:38:00 3600 8 8010 2848 4252 SQL: SQL Processing SQL query: 'SELECT report_name FROM srs.report_definitions WHERE id=?', Param 0 (): 17
    01 2015-01-27 15:38:00 3600 3 0005 2848 4252 SSC: Report generation completed with errors or warnings for report SERVER_FS_filextension: System.NullReferenceException: Object reference not set to an instance of an object. at SRSReportGenerator.SRSReportGenerator.ReportThread (Object obj)
    01 2015-01-27 15:38:00 3600 5 0005 2848 2252 SSC: Report Worker executed report for definition ID 17, priority 3604529, result: 0.
    Thanks for support and help for this issue
    Michael

    On 1/30/2015 6:16 AM, michaelkuerschner wrote:
    >
    > Hello,
    >
    > we have NFR 2.5 installation with mutiple bindings to Windows and OES
    > servers. The scans works well and we received information inside the
    > databases (PG 9.2). I created some reports which will be work in the
    > preview mode. The next step to schedule the reports fails. There are no
    > reports inside the "stored reports" section. I reconfigure the log level
    > to debug and see an error inside the report generation "Report
    > generation completed with errors or warnings for report
    > SERVER_FS_filextension: System.NullReferenceException: Object reference
    > not set to an instance of an object. at
    > SRSReportGenerator.SRSReportGenerator.ReportThread (Object obj)".
    >
    > Which are the next steps to fix this issue? Is there an other way to
    > analyse the problem? I get the same error level for all reports on the
    > system. I try also to delete these reports and recreate a new one.
    >
    > Here you found a trace from the report generation:
    > -------------------
    > 01 2015-01-27 15:38:00 3600 5 800c 2848 3000 Sched, ST: Removed task
    > AgentManagerService Scheduled Task 3 from schedule queue.
    > 01 2015-01-27 15:38:00 3600 8 8010 2848 4588 SQL: SQL Processing SQL
    > stored procedure: 'srs.add_scan_active_task_entry', Param 0 (): '<?xml
    > version="1.0"
    > encoding="UTF-8"?><ScanScheduleSetupTask><TaskType>2</TaskType><ScanType>2</ScanType><ScheduleID>283</ScheduleID><PolicyID>17</PolicyID></ScanScheduleSetupTask>',
    > Param 1 (): '0'
    > 01 2015-01-27 15:38:00 3600 5 800c 2848 4588 Sched, RT:
    > ScanSchedulerService Scheduled Task 283 executed, Result = 0.
    > 01 2015-01-27 15:38:00 3600 5 800c 2848 4588 Sched, RT: This is the last
    > execution for ScanSchedulerService Scheduled Task 283.
    > 01 2015-01-27 15:38:00 3600 5 0005 2848 748 SSC: Starting initial setup
    > for report definition 17, schedule 283, type: 2...
    > 01 2015-01-27 15:38:00 3600 5 0005 2848 748 SSC: Dispatching scheduled
    > report, schedule 283, report definition id 17...
    > 01 2015-01-27 15:38:00 3600 8 8010 2848 748 SQL: SQL Processing SQL
    > query: 'SELECT * FROM srs.report_definitions WHERE id=?', Param 0 ():
    > 17
    > 01 2015-01-27 15:38:00 3600 8 8010 2848 748 SQL: SQL Processing SQL
    > stored procedure: 'srs.add_report_in_progress_entry', Param 0 (): '17',
    > Param 1 (): '1', Param 2 (): '0'
    > 01 2015-01-27 15:38:00 3600 8 8010 2848 748 SQL: SQL Processing SQL
    > stored procedure: 'srs.add_scan_active_task_entry', Param 0 (): '<?xml
    > version="1.0"
    > encoding="UTF-8"?><ReportExecutionTask><ReportDefinitionID>17 </ReportDefinitionID><InProgressReportID>40</InProgressReportID><PriorityLevel>3604529</PriorityLevel></ReportExecutionTask>',
    > Param 1 (): '6'
    > 01 2015-01-27 15:38:00 3600 8 8010 2848 748 SQL: SQL Processing SQL
    > query: 'DELETE FROM srs.scan_active_tasks WHERE id=?', Param 0 (): 592
    > 01 2015-01-27 15:38:00 3600 5 0005 2848 2252 SSC: Report Worker
    > executing report for definition ID 17, priority 3604529...
    > 01 2015-01-27 15:38:00 3600 8 8010 2848 2252 SQL: SQL Processing SQL
    > query: 'SELECT * FROM srs.report_definitions WHERE id=?', Param 0 ():
    > 17
    > 01 2015-01-27 15:38:00 3600 8 8010 2848 2252 SQL: SQL Processing SQL
    > query: 'SELECT nt.* FROM srs.notification_targets AS nt JOIN
    > srs.report_notification_targets AS rnt ON nt.id =
    > rnt.notification_target_id WHERE rnt.report_definition_id=?', Param 0
    > (): 17
    > 01 2015-01-27 15:38:00 3600 8 8010 2848 4252 SQL: SQL Processing SQL
    > query: 'DELETE FROM srs.scan_active_tasks WHERE id=?', Param 0 (): 593
    > 01 2015-01-27 15:38:00 3600 8 8010 2848 4252 SQL: SQL Processing SQL
    > stored procedure: 'srs.add_notification_entry', Param 0
    > (notification_timet): '1422369480', Param 1 (target): '', Param 2
    > (type): '1', Param 3 (severity): '1', Param 4 (status_code): '-1',
    > Param 5 (destination_type): '2', Param 6 (subject): 'Report generation
    > failure', Param 7 (message): 'An error was encountered while attempting
    > to generate the report SERVER_FS_filextension:
    > System.NullReferenceException: Object reference not set to an instance
    > of an object. at
    > SRSReportGenerator.SRSReportGenerator.ReportThread (Object obj).'
    > 01 2015-01-27 15:38:00 3600 8 8010 2848 4252 SQL: SQL Processing SQL
    > query: 'SELECT report_name FROM srs.report_definitions WHERE id=?',
    > Param 0 (): 17
    > 01 2015-01-27 15:38:00 3600 3 0005 2848 4252 SSC: Report generation
    > completed with errors or warnings for report SERVER_FS_filextension:
    > System.NullReferenceException: Object reference not set to an instance
    > of an object. at
    > SRSReportGenerator.SRSReportGenerator.ReportThread (Object obj)
    > 01 2015-01-27 15:38:00 3600 5 0005 2848 2252 SSC: Report Worker
    > executed report for definition ID 17, priority 3604529, result: 0.
    > -------------------
    >
    > Thanks for support and help for this issue
    > Michael
    >
    >
    Michael,
    Would you mind sending an email to [email protected]? We'd like to
    troubleshoot this with you directly. Thank you.
    -- NFMS Support Team

  • Scheuled report failing intermittently With Permission Error

    Hello,
    A scheduled custom report fails some days. The user has permission to both run and schedule the report. There is no problem to view the reports neither to set up the schedule. And the schedule often runs ok, just every now and then it fails with following error.
    errdetail=oracle.apps.xdo.servlet.scheduler.ProcessingException\: Job execution failed because the user who scheduled this job has no more permission or priviledge to run the job. [REPORT_URL]\=[/*********.xdo], [USERNAME]\=[USERNAME]\r\n\********(XDOJob.java\:356)\r\n\tat org.quartz.core.JobRunShell.run(JobRunShell.java\:195)\r\n\tat org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java\:520)\r\nI saw a related document in metalink [ID 1330421.1] but it mentions about sharing the scheduler bertween two instances which I am not sure what that means. I have also checked following forum but for that user the failuer is permanent unlike in our case where its random.
    Schedule problems
    We are currently on;
    Standalone Oracle BI Publisher 10.1.3.4
    Windows 2003
    Using LDAP (MS Active Directory) as a Security Model
    Thanks for your help.

    After we restarted the services, the issue went away. (very strange)

  • How can I modify column width in a spreadsheet report without using an Excel template

    I currently use the LabVIEW Report Generation toolkit in LabVIEW 2011SP1 to create simple spreadsheet reports that I can build/print without having Microsoft Office products installed.  I really like being able to do this, and it allows me to generate nice on-demand data reports - I'm also not tied to having Office installed on the system I'm using, so this works on just about any test fixture I can install the software on.  
    I recently have a requirement that I must have variable-length columns in my report.  I currently use the VI "Append Text Table to Report" in order to create a text table, but the column width requirement is that all columns must be equal width UNLESS I use an Excel Template file to define my column widths.  
    My questions are:
    Is it possible to create a text table and define per-column widths without using an Excel Template?  If so, how?  My report mainly has a lot of small numerical values for the columns, but some columns contain system names or status messages - I really hate the longer text blocks wrapping and taking up so much real-estate when if I could control the column widths I can get all my data on a single line.
    I'll admit I haven't tried this myself yet, but if I use an Excel Template will that require me to have Excel installed on the PC in order to print/generate reports?
    Is there a recommended way (with an example) of generating a text table in a report with or without using the "Append Text Table to Report" VI that allows me to have custom column widths that doesn't require me to manually build a custom print page?  If I do have to create a custom print page, what would be the most straightforward approach?
    Thanks!
    -Danny

    Sure, I'll provide a pared down example that demonstrates my use-case:
    I have a control to the VI that takes in a 2D array of strings representing the data I want printed in a table.  I am generating a standard report, adding a table to the report, and printing it.  The first VI is "New Report.vi", the second VI is "Append Table to Report.vi", and the third is "Print Report.vi", all found standard in the Report Generation palette.
    Note that the "Append Table to Report.vi" has an input parameter "Column Width" with a default value of (1).  This input parameter is a single input parameter, which defines the column widths of ALL the columns in my table - hence, with the VI the way it is, all my columns will be 1 inch wide.  
    I find myself needing to be able to define per-column widths, not just a single global column width parameter.  
    The only way I have found to do this is by using an Excel template file.  The "New Report.vi" takes in a "template" parameter, and if used, the report generation toolkit can be set to ignore the "Column Width" input parameter on the "Append Table to Report.vi" by setting the width value to -1.  Instead it will launch Excel, open the template file provided, build the table using the template, will close Excel, and will attach the generated table to the report.  However, I have a strict requirement that Microsoft Office NOT be required to be installed on the computer.  
    So, without using Excel, is there a way to generate a table in a report and define the width of each column individually?
    -Danny

  • Crystal Reports Load report failed

    Hi all,
    Using VS2008. Crystal Reports 2008.
    I have a .net application which uses LINQ. I am required to integrate existing Crystal reports into the web site.
    In my web config file i have my connection string set up
    <add name="connection Name" connectionString="Data Source=ServerName;Initial Catalog=database;uid=username;password=Password;Integrated Security=SSPI" providerName="System.Data.SqlClient"/>
    and also I have set the authentication as follows:
    <authentication mode="Windows"/>
        <identity impersonate="true" userName="username" password="password"/>
    I need the impersonation for when I deploy my app to the server.
    The crystal report uses an existing connection set up when the report was created. So this is not tied to a LINQ table (i think this may be the problem).
    I have no clue how to progress from here. When I try to change the datasource location to the LINQ table within the application, it won't map properly as the table contains nullable values.
    Any ideas would be greatly appreciated.
    Louise

    Hi,
    That particular problem with 'Load Report Failed' was happening because the identity impersonation account I had set up did not have rights to my TEMP folder on my machine. Crystal needs to be able to read and write to that folder.
    I hope that helps you.
    Louise

  • Vista/Adobe 9/sql image Error in Crystal Report:Failed to Export the Report

    When I try to export my Crystal Report (v2008) from a Vista machine (using Crystal RDC export methods) as a PDF, I get the following error:
    Error in Crystal Report:  Failed to export the report.
    This only happens when a particular subreport (that contains a sql image) prints (based on an input parameter).  We have other subreports (within this same report) that print a sql image just fine.  But, when this subreport prints, the above error appears.
    I can run the same report on an XP machine without error.
    Exportmodeller.dll and crtsv.dll are both installed and registered to the
    C:\Program Files\Common Files\Business Objects\3.0\bin folder
    I have tried opening the report, removing the image, and then adding it back in again to the subreport.
    Still receive the same error.
    Any suggestions?

    >
    Don Williams wrote:
    > RDC is no longer shipped in CR 2008. You are using the embedded designer used within the Visual Studio .NET IDE and is not licensed for distribution.
    >
    > Upgrade to the .NET components and post your question to the .NET forums.
    >
    > Also, those old dll's will not work in CR 2008. Last patches will give you the option to export to Excel in Legacy mode. We built it into our export dll.
    Don,
    Can you please clarify?
    Our VB6 app that uses Crystal XI RDC runtime components.  Our Crystal reports are edited in CR2008 SP1 developer edition (not through the VB.NET embedded report designer).  We have deployed the CRXIRelease 2 runtime components (via the merge module) to our client machines in order to execute the RDC.
    We can print/preview/export to excel, but the pdf creation is failing with this error.
    We are only using the RDC (which we know is no longer supported) because of huge issues with the Crystal for .NET methods we are having with our customers (I have an active case for this issue).  Therefore, we have to rollback our .NET product and revert to the RDC code. 
    Vista is failing to create a PDF for a report developed in the CR2008 SP1 developer edition when using the RDC.
    When you say  "Also, those old dll's will not work in CR 2008. Last patches will give you the option to export to Excel in Legacy mode. We built it into our export dll.", what do you mean by "will not work in CR2008"?
    Thank you

  • Reports fail when run against a different data source

    Hello,
    We have a VB.NET 2008 WinForms application running on Microsoft .NET 3.5. We are using Crystal Reports 2008 runtime, service pack 3 -- using the CrystalDecisions.Windows.Forms.CrystalReportViewer in the app to view reports. In the GAC on all our client computers, we have versions 12.0.1100.0 and 12.0.2000.0 of CrystalDecisions.CrystalReports.Engine, CrystalDecisions.Shared, and CrystalDecisions.Windows.Forms.
    Please refer to another one of our posted forum issues, u201CCritical issue since upgrading from CR9 to CR2008u201D, as these issues seem to be related:
    Critical issue since upgrading from CR9 to CR2008
    We were concerned with report display slow down, and we seemed to have solved this by using the Oracle Server driver (instead of either Microsoft's or Oracle's OLEDB driver).  But now we must find a resolution to another piece of the puzzle, which is:  why does a report break if one data source is embedded in the .rpt file is different than the one you are trying to run the report against, in the .NET Viewer?
    Problem:
    If you have a production database name (e.g. "ProdDB") embedded in your .rpt file that you built your report from and try to run that report against a development database (e.g. "DevDB") (OR VICE VERSA -- it is the switch that is the important concept here), the report fails with a list of messages such as this:
        Failed to retrieve data from the database
        Details:  [Database vendor code: 6550 ]
    This only seems to happen if the source of the report data (i.e. the underlying query) is an Oracle stored procedure or a Crystal Reports SQL Command -- the reports run fine against all data sources if the source is a table or a view).  In trying different things to troubleshoot this, including adding a ReportDocument.VerifyDatabase() call after setting the connection information, the Crystal Reports viewer will spit out other nonsensical errers regarding being unable to find certain fields (e.g. "The field name is not known), or not able to find the table (even though the source data should be coming from an Oracle stored procedure, not a table).
    When the reports are run in the Crystal Reports Designer, they run fine no matter what database is being used; but the problem only happens while being run in the .NET viewer.  It's almost as if something internally isn't getting fully "set" to the new data source, or something -- we're really grasping at straws here.
    For the sake of completeness of information, here is how we're setting the connection information
            '-- Set database connection info for the main report
            For Each oConnectionInfo In oCrystalReport.DataSourceConnections
                oConnectionInfo.SetConnection(gsDBDataSource, "", gsDBUserID, gsDBPassword)
            Next oConnectionInfo
            '-- Set database connection info for each subreport
            For Each oSubreport In oCrystalReport.Subreports
                For Each oConnectionInfo In oSubreport.DataSourceConnections
                    oConnectionInfo.SetConnection(gsDBDataSource, "", gsDBUserID, gsDBPassword)
                Next oConnectionInfo
            Next oSubreport
    ... but in troubleshooting, we've even tried an "overkill" approach and added this code as well:
            '-- Set database connection info for each table in the main report
            For Each oTable In oCrystalReport.Database.Tables
                With oTable.LogOnInfo.ConnectionInfo
                    .ServerName = gsDBDataSource
                    .UserID = gsDBUserID
                    .Password = gsDBPassword
                    For Each oPair In .LogonProperties
                        If UCase(CStr(oPair.Name)) = "DATA SOURCE" Then
                            oPair.Value = gsDBDataSource
                            Exit For
                        End If
                    Next oPair
                End With
                oTable.ApplyLogOnInfo(oTable.LogOnInfo)
            Next oTable
            '-- Set database connection info for each table in each subreport
            For Each oSubreport In oCrystalReport.Subreports
                For Each oTable In oSubreport.Database.Tables
                    With oTable.LogOnInfo.ConnectionInfo
                        .ServerName = gsDBDataSource
                        .UserID = gsDBUserID
                        .Password = gsDBPassword
                        For Each oPair In .LogonProperties
                            If UCase(CStr(oPair.Name)) = "DATA SOURCE" Then
                                oPair.Value = gsDBDataSource
                                Exit For
                            End If
                        Next oPair
                    End With
                    oTable.ApplyLogOnInfo(oTable.LogOnInfo)
                Next oTable
            Next oSubreport
    ... alas, it makes no difference.  If we run the report against a database that is different than the one specified with "Set Datasource Location" in Crystal, it fails with nonsense errors 

    Thanks for the reply, Ludek.  We have made some breakthroughs, uncovered some Crystal bugs and workarounds, and we're probably 90% there I hope.
    For your first point, unfortunately the information on the Oracle 6550 error was generic, and not much help in our case.  And for your second point, the errors didn't have anything to do with subreports at that time -- the error would manifest itself even in a simple, one-level report.
    However, your third point (pointing us to KB 1553921) helped move us forward quite a bit more.  For the benefit of all, here is a link to that KB article:
    Link: [KB 1553921|http://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/oss_notes_boj/sdn_oss_boj_bi/sap(bD1lbiZjPTAwMQ==)/bc/bsp/spn/scn_bosap/notes%7B6163636573733d36393736354636443646363436353344333933393338323636393736354637333631373036453646373436353733354636453735364436323635373233443330333033303331333533353333333933323331%7D.do]
    We downloaded the tool referenced there, and pointed it at a couple of our reports.  The bottom line is that the code it generated uses a completely new area of the Crystal Reports .NET API which we had not used before -- in the CrystalDecisions.ReportAppServer namespace.  Using code based on what that RasConnectionInfo tool generated, we were able gain greater visibility into some of the objects in the API and to uncover what I think qualifies as a genuine bug in Crystal Reports.
    The CrystalDecisions.ReportAppServer.DataDefModel.ISCRTable class exposes a property called QualifiedName, something that isn't exposed by the more commonly-used CrystalDecisions.CrystalReports.Engine.Table class.  When changing the data source with our old code referenced above (CrystalDecisions.Shared.ConnectionInfo.SetConnection), I saw that Crystal would actually change the Table.QualifiedName from something like "SCHEMAOWNER.PACKAGENAME.PROCNAME" to just "PROCNAME" (essentially stripping off the schema and package name).  Bad, Crystal...  VERY BAD!  IMHO, Crystal potentially deserves to be swatted on the a** with the proverbial rolled-up newspaper.
    I believe this explains why we were also able to generate errors indicating that field names or tables were not found -- because Crystal had gone and changed the QualifiedName to remove some key info identifying the database object!  So, knowing this and using the code generated by the RasConnectionInfo tool, we were able to work around this bug with code that worked for most of our reports ("most" is the key word here -- more on that in a bit).
    So, first of all, I'll post our new code.  Here is the main area where we loop through all of the tables in the report and subreports:
    '-- Replace each table in the main report with new connection info
    For Each oTable In oCrystalReport.ReportClientDocument.DatabaseController.Database.Tables
        oNewTable = oTable.Clone()
        oNewTable.ConnectionInfo = GetNewConnectionInfo(oTable)
        oCrystalReport.ReportClientDocument.DatabaseController.SetTableLocation(oTable, oNewTable)
    Next oTable
    '-- Replace each table in any subreports with new connection info
    For iLoop = 0 To oCrystalReport.Subreports.Count - 1
        sSubreportName = oCrystalReport.Subreports(iLoop).Name
        For Each oTable In oCrystalReport.ReportClientDocument.SubreportController.GetSubreportDatabase(sSubreportName).Tables
            oNewTable = oTable.Clone()
            oNewTable.ConnectionInfo = GetNewConnectionInfo(oTable)
            oCrystalReport.ReportClientDocument.SubreportController.SetTableLocation(sSubreportName, oTable, oNewTable)
        Next oTable
    Next iLoop
    '-- Call VerifyDatabase() to ensure that the tables update properly
    oCrystalReport.VerifyDatabase()
    (Thanks to Colin Stynes for his post in the following thread, which describes how to handle the subreports):
    Setting subreport connection info at runtime
    There seems to be a limitation on the number of characters in a post on this forum (before all formatting gets lost), so please see my next post for the rest....

  • Scheduled Report Failing - Don't Know Why

    I'm trying to re-create a scheduled report on CMC that had gotten deleted. It ran before (sometimes multiple times...) but at least it ran. I'm duplicating all the settings for this report based on how they were before, but every time I try to get the report to run, it fails.
    I don't know enough about this to be able to embed any kind of error messages in the e-mail notifications we get. All I know is that no matter what I change/tweak/adjust, we get an email saying "This report has failed to run."
    What kinds of things should I be looking at to troubleshoot? I know the report itself is fine, as users can view it normally (as in, through other viewers). There's definitely something specific to the scheduling process that is not correct, but I don't know what to look at.
    Here is how the scheduling is currently configured:
    Schedule > Main Tab
    -Run Weekly, Tues - Sat
    -Start Date: 10/01/08, 8:30 AM (I originally set this up yesterday, so today at 8:30 should have been the first time it ran, but instead it failed)
    -End Date: 10/01/18, 12:00 AM
    -Number of retries allowed: 0
    -Retry interval in seconds: 1800
    Schedule > Notification
    -Email notification based on: a job has failed to run
    -Message: Report failed to run. Scheduled Report: %SI_NAME% - %SI_STARTTIME% What other codes can we put in this message, BTW? I've been trying to look for something to return error codes, but %SI_OUTCOME%, %SI_STATUSINFO%, and %SI_ALERT_MESSAGE% don't display anything, they just print on the email
    Schedule > Destination
    -Destination: Email (SMTP)
    -Clean up instance after scheduling is checked
    -We have "Set the values to be used at schedule time here:" populated with our list of email addresses for recipients
    -Attach object instance to email message is checked
    -Specified file name: %SI_NAME%%SI_STARTTIME%.%EXT%
    -Add extension is checked
    Schedule > Format
    -Format: Microsoft Excel (Still fails if we choose Excel Data Only or Adobe Acrobat)
    -Use options saved with report is checked (Still fails if we deselect this)
    Schedule > Schedule For
    -Schedule only for myself.
    Could really use some help here, as I don't know what in the world could be causing this to fail. Thanks in advance.

    First thing is to forget all the complex configs and just try to schedule the report to run once now, no alerts, no notifications, no nothing.
    Does that work?
    Then you can build up the schedule, to see where the problem is coming from.
    Sincerely,
    Ted Ueda

  • Scheduled report failed after 10 mins

    Hi Everyone,
    We are using Business Object XI 3.1 and Crystal Report 2008.
    We have a few reports which uses Java Beans Connectivity. They all run fine using Crystal Report 2008 Designer.
    After I publish the reports to the server and schedule it to run from InfoView, the reports fail if it runs over 10 mins and returns error ( See below). If I rerun the report and it completes within 10 mins, it will be fine.
    Error:
    Title: Test Report
    Document Type: Microsoft Excel
    Status Failed
    External Destination: None
    Owner: SLuo
    Server Used: BOETEST.CrystalReportsJobServer
    PID: 14496
    Folder Path: Reporting
    Remote Instance: No
    Creation Time: 6/27/2014 10:21 AM
    Expiry: 6/27/2024 10:21 AM
    Start Time: 6/27/2014 10:22 AM
    End Time: 6/27/2014 10:32 AM
    Printer: None
    Formats: Microsoft Excel
    Parameters: 1/6/14; 1/6/14
    Error Message: Error in File ~tmp38a08076f722e00.rpt: Failed to retrieve data from the database.
    I added -crpetrace 7 - trace to the command line params to view the details of the log, however not much luck in getting a meaningful message.
    The log from Crystal Job Server:
    2014/06/30 14:03:50.063|==| | | 3900|4308|
    |||||||||||||||procReport.dll:
    CRPE FAILED: GetLastPEErrorInfo(1) returns crpe error code [723] with
    extended error string [Failed to retrieve data from the database.
    Failed to retrieve data from the database.
    Error in File ~tmpf3c80895162f60.rpt:
    I have looked the configuration of Crystal Job Server, Reports Cache Server and Processing Server, nothing obvious that has limited the connection to 10 mins. I have extended the time in CRConfig.xml still no luck.
    There are other reports on the server using direct db connection and run fine for 2 hours+.
    Anyone has experienced this before and aware of any configuration that might cause the report to fail in 10 mins?
    Many thanks,
    Shan

    Hi Shan,
    You can refer to the following SAP KBA for the issue:
    1204347 - Error: "Failed to retrieve data from the database" when using Javabeans as a datasource
    The SAP Note is for BO XI R2; however, you can try the same resolution for BO XI 3.1.
    Hope this helps.
    Regards,
    Renu

  • If no data in subreport the main report fails

    Morning,
    I have a main report and a subreport. When I try to run it the main report fails with the error, "a subscript must be between 1 and the size of the array" I believe this is  because there is no data in the subreport. In the section expert I checked supress blank section.
    Is there something else I should be doing?
    Thanks
    Laura

    Hello Laura,
    I am researching a similar problem.  The message is being returned because you are trying to use/address and array element that does not exist and/or is outside the upper bound of the array (like a dynamic parameter which when it has multiple values is an array).
    Hope this helps.
    Don

  • Runtime v13.0.6.1027 causing Load Report Failed on Citrix Receiver v13.4.0.25

    With the installation of SP6 runtime, our clients that connect via Citrix are getting the following Load Report Failed message:
    In order to fix, they must change their Citrix Connection Session Security for Files to Full Access.  And, apparently, even if this Files setting is correct, they still cannot create files on the root of their C: drive, so they must create a new folder on their C: dirve and save any files to that folder.
    I saw this discussion Crystal report error while loading the file and Don stated:
    "Hello,
    It's exactly what it says, the path to the report is not correct, user does not have permission to it or it simply doesn't exist.
    Check Citrix's Forum, there are known issues with it and CR.
    Don"
    Prior to our upgrade to V13.0.6.1027, we we used the Crystal 2008 runtime components to run reports, and had no issue.  Why, with this version of runtime does the access change?  We have many citrix users, and this has become a critical issue.
    Can you please point me to the specific forum that states the known issues with Citrix and CR?
    Thank you

    I never checked myself but because it a Citrix issue you should ask Citrix for help. They are familiar with permission issues and configurations.
    If you run CR on your desktop it works...
    Don

Maybe you are looking for