Audit Report: Failed Instances

Hi! Is there a column/field in Activity Universe that can be used to filter failed instances as seen in the Instance Manager
or what this script can output via Query Builder?
select SI_NAME, SI_OWNER, SI_AUTHOR, SI_STATUSINFO from CI_INFOOBJECTS
where SI_SCHEDULEINFO.SI_OUTCOME>=2
Thanks

Hi Mike,
I have a similar report scheduled to me every morning. Something similar might work for you.
I use the following result Objects (for a Webi report):
Action Name from Actions
Server Kind from Server Information
Object Name from Actions/ Action Details/
Action Time from Actions/Action Time
Action Duration from Actions
Action Type from Actions
Action Type Details from Actions/Action Type
User Name from Actions
Action ID from Actions
The Query filters are:
Action Name ID In List : 327681;327682
You would also need to restrict Action Time. I use objects in the universe to run the report for data within 24 hrs of 6AM each weekday.
I use the following report filters:
Action Type In List : Object Folder Path
This gives the folder in with the report resides.
Other things to note:
Object Name is equivalent to the report name.
User Name is the user that ran the report.
Action Name is the scheduling status (Scheduling Failed/ Scheduling Succeeded)
Action Duration is number of seconds the report took to run.
Let me know if you need any more information.
Best,
Srinivas

Similar Messages

  • Discoverer Report - Multiple instance migration

    Hi
    We are using Discoverer 4i reports. We are using 5 Test instances. Say
    DEV,DEV1,CRP1,CRP2,CRP3.
    We are doing development in DEV instance and we want to migrate the same report to DEV1 instance. We needs to recreate the same report in DEV1 Instance. It is time taking and double efforts need.
    We have tried below ways, but we have failed in some cases
    1. Taking *.dis file and save in different database
    2. Taking the export of BA and import in another instances.
    Is there any software available in the market to migrate discoverer report between instances. ( Ex like Kintana for Ebusiness suite migration).
    It will be helpful for me, if you have any ideas/comments/suggestion to overthis instance report migration problem.
    Thanks in advance.
    Navas

    Hey Navas.
    This seems to be something many companies wrestle with. A recent client I was at had a similar situation but absolutely, didn't want any exports / imports of the BA and all had to be manually coded in each.
    Reason for this was that you had to write up detailed explanations on what you did so it could be manually copied into PROD by the DBAs and therefore, no export / import (with the exception of you didn't recreate the file system saved report obviously).
    Also, I can attest (and have commented on this before), Disco 4 has seemed 'challenged' to me in the past and an export / import from one v4 EUL to another v4 EUL sometimes doesn't work exactly the same (ie: a file system saved workbook in one EUL doesn't work in a newly exported / imported BA in the other EUL. With different EULs it appears that when people make changes to each, and delete their changes, it can cause problems (ie: ids being renamed to _1, etc.) which just makes life difficult.
    This is why for non-PROD instances, more times than not you just refresh the entire EUL to either your PROD instance (and apply changes you're working on again) or harmonize all test instances.
    Russ

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

  • 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

  • Error when creating a new Reports Server instance

    Hi,
    I have tried to create and start a new reports server instance using the following method:
    1- Creating the report server instance:
    rwserver server=%newrepserver% start
    2- Stopping the OPMN:
    *%ORACLEHOME%\opmn\bin\opmnctl stopall*
    3- Adding a new server target to OPMN.XML
    *%ORACLEHOME%\bin\addNewServerTarget.bat %newrepserver%*
    4- Updating the configuration with new OPMN settings:
    *%ORACLEHOME%\dcm\bin\dcmctl.bat updateconfig -ct opmn -v -d*
    *%ORACLEHOME%\dcm\bin\dcmctl.bat resyncinstance -v -d*
    5- Starting the OPMN again:
    *%ORACLEHOME%\opmn\bin\opmnctl startall*
    However, when I try to start the OPMN again, I receive the following error:
    opmn id="##########:6200 5 of 6 processes started
    ias-instance id=red.########.########.lan
    ++++++++++++++++++++++++++++++++++
    ias-component/process-type-process-set:
    *%newrepserver%/ReportsServer/%newrepserver%*
    Error --> Process (pid=6888) failed to start a managed process after the maximum retry limit.
    Log: %ORACLEHOME%\opmn\logs\%newrepserver%~ReportsServer~%newrepserver%
    Any ideas as to why the reports server instance cannot be started?
    I have tried rebooting the server many times and have recreated other reports server instances but with no luck.
    Many thanks in advance,
    Chris

    On Windows this is caused most often by the temporary directory setting.
    Change the temporary directory to some fixed directory writable by anybody, e.g. "C:\temp".
    Change this in:
    Registry entry: hkey_local_machine\software\oracle\key_<oashome>\REPORTS_TMP
    <oashome>\opmn\conf\opmn.xml: search for environment variable TEMP (under ias-instance)
    Good luck!

  • Can't print more than 75 reports... Load report failed

    Hi,
    I have a problem: I can't print more than 75 reports without restarting my application.
    I'm using VB, Visual Studio 2005 and Crystal Reports Developer XI Release 2.
    It's a windows application.
    In the following examples I'm exporting to pdf but the same hapens if I put it on a viewer.
    I tried to do some tests to find out the problem. I don't have a solution yet
    Test 1:
    I made a cycle printing 100 times the same report. I used the code from an example that was in the BusinessObjects website and just put it into a cycle. At 75 I get the error "Load Report Failed"
       at CrystalDecisions.ReportAppServer.ReportClientDocumentWrapper.EnsureDocumentIsOpened()
       at CrystalDecisions.CrystalReports.Engine.ReportDocument.Load(String filename, OpenReportMethod openMethod, Int16 parentJob)
       at CrystalDecisions.CrystalReports.Engine.ReportClass.Load(String reportName, OpenReportMethod openMethod, Int16 parentJob)
       at CrystalDecisions.CrystalReports.Engine.ReportDocument.EnsureLoadReport()
    Dim ExportFolder As String = Application.StartupPath + "\export"
    If Not IO.Directory.Exists(ExportFolder) Then
    IO.Directory.CreateDirectory(ExportFolder)
    End If
    For i As Integer = 1 To 100
    Dim crReportDocument As ReportDocument
    Dim crDiskFileDestinationOptions As DiskFileDestinationOptions
    ''The path/location where the exported file will be saved
    Dim exportFilePath As String = ExportFolder + "\exported" & i & ".pdf"
    ''Create an instance of the Chart report
    crReportDocument = New Chart()
    ''Set the options for saving the exported file to disk
    crDiskFileDestinationOptions = New DiskFileDestinationOptions()
    crDiskFileDestinationOptions.DiskFileName = exportFilePath
    crReportDocument.ExportOptions.DestinationOptions = crDiskFileDestinationOptions
    crReportDocument.ExportOptions.ExportDestinationType = ExportDestinationType.DiskFile
    crReportDocument.ExportOptions.ExportFormatType = ExportFormatType.PortableDocFormat
    ''Export the report
    crReportDocument.Export()
    Next
    Test 2:
    I try to insert a "crReportDocument.Dispose() after the Export. It takes more than 1 minute doing the dispose and lots of time processing the 2nd report (more than 2 minutes)
    Dim ExportFolder As String = Application.StartupPath + "\export"
    If Not IO.Directory.Exists(ExportFolder) Then
    IO.Directory.CreateDirectory(ExportFolder)
    End If
    For i As Integer = 1 To 100
    Dim crReportDocument As ReportDocument
    Dim crDiskFileDestinationOptions As DiskFileDestinationOptions
    ''The path/location where the exported file will be saved
    Dim exportFilePath As String = ExportFolder + "\exported" & i & ".pdf"
    ''Create an instance of the Chart report
    crReportDocument = New Chart()
    ''Set the options for saving the exported file to disk
    crDiskFileDestinationOptions = New DiskFileDestinationOptions()
    crDiskFileDestinationOptions.DiskFileName = exportFilePath
    crReportDocument.ExportOptions.DestinationOptions = crDiskFileDestinationOptions
    crReportDocument.ExportOptions.ExportDestinationType = ExportDestinationType.DiskFile
    crReportDocument.ExportOptions.ExportFormatType = ExportFormatType.PortableDocFormat
    ''Export the report
    crReportDocument.Export()
    ' Dispose
    crReportDocument.Dispose()
    Next
    Test 3
    Same as Test3 but with ReportDocument.Close() before the dispose.
    Still doesn't work, Close takes too long, just like Dispose...
    Test 4
    I tried using a global variable with the ReportDocument.
    Instead of creating new instances of the ReportDocument, I keep using the same.
    It works fine if I use always the same report file, but if I try to print 2 different reports the 2nd returns the error "Load Report Failed" and takes too long loading before the error.
    Well, I made some researches on internet and I foud this, but still doesn't work with me, because Dispose always takes too long... 
    http://www.arquitecturadesoftware.org/blogs/hugobatista/archive/2006/02/22/236.aspx
    http://www.arquitecturadesoftware.org/blogs/hugobatista/archive/2006/05/23/328.aspx
    http://www.arquitecturadesoftware.org/blogs/hugobatista/archive/2007/04/05/CrystalReportsMemoryLeakFixByJerryCote.aspx
    Can anybody help?
    Thanks
    Isabel
    Edited by: Isabel Cabral on Aug 12, 2008 8:12 PM

    Already tried that, then I get another problem...
    After exporting the first report, takes 1 or 2 minutes doing the Close and the Dispose, and after that it takes too long trying to load the next report (after 1 hour I give up!).
    This is the code I'm using to do the tests:
            'Create the export folder
            Dim ExportFolder As String = Application.StartupPath + "\export"
            If Not IO.Directory.Exists(ExportFolder) Then
                IO.Directory.CreateDirectory(ExportFolder)
            End If
            For i As Integer = 1 To 100
                Dim crReportDocument As ReportDocument
                Dim crDiskFileDestinationOptions As DiskFileDestinationOptions
                ''The path/location where the exported file will be saved
                Dim exportFilePath As String = ExportFolder + "\exported" & i & ".pdf"
                ''Create an instance of the Chart report
                crReportDocument = New Chart()
                ''Set the options for saving the exported file to disk
                crDiskFileDestinationOptions = New DiskFileDestinationOptions()
                crDiskFileDestinationOptions.DiskFileName = exportFilePath
                crReportDocument.ExportOptions.DestinationOptions = crDiskFileDestinationOptions
                crReportDocument.ExportOptions.ExportDestinationType = ExportDestinationType.DiskFile
                crReportDocument.ExportOptions.ExportFormatType = ExportFormatType.PortableDocFormat
                ''Export the report
                crReportDocument.Export()
                'Close and dispose
                crReportDocument.Close()
                crReportDocument.Dispose()
            Next
    Thanks,
    Isabel

  • PO audit report: ASAP

    Hi All,
    I have a bit of an unusual request. Each month we run an audit report for corporate marketing examining each instance where a PO was created after the invoice date. Now weu2019d like to examine the total # of these violations in comparison to the total # of POu2019s created during the FY08 for Corporate Marketing . Do you know of any SAP transaction that could be used to pull this information?
    Is it possible to find out how many total POu2019s there were in FY08 so we can determine the late POu2019s as a % of the total?
    It is a very urgent request.
    Thanks,
    Shravya

    Hi Shravya,
    I dont think you will get the data directly from any table or transaction.
    You need to join BSEG (Accounting document Line item) table EKKO (PO Header table) & BKPF (Accounting doc Header) table
    In BSEG, you have EBELN (Purchase document, nothing but PO Number).
    You need to join EKKO-EBELN with BSEG-EBELN and
    join BSEG-BELNR with BKPF-BELNR
    Check for PO's created after invoice date (Hoping your Invoice date is the Posting date)
    Then give below condition that
    EKKO-AEDAT is greater than BKPF-BUDAT
    This output will give the PO's that are created after invoice date.(ex: say 100 PO's)
    You can pull out number of PO's created during a period from EKKO (ex: say 1000 PO's)
    So these two figures will give you the %, that you are looking for. ( then ur % of default PO's will be 10%)
    Let me know if you need any further info.
    Thanks
    Kalyan

  • BOE XI R2 Error on failed instance:  Unknown Database Connector Error

    I have a recurring job that runs against a high availability instance of our SAP production server.  This job runs every 15 minutes to make sure that the HAS reporting instanace is available to my BOE environment for reporting.  This morning, one of my recurring instances failed and the associated message was "Unknown Database Connection Error."  The application and system event logs on my BOE server for the period immediately prior to the instance failure did not show any issues or unusual behavior.  Basis reviewed AS400 logs for the SAP instance and didn't see anything there either.
    Has anyone experienced a similar error nessage for a failed instance in this sort of a scenario?  The next recurring instance, and so far all subsequent runs, have been successful.

    David,
    We have the same problem at times; the work around we found was to retry.  Our standard is retry 3 time and wait 180 seconds.  I believe the problem comes from network congestion.  Our jobs usually complete on the first retry.
    TB

  • MBAM 2.0 with SCCM Integration: Recovery Audit Reports errors.

    I have installed MBAM 2.0 with SCCM integration according to the following website:
    http://myitforum.com/myitforumwp/2013/06/10/how-to-install-mbam-2-0-with-configmgr-integration/
    Topology:
    SCCM 2012
    SCCM SQL Server
    MBAM Server
    MBAM SQL Server
    Components installed:
    Integration components on SCCM 2012 server
    Compliance and Audit Reports on SCCM SQL Server
    Recovery and Audit Databases on MBAM SQL Server
    Self-Service and Administration Monitoring on MBAM Server
    Everything is running correctly: SCCM sees compliance reports, keys are populating into the Recovery database. Self-service works correctly as tested.
    However, the Recovery Audit Report in the /Helpdesk webpage reports an error:
    "Cannot create a connection to data source 'DataSource1'. (rsErrorOpeningConnection)
    Browsing to the /Reports page on the MBAM SQL server (with reporting) yields an empty page.
    If I install the Audit and Compliance reports onto the MBAM SQL server, those populate (but are empty, as SCCM is handling that component), however, the Recovery Audit Report still yields the same error.
    Ideas?
    Thanks,
    -Patrick

    You can put the Audit Reports on the SSRS instance on SCCM Server. But it has its own limitations. What if you want to configure the encrypted configuration within the MBAM environment using SSL certificate. In that case you have to take special
    care while using the SSL certificate for configuring the reporting Point as it has been also used by the SCCM.
    Gaurav Ranjan
    So, let me get this clear, I can install the Audit Reports onto the SRSS I am using for SCCM and not have to deploy an SRSS instance elsewhere?  The SSL certificate detail is not an issue.  I am desperately trying to avoid yet another instance of
    SRSS.
    Thanks

  • Intermittent "Load Report Failed" error on IIS6 ASP 4.0

    I can run reports designed in Crystal 2011 and embedded in VS2010 designed web pages on a Windows 2003 SP2 server every day.  However, once every 2 - 3 days I get a "Load Report Failed - A document processed by the JRC engine cannot be opened in the C++ stack".  The first instance of this error causes all subsequent user access to Crystal Reports to fail with the same error.  When the ASP 4.0 application pool is recycled the error goes away.
    I was getting the "Load Report Failed" error due to "out of memory" I until made sure that the crystalreportviewer.dispose was run on exiting each report page. 
    Here is  how I run Crystal Reports:
       Protected Sub Page_Init(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Init
            If Not IsPostBack Then
                Dim myAL As New Hashtable
                myAL.Add("MO1", Request.QueryString("MONum1"))
                myAL.Add("MO2", Request.QueryString("MONum1"))
                Dim filename As String = ""
                filename = Server.MapPath("~/reports") + "\MfgPicklistByMO.rpt"
                Dim u As New CrystalUtilities
                Session("crViewer") = u.SetupReport(filename, myAL)
            End If
            CrystalReportViewer1.ReportSource = Session("crViewer")
        End Sub
       Public Function SetupReport(ByVal fileName As String, _
                     ByVal Params As Hashtable, Optional ByVal dbParam As Boolean = True) As   CrystalDecisions.CrystalReports.Engine.ReportDocument
            Dim objCrystalReportDocument As New CrystalDecisions.CrystalReports.Engine.ReportDocument
            objCrystalReportDocument.Load(fileName)
    .... logs onto a selected database, and loads paramters

    I have installed CrystalReportViewer1.Dispose() statements on all of the link events to navigate out of the pages with the CrystalViewer.  However, it turns out that several users are using the back arrow to navigate out of the page instead of the navigation links I have put on the page.
    I can't seem to find any event in ASPNET 4 that fires when the back arrow is pushed.  If I could find such an event I could put a CrystalReportViewer1.dispose statement there assuming CrystalReportViewer1 still has scope.    The Page_Disposed event does not fire when the back arrow is pushed.
    Environment:  VS2010, Crystall 2011, ASPNET 4.0

  • Monitoring failed instances

    Dears,
    Do we have a possibility to monitor  the scheduled webi reports?
    - Could we inform a dedicated user with an email, if an instance failed
    - Could we see in the CMC a list of all failed instance e.g. in the CMC
    As our customer has scheduled dozens of reports, its not applicable every report manual. The Instance manager only shows the scheduled jobs but not the Status. Thanks for your feedback.
    SAP BI Platform 4.1 SP2

    Hi Felix,
    The instance manager in the CMC is better than you think.
    You can search for Failed instances - and if there is one you can click on failed and get the reason for the failure
    Another option that you have is to automate the email writing and use an scheduling event. Please see the next three screenshots to setup an event and also the last screenshot where to define it in the publication.
    and finally the setting in the properties
    Best regards
    Manfred

  • Schedule reports fail - CrystalEnterprise.Smtp

    We have scheduled a report to run for all corporate employees.  When the schedule runs, here is what happens.
    - Report run and is marked in the running state
    - Report moves to pending state in history but the email is sent to recip.
    - Report moves back to running state
    - Report moves to pending state and again the email is sent
    - Report moves to running state
    - Report moves to failed but again the email is sent
    In all, each recip gets three copies of the report and finally the report is marked failed.
    The same report can be scheduled to addresses not hosted on our domain and only one copy is sent and the report instance is marked successful.
    When the report fails, I get the following error : recipient error. []: [CrystalEnterprise.Smtp]
    Any help would be appreciated,
    Chris

    Hi John,
    I have the SMTP address with the ports and we have our mail server.
    As per admin guide, what would be the user for the destination ?
    User Name
    Provide the Job Server with a user name that has permission to send email
    and attachments through the SMTP server.
    Password
    Provide the Job Server with the password for the SMTP server.
    Can i just leave the user name and password so that the users email will be taken ?
    Please refer to SAP Note 455140 to configure the SMTP plug-in to send emails. However there is no section in SAPconnect to enable you to add a user and password as a means of authentication. You will have to enter the IP address of your sending SAP application server to your mail server as a means of authentication to enable emails to be correctly relayed to your mail server.
    Hope this helps
    Michael

  • Audit notification failed error when scheduling.

    Scheduling around 170 reports per night some fail with error
    "Audit notification failed. Please contact your system administrator."
    And auditing is not even enable!
    Can you plase advice!
    Cheers,
    Constantino.

    Hi
    I scheduled LCMBIAR files and they all ran OK the first time, then all failed the next day with the same error message. Anyone know why that could be? Weird as I checked all the settings and made sure Admin has access to destination file location.

Maybe you are looking for

  • Changes in PR even after release

    Dear Gurus In purchase Requisition change (ME52N) it is allowing to change PR Quantity and Price even after released from the higher authorities. What Configuration has to be done so that After release of PO system should not allow to do any changes

  • Import invoice for multi payment

    Hi , I am having import invoice with reference to one PO , case is that i want to payee for 4 paryee 1. Material supllier 2. Carrier on CIF 3.Custom 4.Local transport . How can make payment for all party with reference to one import PO RB

  • Diff... between  ALE, IDOC, RFC, BAPI, BADI --- Not clear and clarify

    Hi All     I am learning XI and the difference between " ALE, IDOC, RFC, BAPI, BADI "     Not clear and when to use what and how in point of XI ?    Pl..clarify me Adv..thanks and points --- Rakesh Behera

  • JSP part of HTML form

    i have an html form (part of code included below) and don't know how to write the JSP for the results page. I want to be able to click "submit" and have the inputed information placed in a text file and saved in the same folder as my HTML files. I am

  • I cant view album artwork in my itunes anymore

    For some reason my itunes always says it cant veiw my album covers. But it used to, help!