Parameters, ODBC, Report Failing

Post Author: JewelCode
CA Forum: Data Connectivity and SQL
The database is SQL Anywhere 9.0.1.  Crystal Version is XI, 2.
I create a report without any parameters.  It works perfectly and pulls all of the client data.
I then create the parameters by adding a dynamic parameter field and I've tried single selection or multiple selection and I get the same behavior.  I do the second step of adding the Select field for field is equal to ?field, etc.
When I go to preview the report, it has me login again to my ODBC connection, even though I've been logged in all day and never need to login, a second time, for any other reports and then it quickly previews the report and shows no data for my selected person.
If I limit my view in the db in SQL, then it shows the data for that one person but I really need to be able to select certain clients from the report side.
Thanks for any ideas,
Lisa

Post Author: JewelCode
CA Forum: Data Connectivity and SQL
Version is still Crystal XI, db is still SQL Anywhere 9.
Okay, the having to sign into the ODBC every time was the McAfee Firewall blocking Crystal from re-querying after selecting the dynamic parameter.  With the firewall off, I don't have to sign in, but here is the behavior that is causing the empty report and I can recreate it now so I know what it is.  Now I need how to workaround it and how to use concatenated fields in dynamic parameters.
In my SQL View in my DB, I have the following
+ ' ' + + ' ' + + ' ' + AS "SortName"
When I use as my dynamic parameter and select field in Crystal, it doesn't know how to process it.
As soon as I use just a single field that isn't a concatenation then Crystal pulls the data fine.  I need to use a SortName and/or a SelectName to pull various pieces of data together into the dynamic parameter so that my clients can easily pull a specific client file because names are often duplicated with Sr., Jr. and spouses with the same last name or also duplicated client files where we need the client number to differentiate.
Thank you in advance ...
Lisa

Similar Messages

  • Schedualed report fails within seconds, infoview ok

    Windows Server 2003 R2 Standard (64) SP2
    BusinessObjects XI 3.1 (any guidance on how to find the current FP applied is welcome)
    Reports run through infoview complete without issues, however if the same reports are scheduled with the same parameters the report fails immediately with no processing time taken and the following error.
    Unable to reconnect to the CMS D7DGHRL1.***********.com:6400. The session has been logged off or has expired. (FWM 01002)
    EDIT: it looks like this started after applying the following 1538502 - The Web Intelligent server is running out of memory, your document has been closed.If the problem persists, contact your BusinessObjects administrator. (Error ERR_WIS_30285), if anyone can shed some light on which specific setting might cause this I would appreciate it. Rolling back this change might fix this issue but I will be left with the original memory problem.
    Edited by: Frank Martinello on Nov 29, 2011 9:53 PM
    EDIT 2: rolled back the changes from that KB article, scheduled jobs are still failing.
    Edited by: Frank Martinello on Nov 30, 2011 3:12 PM

    The easiest way to fine exact patch you run on server is by runnign software inventory tool. It is one of the shortcuts in Business Objects Enterprise that you can reach starting at "start" button from your server.
    Are you schedulign from Java Infoview? Can you try scheduling from CMC?
    There is a Kbase note (122296) on exact same behavior and here are steps to fix the issue:
    1. From Central Configuration Manager, disable all the services and re-enable them.
    2. Log into Central Management Console and go to the server area.
    3. Go to the properties of Central Management Server, in command line parameters type -requesttimeout 3600000.
    4. Save the changes and restart the server.
    5. Follow the same steps for WebIntelligence Processing Server and Adapter Job Server.
    6. Go to the connection server properties and increase "Ideal connection timeout" to 120, restart the server

  • 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

  • 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

  • Intermittent exception - Load Report Failed

    Hi, I am new to the forums, this does kinda involve .Net but not be a simple .Net issue so I posted here.
    I have been using Crystal Reports 10 for a while now, bolting it into web pages and never had issues but I have come across 2 lately that have me stumped. (I will do a different post for the other one)
    The problem is that INTERMIITANTLY I get issues in the production environment with a Load Report Failed exception. The main user with thi s problem says that it will do it late in the day and then all the way up until she goes home. Then in the morning it will work just fine. I have also hit the same issue on my pc in testing. However when I try to duplicate this in debug mode it ALWAYS works!
    One time I just republished and it fixed it for about a week or so then it started again.
    At first I thought it was our SQL server and some kind of connection or load issue because it occurs in this chunk of code - where it sets the login parameters
                        TableLogOnInfos myTableLogOnInfos = crv.LogOnInfo;
                        foreach (TableLogOnInfo myTableLogOnInfo in myTableLogOnInfos)
                            myTableLogOnInfo.ConnectionInfo = myConnectionInfo;
    But I have a whole bunch of sites which use the same backend class and the same code and they work just fine even in this time range.
    I am getting a new SQL server soon so I will see for sure but I dont think that is the issue.
    No matter what I do I cant recreate this in debug mode to step thru the code and find exactly what line is causing the issue. My SQL performance logs shows no issues at these times. (it is under heavy load hence the new one but nothing different during this time frame)
    I also ruled out computer issues because it did the same thing in the production environment on my pc too.
    Anyone got any ideas?

    Darn.. I wish someone had come up with an answer. We're experiencing a similar issue. As soon as we create a ReportDocument object and attempt to load a report, we receive an error. But not always! Most of the time, it works fine... then suddenly someone gets the error.
    Code:
    ReportDocument rptDocument = new ReportDocument();
    rptDocument.Load(...path to report...);
    Error:
    Load report failed.
    CrystalDecisions.CrystalReports.Engine
    The system cannot find the path specified.
      at
    CrystalDecisions.ReportAppServer.ReportClientDocumentWrapper.EnsureDocumentIsOpened()
      at CrystalDecisions.CrystalReports.Engine.ReportDocument.Load(String filename,
    OpenReportMethod.openMethod, Int16 parentJob)
      at CrystalDecisions.CrystalReports.Engine.ReportDocument.Load(String filename)
    I have so far been unable to replicate the error in development... it only seems to happen in production. Guess we'll have to try to log the error as soon as it happens.. maybe the path to the report is getting messed up somehow.
    If anyone has any ideas why it would only happen occasionally, please let me know! Thanks.

  • My Report Fails once it is exported

    I am using crystal reports that come with visual studio 2008 and i also tested with visual studio 2005.
    I have a report and i can view any number of reports but when i export the report as pdf or any other format.The next report fails. Is there a solution to address this problem . I am just using the crystal reports viewer to show the report.
    This is a windows application hence i am using the reportviewer that comes with the visual studio to show the report and using the menubar button to export the report.
    The error i get is simple "LOAD REPORT FAILED"
    Any Help???????????

    Hello,
    I think the problem is once you are finished with the report you need to close and dispose your report object. I copied your code into VB .NET and I think I have most of it but not sure.
    Which Viewer are you using? In your references are you using CrystalDecisions.Windows.Forms or did you try using the crviewer.dll?
            Dim cr As New ReportDocument
            Dim crtableLogoninfos As New TableLogOnInfos
            Dim crtableLogoninfo As New TableLogOnInfo '
            Dim crConnectionInfo As New ConnectionInfo
            Dim CrTables As Tables
            Dim CrTable As Table
            cr.Load(pRptName)
            'Get database connection info
            With crConnectionInfo.ServerName = My.Settings.ConnectionString.Split(";")(0).Split("=")(1)
                .DatabaseName = My.Settings.ConnectionString.Split(";")(1).Split("=")(1)
                .UserID = My.Settings.ConnectionString.Split(";")(3).Split("=")(1)
                .Password = My.Settings.ConnectionString.Split(";")(4).Split("=")(1)
            End With
            'Set database connection for all tables in report
            CrTables = cr.Database.Tables
            For Each CrTable In CrTables
                crtableLogoninfo = CrTable.LogOnInfo
                crtableLogoninfo.ConnectionInfo = crConnectionInfo
                CrTable.ApplyLogOnInfo(crtableLogoninfo)
            Next
            ' Loop through each section and find report objects
            Dim crReportobjects As ReportObjects, crSubReportobject As SubreportObject, subReportDocument As ReportDocument
            Dim crDatabase As Database
            Dim crSections As Sections = cr.ReportDefinition.Sections
            For Each crSection As Section In crSections
                crReportobjects = crSection.ReportObjects
                For Each crReportobject As ReportObject In crReportobjects
                    If crReportobject.Kind = ReportObjectKind.SubreportObject Then
                        ' If a subreport is found cast as subreportobject
                        crSubReportobject = CType(crReportobject, SubreportObject)
                        'Open the sub report
                        subReportDocument = crSubReportobject.OpenSubreport(crSubReportobject.SubreportName)
                        crDatabase = subReportDocument.Database
                        CrTables = crDatabase.Tables
                        ' Loop through each table in the sub report and set the connection info
                        For Each CrTable In CrTables
                            crtableLogoninfo = CrTable.LogOnInfo
                            crtableLogoninfo.ConnectionInfo = crConnectionInfo
                            CrTable.ApplyLogOnInfo(crtableLogoninfo)
                        Next
                    End If
                Next
            Next
            If Not chkSelectClient.Checked Then
                'Show all invoices
                cr.RecordSelectionFormula = "{Invoices.invoice_date} in {?StartDate} to {?EndDate} and {Subject_Names.primary_name} and {Clients.billing_cycle} = {?Filter_BillingCycle}"
            Else 'Invoice Number report parameter cr.SetParameterValue("Filter_InvoiceNumber", Me.cboInvoices.Text.Trim)
                cr.RecordSelectionFormula = "{Subject_Names.primary_name} and {Invoices.invoice_number} = {?Filter_InvoiceNumber} and {Clients.billing_cycle} = {?Filter_BillingCycle}"
            End If
            'Set report parameters
            cr.SetParameterValue("StartDate", Me.dtpStart.Value)
            cr.SetParameterValue("EndDate", Me.dtpEnd.Value)
            cr.SetParameterValue("Filter_BillingCycle", I If(Me.optMonthly.Checked, "Monthly", "Weekly"))
            cr.SetParameterValue("location_id", Me.locationNameComboBox.SelectedValue cr.SetParameterValue("Billing_Contact", Billing_Contact.ToString())
            'Show report
            With CrystalReportViewer1
                .ReportSource = cr
                .Zoom(100)
                .DisplayGroupTree = False
                .Visible = True
                .Refresh()
            End With
        End Sub
    Thank you
    Don

  • Report failed running from form

    Hi,
    I am new to Oracle reports.
    I am calling a report from a form when a button is pressed The code is like this:
    f_alert.display_error_message ('0',v_parameters);
    run_report(p_report_filename => '''my_report''',p_show_debug_msg =>'yes',p_params => v_parameters);
    From the debuging alert message, I can see the v_parameters value. Using the same parameters I run the report from report bulider, and the report is working. I am wondering why the report cannot be openned from the form. At the status bar of my application, a message shows "Report failed, status is: ", could anyone tell me how to debug this? I am working on an existing application, so I will assume all the configuration is ok.
    Thanks!

    I am using Oracle reports builder 9.0.2
    Edited by: user13332131 on Jul 10, 2010 1:25 AM

  • TFS 2013 project based on Scrum 3.0 release burndown report fails on parameter

    Hi,
    We are testing upgarde scenario of TFS from 2010 to 2013. If it will pass we intend to do it on Production.
    I could not upgarde the Sharepoint and I am trying to resolve the problem but till then I am tried to create a new Agile project and New Scrum Project with new templates.
    The Agile works fine but the Project based on scrum template on the dashboard the release burndown report failed with the following error: Parameter validation failed. It is not possible to provide valid values for all parameters. (rsParameterError)
    I have rebuild the warehouse and the analysis but it doesn't fix the problem.
    Any Idea , How can I fix it.
    The Project based on Template Microsoft Visual Studio Scrum 3.0.
    Please Advice.
    BR,
    Tzvia

    Hi,
    Do you still face this issue, you might try the following methods to see if the issue can be resolved:
    1. Check the service account for Team Foundation Server and the data sources account  to make sure the identity and format of the accounts are appropriate for the server.
    2. Performed a rebuild of Reporting via the TFS Admin Console if needed.
    3. Turn off firewall and try again.
    4. Clean the cache for TFS2013, you can follow below steps:
    •Clean the Cache folder on client computer. The folder path is: C:\Users\username(Team Explorer user name)\AppData\Local\Microsoft\Team Foundation\4.0\Cache. (os: Windows Server 2008 R2)
    •Clean the Cache folder on Server machine. The folder path is: C:\ProgramData\Microsoft\Team Foundation\Web Access\Cache_v11.0. (os: Windows Server 2008 R2)
    •After cleaned, on Server machine, click Startand select Run… to open the dialog box, then input iisreset.exeand click OK, wait it run completely.
    Bestregards,
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • 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.

  • 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)

  • Parameters and report on the same page

    I am new to HTML_DB. I would appreciate your help with the following:
    I have html page with items(parameters) and report on the same screen.
    Items are:
    Customer: Select list with Submit
    Invoice No.: Select list - Populated invoices numbers for the selected customer
    Department: Select List
    Prod Month: Date Picker
    Button: Report View.
    Users can select any of the above parameter to create a report. The problem is when I don't select any customer and just select the department or prod month and click on a Report View button, I get SQL error in the Invoice Number item.
    It seems when the page refreshes to create a report Invoice Number items sql query is executing but when it does not find the customer name, it’s giving the error.
    If I select a customer name, the page gets refreshed and the report is generated. I don’t want to create a report when they select a customer. I want them to select the parameters and click on the Report View button to create the report on the same page.
    Thank you.
    Regards,
    Rek

    Sounds like you are building the query string and submitting that and the fact that they leave something out messes up that string...<br><br>If that's the case, you can add validations to the page to make sure they enter in all the appropriate information.<br><br>
    chet

  • 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

Maybe you are looking for