Crystal Report hanged at the 16374 pdf softcopy generated

To whom it may concern,
Recently, we have encountered a Crystal Report Problem during generating softcopy in PDF format.
When the Crystal Report generated 16374 pdf softcopy, the Crystal Report program is hanged and without error.  It is replicable error and we have tried many times.
Do you have any idea what is the cause of the issue?
Thanks for your help.

As you are using VS .NET I moved your post to the SAP Crystal Reports, version for Visual Studio SCN Space
As I understand the issue, you are exporting report / reports(?) to pdf in some sort of a loop(?).
You are able to export 16374 times, then the app stops processing and hangs.
I'd like you to address the above two question marks please as these are assumptions and you need to clear these up.
Next, provide the version of CR you are using - please be precise.
Also, version of VS.
Note that you should be be cleaning up your objects - the reports as well as the dataset - e.g.; use .close and .dispose.
Check the hard drive - make sure you are not running out of HD space.
Check the %TEMP% directory and clean that out.
- Ludek
Senior Support Engineer AGS Product Support, Global Support Center Canada
Follow us on Twitter
https://twitter.com/SAPCRNetSup

Similar Messages

  • IE11 - Crystal Reports - PrintMode ActiveX now displaying PDF prompt (instead of printer prompt)

    I asked this question over at stackoverflow and am now taking it here: http://stackoverflow.com/questions/20672254/ie11-crystal-reports-printmode-activex-now-displaying-pdf-prompt-instead-of
    It's a simple straight-forward question.  IE11 is breaking the ActiveX plug-in used for printing from the Crystal Report Viewer.  All the pretty pictures are in the link I provided.  But the jist is that for my ActiveX Print Mode reports, the PDF dialog is presented now instead of the normal Printer dialog (unless I use Compatibility Mode)
    Other details:
    I am using the Crystal Reports that comes with Microsoft Visual Studio 2008.  For the life of me I can't remember how this got installed on one of my browser's (maybe an install from Visual Studio?) ... but I've been deploying the Crystal Print Control 10.5 (32-bit; version: 10.5.1.2285).
    And as mentioned in the stackoverflow post I have all ActiveX settings enabled and ActiveX Filtering off.

    Hi William,
    Moved your post to the .NET SDK forum.
    CR for VS 2008 was included in the installer of Visual Studio, you can remove it from Add/Remove Programs.
    Unfortunately the CR Basic that comes with VS 2008 only had one patch released and that's it. IE 11 was not released when it came out so we could not support it.
    Currently there are no versions of CR or our SDK packages that do support it.
    Crystal Reports Developer for Visual Studio SP 9 will support IE 11. You can get it from the Overview Tab and then on the left side. But it requires VS 2010 or above and SP 9 will support VS 2013 and IE 11.
    In VS you could select either ActiveX or PDF:
    I don't have IE 11 but to change the PDF go into the Add-ins menu:
    See this link for supported OS's and VS's:
    http://wiki.sdn.sap.com/wiki/x/b4JiAw
    Also, IE 11 is likely on Windows 2008 Server or possibly Window 8.x.
    Best thing to do is upgrade VS and then download the CR installer into VS so it supports current OS's and Browsers.
    Don

  • Where is the Manage Object function in Crystal Reports 2013 for the CMC?

    I recently upgraded to Crystal Reports 2013 after upgrading our Crystal Reports server to SAP Business Objects Platform 4.1. Before the upgrade, I could publish reports from Crystal Reports XI to the CMC then right-click on the report title in the Repository Explorer (in Crystal Reports) and I had the option to select Manage Object where I could set the default settings for the CMC. I am not seeing this option in the new version of Crystal Reports. Is there something I need to do to see this option or has this option been removed from Crystal Reports 2013?

    Hi Kelley,
    You're right, the option doesn't exist in CR XI R2 and above.
    All the options now need to be set in CMC.
    -Abhilash

  • Create a Crystal report to display the sum of G/L account code within a specific period

    Hi,
    Just wonder is it possible to create a crystal report to display the total of a G/L account code within a specific period?
    How to write the query to get the sum within a specific period?
    For example:
    Period: 2014-06-01-2014-06-10
    Account code A: USD "TOTAL"
    Account code B: USD "TOTAL"
    Thanks

    Hi Olga,
    Please check below Query.
    SELECT T1.[Account], T1.[ShortName], SUM (T1.[Debit]) as Debit, SUM (T1.[Credit]) As Credit, SUM (T1.[FCDebit]) As FCDebit, SUM (T1.[FCCredit]) As FCCredit, SUM (T1.[SYSDeb]) As SysDebit , SUM (T1.[SYSCred]) As SysCredit  FROM OJDT T0  INNER JOIN JDT1 T1 ON T0.[TransId] = T1.[TransId] WHERE T1.[RefDate] >=[%3]  AND   T1.[RefDate] <=[%4]
    Hope this Help
    Regards::::
    Atul Chakraborty

  • Inserting static image in crystal report now showing the image

    Post Author: liezl
    CA Forum: .NET
    Hello to everyone,
    I am creating a simple report using Crystal Report in .NET 2005. I try to insert a static picture in the report but when I browse it through the web it didn't show at all. When I get the address of the picture it says http://liezl:8080/CrystalImageHandler.aspx?dynamicimage=cr_tmp_image_c31338e7-14d2-45f5-a4f9-29866febb34d.png. The error is "The Resource cannot be found. /CrystalImageHandler.aspx"
    Please help me!!!
    Thank you.

    Post Author: eyalkz
    CA Forum: .NET
    I have the same problem.
    The problem started after upgrading to CR XI Release 2, the image is not shown through crystal reports viewer in the browser.
    However, I can see the image while printing, in preview mode and in export which means the general path is ok
    the image is there but there is only an internal crystal report viewer issue that started in 11.5 version (in 11 version the same code worked)
    If you find anything please let me know.
    Thanks,
    Josh

  • Installing crystal reports 9 for the first time

    Hi,
    I am trying to install Crystal Reports 9 for the first time.  We just received a package with 4 envelopes including Crystal Reports 9 Advanced, Standard, Professional, and Developer.  Each envelope also includes Crystal Enterprise Report Appliation Server which I don't think I need (or I'm not sure).  I have read a little bit on how I can go online to the SAP Service Marketplace and request license keys.  I have not requested a permanent license key yet.  I believe that I can install Crystal with a temporary key and then input the permanent key later.  What I have done is insert the installation CD for Crystal Reports 9 Developer and then input the product key code found on the back of the Crystal Enterprise Report Application Server CD cover that was packaged with the Crystal Reports 9 Developer CD.  However I get a message saying that the product key code is not valid or has expired.  There is no product key code on the cover for the Crystal Reports 9 Developer CD but there is one on the Crystal Enterprise Report Application Server CD cover so that is why I input it.
    Why is this key code expired?  Please note that I am installing on a test PC before I install on the PC of the user who will be using Crystal for work purposes.  Therefore I wanted to just install with a temporary key if there is such a thing at this time.
    thanks
    JW

    Hi Josh,
    I would like to add few things with above suggestion
    For a new key code :
    Request key codes for new orders via SAP Marketplace (SMP), will  receive a download letter on new purchases providing them with their SMP login credentials.  Using these credentials you can login and click in the  "Keys & Requests" tab > Request a License key .
    If your  existing Key code does not work :
    You need   create a customer message [https://websmp107.sap-ag.de/message] using component XX-SER-LIKEY-BOJ . 
    Hope this helps,
    Regards,
    Shweta

  • Is it be true to say a good and not corrupted crystal report always has the option to generate a PDF when click the printer icon on the Crystal toolbar ?

    ''please stick with your original questions thread about Crystal Report - https://support.mozilla.org/en-US/questions/970077 - locking this thread''l
    When i unistall and again install a fresh Crystal report for .Net 4.0 Its ok to generate only to pdf option when click to the print icon on crystal report viewer but in another computer it is promting the old fasion like "a dialog with many option" ,But if want to have a only option to generate only to pdf option what should i have to do when my project and crystal report is at Window server 2008 R2,Please suggest a requred answer?

    Firefox will update in increments when you use such old versions. The best thing to do is to go to www.getfirefox.com, and download Firefox 19.0.2. This is going to be much faster than updating to 3.0.19, then to 3.6, then 12, then 19 (which is the current process).

  • Code39Wide-Regular Fonts in the crystal report cannot be embedded with PDF

    Hello ,
    Good Day!
    We are using Code39Wide-Regular Fonts in the crystal report for bar codes. While converting this report to the PDF format from Crystal viewer, we are getting the following error. It seems like this particular font cannot be embedded with PDF format.
    Error - Failed to Export the report
    Code39Wide-Regular- Font is not allowed to be embeded in document,
    File - F:\Apps\9.40\Crystal\sfc\jobprtx.rpt
    How can we solve this issue permanantly (Not a workaround )?
    Thanks & Regards,
    Philip P Oommen | Consona | 0091-80-40173801 |

    Hi Philip, Due to licensing issues CR cannot embed licensed fonts in a PDF file. Your only work around is to export the report to editable Word format and then open the file in Word 2007 and get the export to PDF plug-in available from Microsoft.
    This will not be fixed in this or upcoming version of CR.
    Thank you
    Don

  • Web printing crystal report hangs on report.PrintOptions.PrinterName

    Hello,
    I have a report web page that displays a crystal report.  I have added a modal popup to allow them to select their printers.  When I go to print the report is hangs on the line of rpt.PrintOptions.PrinterName = li.Text.  The printer names are added to the list box using a Java applet.
    Here is the Sub it is running.
        Public Sub PrintReports()
            rpt = CType(Session("rpt"), ReportDocument)
            For Each li As ListItem In Me.lbPrinters.Items
                If li.Selected AndAlso li.Text <> "" Then
                    rpt.PrintOptions.PrinterName = li.Text
                    rpt.PrintOptions.PrinterDuplex = CType(Me.cboDuplex.SelectedItem.Value, CrystalDecisions.Shared.PrinterDuplex)
                    rpt.PrintToPrinter(CInt(Me.txtNumOfCopies.Text), True, CInt(Me.txtPageStartRange.Text), CInt(Me.txtPageRangeEnd.Text))
                End If
            Next
            Me.mpePrint.Hide()
        End Sub
    Any help would be greatly appreciated.
    Thanks,
    Patrick

    Sounds like you're trying to implement server side printing in your app. Which is fine, except the CR ActiveX print is client side printing. Just in case you're interested, the way to enable activeX print is to go to the property of the CR viewer and find "PrintMode". It will more than likely be defaulted to PDF. Change that to ActiveX.
    Now, back to the issue. This may still be a matter of permissions - essentially what Adam was after. Probably the easiest way to determine that is to use the [Process Monitor|http://technet.microsoft.com/en-ca/sysinternals/bb896645.aspx] utility. Once you have the log, search it for "Access Denied" messages.
    Ludek

  • Crystal Reports VS 2008 "The request could not be submitted for background processing"

    Hi,
    I am going to try to explain this issue the best I can. Please let me know if you need any other information or have any ideas as I have exhausted my resources. We have an ASP.NET application that has highly formatted crystal reports in them that the users can export as PDFs. All reports export without a problem when the application is run off of our desktops. The reports use a sql server authenticated user, executing stored procedures, and each subreport is linked by the main parameter. We are using Visual Studio 2008 version 3.5 SP1 with Crystal Reports Basic for Visual Studio 2008 on Windows 7 Enterprise SP1. We have designed the reports in Crystal Reports XI Release 2 (11.5.12.1838) and imported them into the ASP.NET application. When trying to export the reports as PDFs from the development or production servers, we get the error message below for some, not all, reports:
    System.Runtime.InteropServices.COMException (0x800002AD):  Error in File C:\Windows\TEMP\KeyAccountProfile {9FA5C095-77A2-425D-AC6B-8BB66B435336}.rpt: The request could not be submitted for background processing.     at CrystalDecisions.ReportAppServer.Controllers.ReportSourceClass.Export(ExportOptions pExportOptions, RequestContext pRequestContext)     at CrystalDecisions.ReportSource.EromReportSourceBase.ExportToStream(ExportRequestContext reqContext)
    We have cleared the temp directory on the servers before exporting and are still receiving the error. We have installed Crystal Reports Basic Runtime for Visual Studio (10.5.2.0) on both servers. I have identified the underlying issue to one stored procedure/subreport that is causing the report to fail. The weird thing is, when we change the connection to point to development, the stored procedure/subreport runs fine for the report that generates an error when run from production, and the data is the exact same. I have tried rebuilding the subreport but the error still appears even though it runs fine for other reports.
    I have been through the document below, and othe similar issues in the forums, but still have not found a resolution. I was trying to use the "modules" application put since this is an ASP.NET application I am unsure of which executable I should be looking at.
    http://www.sdn.sap.com/irj/boc/go/portal/prtroot/docs/library/uuid/50a6f5e8-8164-2b10-7ca4-b5089df76b33?QuickLink=index&overridelayout=true&36837934524320
    Thanks in advance for your assistance,
    Brad Hood
    06-26-14
    OK.. I did some more investigating on this today. I have found out when I move the sub report that generates the error under another sub report, the sub report in question runs without issue. But when I try and move the sub report that produces the error above any other sub report, the error still generates. Can this get any weirder.... FYI.. there is a total of ten sub reports on this report.

    Hi Brad
    I'm not sure that Modules would show us anything in this case, so let's try a few other things:
    1) Make sure you are using SP 1 for Crystal Reports Basic Runtime for Visual Studio:
    Crystal Reports for VS 2005 and VS 2008 Updates & Runtime Downloads
    2) Seeing as this works on dev, this may be some db inconsistency so enabling the report option "Verify on 1st Print" will be a good idea.
    3) Double check the database client and make sure the same client is used on dev and deployed systems. Actually I take back my Modules negative as this is where it may prove useful. Once you have the Modules logs, look at who is loading the crpe32.dll, then look at that process and see the client dlls.
    4) Check the printer driver; see if there are any updates. Try a different printer driver.
    Ten subreports is not too bad, though not that good either as you are loading the report engine with at minimum 11 simultaneous reports (each subreport is considered to be a report). If a subreport is in a details section and the details section returns a 100 records, you are running 100 + 1 reports. This may lead to memory issues, which may lead to the error.
    If I was a betting man, I'd put most of my money on the printer driver (based on your last addition to your post). What ever money I had left would go to some database issue (be it actual data or client related).
    - Ludek
    Senior Support Engineer AGS Product Support, Global Support Center Canada
    Follow us on Twitter

  • Get blank report in Crystal Report Viewer when exporting to PDF

    I have an application that creates reports in the CrystalReportViewer while at the same time exports a PDF of that report.  I am having a problem in which
    performing the export causes the report in the ReportViewer and the PDF report to be blank. They have the header and column labels but no data.  If I
    comment out the Me.Export(reportExportOptions) line at the end of the exportPDFReport method the report in the ReportViewer works fine, displaying
    data on the report. 
    I have other forms that perfrom this same type of function on different reports and work fine.  In fact they use the same exportPDFReport method.  This leads
    me to believe that a difference in the reports may be causing the problem.  But I can't figure out why.
    I am using .net 3.5 with Crystal Reports 2008 (CR2008) full edition in Visual Studio 2008.  Although the reports that work were probably created using
    VS 2005 and the VS 2005 edition of Crystal, and which have since been updated to CR2008.
    Has anyone else experienced this problem?  If so, how did you resolve it?
    Thanks for any help!
    Code is below
    Public Class frmAgedReceivables
      Inherits CustomWinControls.CustomForm
      Implements ICustomForm
    ... other properties and methods
    Public Sub CreateAgedPremiumsReport()
        Dim billingType As String = "Direct"
        Dim reportType As String = String.Empty
        Dim frmDateProcess As New frmEnterProcessMonth()
        frmDateProcess.pikMonthYear.Value = TurmsController.CodeEffectiveDate
        frmDateProcess.lblMessage.Text = "Enter Processing Date"
        If frmDateProcess.ShowDialog(Me) = Windows.Forms.DialogResult.Cancel Then
          Return
        End If
        Me.InForceStripStatusLabel1.Text = "Creating Report"
        Me.Refresh()
        Dim report As New AgedReceivablesReport()
        report.Load(report.ReportPathAndName)
        Me.Refresh()
        Dim reportParmsArrayList As ArrayList = New ArrayList()
        reportParmsArrayList.Add(report.ParameterFields.Item(0).Name)
        reportParmsArrayList.Add(frmDateProcess.pikMonthYear.Value)
        reportParmsArrayList.Add(report.ParameterFields.Item(1).Name)
        If AgencyBillRadioButton.Checked Then
          billingType = "Agency"
        End If
        reportParmsArrayList.Add(billingType)
        reportParmsArrayList.Add(report.ParameterFields.Item(2).Name)
        reportParmsArrayList.Add(TurmsController.CurrentUser.UserName.Value)
        reportParmsArrayList.Add(report.ParameterFields.Item(3).Name)
        If NAICCheckBox.Checked Then
          reportType = "NAIC"
        End If
        reportParmsArrayList.Add(reportType)
        Dim parms As String() = {frmDateProcess.pikMonthYear.Value, billingType, reportType}
        Me.InForceStripStatusLabel1.Text = "Loading Data"
        Me.Refresh()
        report.getData(parms)
        Dim reportParms() = reportParmsArrayList.ToArray
        report.loadParameters(reportParms)
        report.ExportFileName = Microsoft.VisualBasic.Format(frmDateProcess.pikMonthYear.Value, "yyyyMM") + report.GetType.Name
        report.ExportFormat = CrystalDecisions.Shared.ExportFormatType.PortableDocFormat
        report.exportPDFReport()
        Me.CrystalReportViewer1.ReportSource = report
      End Sub
    End Class  
    Public MustInherit Class TurmsReport
      Inherits CrystalDecisions.CrystalReports.Engine.ReportDocument
    Implements _ITurmsReport
    ... other properties and methods
        Public Sub exportPDFReport() Implements _ITurmsReport.exportPDFReport
          Dim reportExportOptions As New ExportOptions
          Dim reportDiskFileDestinationOptions As New DiskFileDestinationOptions
          Dim reportFormatTypeOptions As New PdfRtfWordFormatOptions
          reportDiskFileDestinationOptions.DiskFileName = getExportPathAndName(ExportType.PDF)
          If Me.UsePageRange _
          AndAlso Me.FirstPageNumber > 0 _
          AndAlso Me.LastPageNumber > 0 Then
            reportFormatTypeOptions.UsePageRange = True
            reportFormatTypeOptions.FirstPageNumber = Me.FirstPageNumber
            reportFormatTypeOptions.LastPageNumber = Me.LastPageNumber
          End If
          With reportExportOptions
            .ExportDestinationType = CrystalDecisions.Shared.ExportDestinationType.DiskFile
            .ExportFormatType = ExportFormatType.PortableDocFormat
            .ExportDestinationOptions = reportDiskFileDestinationOptions
            .ExportFormatOptions = reportFormatTypeOptions
          End With
          If Not System.IO.Directory.Exists(Me.ExportFilePath) Then
            System.IO.Directory.CreateDirectory(Me.ExportFilePath)
          End If
          Me.Export(reportExportOptions)
      End Sub
    End Class 

    Pretty much. 
    Seems I had at one time hard coded a record selection statement that I forgot to remove which caused the report to be blank.  That solved my problem, but there still seems to be an issue in that the Crystal Report Viewer performed differently when I tried to export to PDF (no records displayed) then when I didn't (records displayed).
    Chip

  • Crystal Report Hangs

    Hi,
    Crystal Reports Server 2008 and Crystal Reports Client are installed in two different servers.  Both the serveru2019s operating system is windows 2003 SP 2.  ASP.Net (c#) is used for launching the reports. When I tried to launch the reports it hangs. After some time I got the following message
    COMException (0x80041017): Request timed out because there has been no reply from the server in 600000 ms.  
    CrystalDecisions.ReportAppServer.ClientDoc.ISReportAppFactory.OpenDocument(Object DocID, Int32 Options) +0
       ASP.crystalserver_crystal_report_server_aspx.Page_Load() in d:\TECH\report\Crystal_Report_Server.aspx:53
       System.Web.Util.CalliHelper.ArglessFunctionCaller(IntPtr fp, Object o) +8
       System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e) +8664819
       System.Web.UI.Control.OnLoad(EventArgs e) +99
       System.Web.UI.Control.LoadRecursive() +50
       System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +627
    I got this error when the following statement is executed
    InfoObject infoObject = infoObjects[1];
    ReportClientDocument reportClientDocument = new ReportClientDocumentClass();
    reportClientDocument = reportAppFactory.OpenDocument(infoObject.ID, 0);
    I tried to increase the request timed out (up to 30 minu2019s) in the registry settings but also this fails.  There is no firewall available in both the servers. 
    Can any one provide me the required settings to over come this issue. 
    Please Note : Previously I was not able to login to the CMS server from the client machine.  After providing the server details in the clientu2019s host entries then I am able to connect to the CMS now.

    This still sounds like a firewall issue specificly when dealing with the RAS server.  I would refer you to the [Configuring The Crystal Enterprise SDK to Work With Firewalls|http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/0047e5f4-3140-2b10-1bae-de175e4c741c] document.
    The other way to test this is by running the application on the same machine as the enterprise server and see if it still gives that error.  If it does, that means the report is taking that long to run, if it doesn't, then there is some sort of network issue.

  • Crystal Reports hanging in Enterprise

    Just suddenly we are facing issues with some of the crystal reports . they were working fine in Business objects up to yesterday but today they are hanging , even when we try to open/modify parameter they hang. we are using Crystal report 2008 and BO R3.1.
    evnthough some reports hangs the others just run fine.
    we noticed that , the reports which are stopped working are the ones that have  " Printer Option" unchecked in Crystal Report designer . when we open these reports in designer and check that option on pagesetup and  save them back in enterprise they are working.
    I have no luck to find the rootcause of this issue. what have changed that caused this issue.
    It is happening on both test and production environments. I read somewhere on forum that it might be  related to printer driver, but we haven't updated any driver and nothing seems to be changed.
    any ideas?

    In the page setup put the option Microsoft XPS Document Writer in the Printer option before publishing it to BO Server .

  • Crystal report hangs when calling oracle package

    hi i have a oracle package that calls a proceadure, if i test this package in PLSQL developer it compiles and i get sensible results
    this package has been designed using a ref type cursor to be called from crystal reports. it primary objective when the report is run, is to use File util to output data to an xml file.
    when i run this from crystal reports it locks crystal reports up, and dosent output a file.
    any ideas why crystal is hanging?
    crystal DB call
    {CALL  Enhanced_Pharos_Report.run_report
    (NVL({?a_channel_id},0),{?b_on_date})}
    package
    create or replace package UKTV_PHAROS_EXPORT_RPT
    -- Author : WARDLJ01
    -- Created : 03/04/2006 12:25:03
    -- Purpose : export xml for pharos voiceovers
    -- Public type declarations
    AS
    TYPE result_set_type IS REF CURSOR;
    PROCEDURE run_report
    (main_cursor IN OUT result_set_type,
    V_CHANNEL_ID NUMBER,
    V_ONDATE      DATE);
    end ;--UKTV_PHAROS_EXPORT_RPT;
    package body
    create or replace package body UKTV_PHAROS_EXPORT_RPT AS
    PROCEDURE run_report
    (main_cursor IN OUT result_set_type,
    V_CHANNEL_ID NUMBER,
    V_ONDATE      DATE)
    is
    BEGIN
    OPEN main_cursor FOR
    -- Passess the parameters back to the cursor - which passes them back to the Crystal Report output
    SELECT V_CHANNEL_ID, V_ONDATE from DUAL;
    -- This is a procedure that calls FILE_UTL to export the data.
    UKTV_PHAROS_Export(V_CHANNEL_ID, V_ONDATE);
    END;
    end;
    Proceadure
    create or replace procedure uktv_own.UKTV_Pharos_Export(V_CHANNEL_ID number, V_ONDATE date) is
    l_output utl_file.file_type;
    p_filename varchar2(30);
    V_DETAIL_id varchar2(100);
    V_MEDIA_ID varchar2(150);
    V_REQUIRED varchar2(50);
    V_SCRIPT varchar2(4000);
    V_DEL_DATE varchar2(100);
    V_FULLMEDIA_ID varchar2(500);
    V_START_TIME varchar2(100);
    V_DURATION varchar2(100);
    V_DATE varchar2(100);
    V_CHANNEL varchar2(40);
    V_LOGO_NAME varchar2(250);
    Cursor VO_CURSOR
    IS
    select event_voiceover.detail_id, vo_media_id, vo_required, vo_script, vo_del_date, full_media_id,
    event.start_time, event.duration, event.on_date, event.channel_id, logo.logo_name
    from event_voiceover,
    onair.event, onair.event_technical_data,
    onair.logo
    where event_voiceover.detail_id = event.detail_id
    and event_technical_data.event_technical_data_id = event.event_technical_data_id
    and event_technical_data.content_id = logo.logo_id and
    event.channel_id = V_CHANNEL_ID and
    vo_required = 500004580 and
    event.on_date = V_ONDATE;
    begin
    p_filename :='voice_overs.xml';
    l_output := utl_file.fopen ('PHAROS_DIR', p_filename, 'w' );
    OPEN VO_CURSOR;
    utl_file.put ( l_output,'<Voice_Overs>');
    Loop
    FETCH VO_CURSOR INTO V_DETAIL_id, V_MEDIA_ID, V_REQUIRED,V_SCRIPT, V_DEL_DATE, V_FULLMEDIA_ID, V_START_TIME, V_DURATION, V_DATE, V_CHANNEL, V_LOGO_NAME;
    EXIT WHEN VO_CURSOR%NOTFOUND
    OR VO_CURSOR%ROWCOUNT = 10000;
    utl_file.put( l_output, '<DETAIL_ID>');
    utl_file.put( l_output, V_DETAIL_ID);
    utl_file.put( l_output, '</DETAIL_ID>');
    utl_file.put( l_output, '<MEDIA_ID>');
    utl_file.put( l_output, V_MEDIA_ID);
    utl_file.put( l_output, '</MEDIA_ID>');
    utl_file.put( l_output, '<REQUIRED>');
    utl_file.put( l_output, V_REQUIRED);
    utl_file.put( l_output, '</REQUIRED>');
    utl_file.put( l_output, '<SCRIPT>');
    utl_file.put( l_output, V_SCRIPT);
    utl_file.put( l_output, '</SCRIPT>');
    utl_file.put( l_output, '<DEL_DATE>');
    utl_file.put( l_output, V_DEL_DATE);
    utl_file.put( l_output, '</DEL_DATE>');
    utl_file.put( l_output, '<FULLMEDIA_ID>');
    utl_file.put( l_output, V_FULLMEDIA_ID);
    utl_file.put( l_output, '</FULLMEDIA_ID>');
    utl_file.put( l_output, '<START_TIME>');
    utl_file.put( l_output, V_START_TIME);
    utl_file.put( l_output, '</START_TIME>');
    utl_file.put( l_output, '<DURATION>');
    utl_file.put( l_output, V_DURATION);
    utl_file.put( l_output, '</DURATION>');
    utl_file.put( l_output, '<ONDATE>');
    utl_file.put( l_output, V_DATE);
    utl_file.put( l_output, '</ONDATE>');
    utl_file.put( l_output, '<CHANNEL_ID>');
    utl_file.put( l_output, V_CHANNEL);
    utl_file.put( l_output, '</CHANNEL_ID>');
    utl_file.put( l_output, '<LOGO_NAME>');
    utl_file.put( l_output, V_LOGO_NAME);
    utl_file.put( l_output, '</LOGO_NAME>');
    utl_file.new_line ( l_output);
    end loop;
    utl_file.put ( l_output,'</Voice_Overs>');
    utl_file.fclose(l_output);
    end UKTV_Pharos_Export;

    Hi yes the package uses fileutil to output a file,
    the report user has permission over the file util output directory.
    I have previously used this method to generate rpt, and other output files in parelell.
    thanks
    james

  • Crystal report error when exporting to pdf

    We have developed a crystal report that gives an error (doesnt say which one) when i try to export the report to pdf.
    It says "exporting the report failed".
    Version : 11.0.0.1282.
    The viewer im talking about is the integrated preview of crystal reports.
    Edited by: RolandWorms79 on Sep 2, 2009 10:42 PM

    Seems to be working now.
    I upgraded CR and adobe.
    Edited by: RolandWorms79 on Sep 7, 2009 10:52 AM

Maybe you are looking for