APEX 3.0 print report error (empty file).

I installed BI 10.1.3.2.0 successfully.
I tested my convert servlet (which comes with BI Publisher)
by trying to go there directly in browser:
http://roman:80/xmlpserver/convert
I get the message in Firefox:
"500 Internal Server Error
Servlet error: An exception occurred. The current application deployment descriptors do not allow for including it in this response. Please consult the application log for details".
The application.log contents:
"07/04/09 16:42:38.928 xmlpserver: Servlet error
javax.servlet.ServletException: XML data or RTF template is null.
     at oracle.apps.xdo.servlet.Converter.doPost(Converter.java:99)
     at oracle.apps.xdo.servlet.Converter.doGet(Converter.java:50)
     at javax.servlet.http.HttpServlet.service(HttpServlet.java:743)
     at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
     at com.evermind[Oracle Containers for J2EE 10g
(10.1.3.1.0) ].server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:711)
     at com.evermind[Oracle Containers for J2EE 10g (10.1.3.1.0) ].server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:368)
     at com.evermind[Oracle Containers for J2EE 10g (10.1.3.1.0) ].server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:866)
     at com.evermind[Oracle Containers for J2EE 10g (10.1.3.1.0) ].server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:448)
     at com.evermind[Oracle Containers for J2EE 10g (10.1.3.1.0) ].server.http.AJPRequestHandler.run(AJPRequestHandler.java:302)
     at com.evermind[Oracle Containers for J2EE 10g (10.1.3.1.0) ].server.http.AJPRequestHandler.run(AJPRequestHandler.java:190)
     at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
     at com.evermind[Oracle Containers for J2EE 10g (10.1.3.1.0) ].util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)".
It's mean that servlet is up and running.
I specify the following attributes:
Oracle BI Publisher: Advanced Support
Print Server Protocol: HTTP
Print Server Host Address: roman (the name of my computer)
Print Server Port: the port 80
Print Server Script: /xmlpserver/convert
When i click on link "Print report" in my application i receive the empty pdf file
(file size is zero).
Is it any idea ?
Regards,
Roman

Hi Marc!
I uninstalled BI EE. Then I installed Bi EE again. I selected the Basic setup and BI Publisher only. BI Publisher has been successfully installed on my computer.
The number of port is 9704. (My previous mistake was the port number - 80!!!).
Then I start oc4j.
I tried Application Builder home page built-in report. It's work fine!
But i received some problems with print report in my own application.
If i selected "Use Generic Column Names (parse query at runtime only)" in source settings of my region i received an empty PDF file (0 bytes).
When i selected "English (United-States) en-us in Globalization settings and also
selected "Use Query-Specific Column Names and Validate Query" in source settings of my region i received the fine report.
I am using the "Default report Layout".
But I want to receive the report based on "Query-Specific Column Names and Validate Query". And also I want to have "Russian (ru) Globalization settings in my application.
Do your have any advice ?
Regards,
Roman.

Similar Messages

  • Print Report Error

    Hi,
    When I try to print a standart landscape report, Print Report.vi gives error (error -41002 NI-Reports: Invalid printer Name)
    I can read Default printer with query avilable printers vi so the name can not be wrong. Do you have any suggestion ? The default printer is adobe pdf...
    Thanks

    Two other good alternatives that are ad-free are PDF Creator and CutePDF Writer.
    Mike...
    Certified Professional Instructor
    Certified LabVIEW Architect
    LabVIEW Champion
    "... after all, He's not a tame lion..."
    Be thinking ahead and mark your dance card for NI Week 2015 now: TS 6139 - Object Oriented First Steps

  • APEX 3.0 Print report region

    When I want to print a report region, and choose A4 as "Paper Size", Adobe cannot open the PDF document. Adobe says that the document is not a supported file type or because the file has been damaged.
    When I choose Letter as "Paper Size" the PDF document is generated as expected without any errors.
    Does A4 not work?
    Greetings,
    Guido

    I have configured printing to work in my version of Apex. I am running APEX 3.0 on a 10gR2 platform. The steps I did were as follows:
    - Install a working JDK and add the JAVA_HOME\bin directory to you path
    - Follow the instructions on this page (under Apache-FOP heading): http://www.oracle.com/technology/products/database/application_express/html/configure_printing.html
    Only two downloads are necessary - the JSP and the FOP from apache. Use the lower link, and download a -bin file on windows.
    - Follow instructions on where to place files, and the edit application.xml configuration.
    - Set up OC4J - cd Oracle_home\oc4j. Read the readme.
    - In essence this means
    1) cd Oracle_home\oc4j\j2ee\home and run "java -jar oc4j.jar -install"
    2) OC4J now needs to be started - "java -jar oc4j.jar"
    3) Point your browser at http://localhost:8888, and the page should show. If not, you can check the command window for OC4J to see any errors - I am not an expert, it just worked for me.
    - Now set up APEX through admin (again using instructions in the link) to specify the print attributes
    - Make sure OC4J is running and try to print a report
    - Hey presto, Bob's your uncle!
    Obviously, OC4J needs to run on the server to generate the prints.
    Hope this helps,
    Graham

  • Print report into TEXT file format

    How am I going to produce a text file report from report builder?
    -- I want all the layout header, page number, time as preview windows.
    -- I use charactor mode to build the report, then use option "generate to file - delimited".(but the layout was messy)
    -- After save the file, the layout is totally different from preview window.
    How can I overcome this problem. Thank you for helping.

    hello Tan Chin Chye,
    if you create your report in character mode, then if you pass/set parameter mode to character, then you can create text file by supplying values for parameters destype (file), desformat (selected printer file - you may customize some for yourself - number of characters per line, number of lines pre page, some control sequences ...) and desname (name of file to create). not sure about creating such file from previewer, but you can try print and then print to file option ... in character mode this should produce plain text ...
    hth
    petr valouch, brainbench mvp for oracle programming, http://www.brainbench.com

  • Printing Report Error

    Hi I have upgraded my system to 8.81 PL09 from 2007A.
    I run the Customer receivable aging report and encountered this error upon preview:
    Printing Error: This Operation is not supported for this data type: (RPT-6716) (Field_189) Method: DecimaLeft DataType: Variant[Message 200-38]
    Formula for Field_189: Amount(DecimalLeft(Field_039))
    Field_039: text - amount
    Thank you.

    hi,
    try to preview it using the default system layout.
    regards,
    Fidel

  • Error in Crystal Report: Error in File ??:Missing or out-of-date export DLL

    Runtime user getting the following error when trying to create a PDF file from a Crystal Report.
    Where do I search on the machine for the necessary crystal export dll files?
    What are those file names?
    What version of those files should be on the machine?
    Out of these files, should any be registered?
    If so, where in the registry do I check for them?
    The CR2008 SP1 runtime merge modules were installed on this client.

    The files you are looking for are:
    exportmodeller.dll ++
    crtslv.dll ++
    crxf_pdf.dll
    u2d*.dll
    ++ indicates that these files need to be registered
    The files should be in c:\program files\business objects\businessobjects enterprise 12.0\win32_x86
    The merge modules should have installed those files and registered them though. Did you get any errors on install of the runtime? Can you export to any other format? Are you exporting form the viewer, or using code?
    Ludek

  • Printing report error with using orarrp

    when I using orarrp together with Acrobat Reader 5.0, the
    printout rotated and aligned into the centre of A4 paper.
    Although I have unchecked the check box in the print dialog of
    Acrobat Reader, it still happened.
    I have tested by using HP4L, HP1100 as the printer, it seems no
    difference by using different laser print.
    Is there any parameter passing for overcome the problem?
    Please show how can I overcome the situation.

    Hi Sandeep,
    I'm already draging it from the query input port. Are you referring a different way? How I could have the input variables in the query which I'm creating using the BI integration wizard.  To get this input variable I'm trying to add the input form.
    Am I doing anything wrong here ?
    Pls help.
    Thanks
    Alok

  • Apex 3.0: export a report as .csv file without any Enclosed By character?

    In Apex "Report Attributes page/Report Export" is possible to define the Enclosed By field.
    The default Enclosed By by characters are a double quotation marks (" ").
    Is there a way to export the report as .csv file without any Enclosed By character?
    Example line format:
    a) using default Enclosed By
    "value1";"value2";"value3"
    b) using ('') as Enclosed By
    'value1';'value2';'value3'
    c) using blank space as Enclosed By
    value1 ; value2 ; value
    d) without any Enclosed By character
    value1;value2;value3
    What can we do in Apex to export a report as .csv file with the line format example d)?
    Thanks for your help.

    Hi,
    There is no Out of the box feature in Apex to achieve this functionality. But what you can do is write a page process to generate the CSV that you want.
    For this what I will do is on the first page where you press the Button it will call a PL/SQL page process which actually generates the csv. You can keep the existing report only for display purposes. Find the below process which generate the csv that you require.
    begin
    -- Set the MIME type
    owa_util.mime_header( 'application/octet', FALSE );
    -- Set the name of the file
    htp.p('Content-Disposition: attachment; filename="filename.csv"');
    -- Close the HTTP Header
    owa_util.http_header_close;
    htp.prn('columnHeader1,ColumnHeader2,ColumnHeader3'||chr(13));
    -- Loop through all rows
    for x in (
    Select column1,column2,column3 from table;
    loop
    -- Print out a portion of a row,
    -- separated by commas and ended by a CR
    htp.prn(x."column1"||','||x."column2"||','||x."column3"||chr(13));
    end loop;
    -- Send an error code so that the
    -- rest of the HTML does not render
    htmldb_application.g_unrecoverable_error := true; --You can leave out this line if you still want to display the existing HTML report.
    end;
    This will show a download box, so you can download the csv file. The page process should be called before header and the condition should be the button press.

  • Dunning letter print output error

    Dunning Letter Generate and Custom Dunning Letter Print is not giving an output.
    The message is: "The file cannot be opened because it has no pages."
    Does anyone knows what might be the reason? and how to make Dunning letter work again..this is something urgent because this error is right now in the production and the users are really facing problems without the Dunning Reports
    I really appreciate for the quick response
    Thanks in advance!
    Best,KK

    We have customized Dunning Letter
    It used to work perfectly sometime back ...I dont know what went wrong suddently it is giving error when tried to run Custom Dunning Letter Print gving error "The file cannot be opened because it has no pages." [/b
    Not able to understand what might be wrong??
    I checked data for one customer in EBS (Customers>Customer Standard>Input customer number (xxxxxx)>Button Find>Button Ok>Button Open>Tab Characteristics) Even though in EBS form I saw that Language field contains value but respective field in DB was empty.
    My question when we run Dunning Letter from which level does oracle picks up the language??
    Is it from Address level of the customer??
    We have different environments which are clones of production. when I tried to run Dunning Letter in DEV environment which is used for building and testing which was a recent clone of production, it worked for me...not able to understand why it is not working in production??
    Best, KK

  • How do we print the error logs

    hi friends , i want to print the error log file of a bdc session method ,can any one sugest me a answer

    Check out this Sample Program
    *& Report                                             *
    *& This program is to transfer data from flat file to transaction 'FD01'
    REPORT  zgopi_report
    NO STANDARD PAGE HEADING
                            LINE-SIZE 255
                            MESSAGE-ID ZRASH.
    *                 Internal Table Declarations                          *
    *--Internal Table for Data Uploading.
    DATA : BEGIN OF IT_FFCUST OCCURS 0,
             KUNNR(10),
             BUKRS(4),
             KTOKD(4),
             ANRED(15),
             NAME1(35),
             SORTL(10),
             STRAS(35),
             ORT01(35),
             PSTLZ(10),
             LAND1(3),
             SPRAS(2),
             AKONT(10),
           END OF IT_FFCUST.
    *--Internal Table to Store Error Records.
    DATA : BEGIN OF IT_ERRCUST OCCURS 0,
             KUNNR(10),
             EMSG(255),
           END OF IT_ERRCUST.
    *--Internal Table to Store Successful Records.
    DATA : BEGIN OF IT_SUCCUST OCCURS 0,
             KUNNR(10),
             SMSG(255),
           END OF IT_SUCCUST.
    *--Internal Table for Storing the BDC data.
    DATA : IT_CUSTBDC LIKE BDCDATA OCCURS 0 WITH HEADER LINE.
    *--Internal Table for storing the messages.
    DATA : IT_CUSTMSG LIKE BDCMSGCOLL OCCURS 0 WITH HEADER LINE.
    DATA : V_FLAG1(1) VALUE ' ',
    "Flag used for opening session.
           V_TLINES LIKE SY-TABIX,
           "For storing total records processed.
           V_ELINES LIKE SY-TABIX,
           "For storing the no of error records.
           V_SLINES LIKE SY-TABIX.
           "For storing the no of success records.
    *          Selection screen                                            *
    SELECTION-SCREEN BEGIN OF BLOCK B1.
    PARAMETERS : V_FNAME LIKE RLGRAP-FILENAME,
                 V_SESNAM  LIKE RLGRAP-FILENAME.
    SELECTION-SCREEN END OF BLOCK B1.
    *          Start-of-selection                                          *
    START-OF-SELECTION.
    *-- Form to upload flatfile data into the internal table.
      PERFORM FORM_UPLOADFF.
    *        TOP-OF-PAGE                                                   *
    TOP-OF-PAGE.
      WRITE:/ 'Details of the error and success records for the transaction'
      ULINE.
      SKIP.
    *          End of Selection                                            *
    END-OF-SELECTION.
    *-- Form to Generate a BDC from the Uploaded Internal table
      PERFORM FORM_BDCGENERATE.
    *--To write the totals and the session name.
      PERFORM FORM_WRITEOP.
    *&      Form  form_uploadff
    *     Form to upload flatfile data into the internal table.
    FORM FORM_UPLOADFF .
    *--Variable to change the type of the parameter file name.
      DATA : LV_FILE TYPE STRING.
      LV_FILE = V_FNAME.
    *--Function to upload the flat file to the internal table.
      CALL FUNCTION 'GUI_UPLOAD'
        EXPORTING
          FILENAME                      =  LV_FILE
    *     FILETYPE                      = 'ASC'
          HAS_FIELD_SEPARATOR           = 'X'
    *     HEADER_LENGTH                 = 0
    *     READ_BY_LINE                  = 'X'
    *     DAT_MODE                      = ' '
    *   IMPORTING
    *     FILELENGTH                    =
    *     HEADER                        =
        TABLES
          DATA_TAB                      = IT_FFCUST
        EXCEPTIONS
          FILE_OPEN_ERROR               = 1
          FILE_READ_ERROR               = 2
          NO_BATCH                      = 3
          GUI_REFUSE_FILETRANSFER       = 4
          INVALID_TYPE                  = 5
          NO_AUTHORITY                  = 6
          UNKNOWN_ERROR                 = 7
          BAD_DATA_FORMAT               = 8
          HEADER_NOT_ALLOWED            = 9
          SEPARATOR_NOT_ALLOWED         = 10
          HEADER_TOO_LONG               = 11
          UNKNOWN_DP_ERROR              = 12
          ACCESS_DENIED                 = 13
          DP_OUT_OF_MEMORY              = 14
          DISK_FULL                     = 15
          DP_TIMEOUT                    = 16
          OTHERS                        = 17
      IF SY-SUBRC = 0.
    *--Deleting the headings from the internal table.
        DELETE IT_FFCUST INDEX 1.
    *--Getting the total number of records uploaded.
        DESCRIBE TABLE IT_FFCUST LINES V_TLINES.
      ENDIF.
    ENDFORM.                    " form_uploadff
    *&      Form  Form_bdcgenerate
    *     Form to Generate a BDC from the Uploaded Internal table
    FORM FORM_BDCGENERATE .
    *--Generating the BDC table for the fields of the internal table.
      LOOP AT IT_FFCUST.
        PERFORM POPULATEBDC USING :
                                    'X' 'SAPMF02D' '0105',
                                    ' ' 'BDC_OKCODE'  '/00' ,
                                    ' ' 'RF02D-KUNNR' IT_FFCUST-KUNNR,
                                    ' ' 'RF02D-BUKRS' IT_FFCUST-BUKRS,
                                    ' ' 'RF02D-KTOKD' IT_FFCUST-KTOKD,
                                    'X' 'SAPMF02D' '0110' ,
                                    ' ' 'BDC_OKCODE'  '/00',
                                    ' ' 'KNA1-ANRED'  IT_FFCUST-ANRED,
                                    ' ' 'KNA1-NAME1' IT_FFCUST-NAME1,
                                    ' ' 'KNA1-SORTL'  IT_FFCUST-SORTL,
                                    ' ' 'KNA1-STRAS' IT_FFCUST-STRAS,
                                    ' ' 'KNA1-ORT01' IT_FFCUST-ORT01,
                                    ' ' 'KNA1-PSTLZ' IT_FFCUST-PSTLZ,
                                    ' ' 'KNA1-LAND1' IT_FFCUST-LAND1,
                                    ' ' 'KNA1-SPRAS' IT_FFCUST-SPRAS,
                                    'X' 'SAPMFO2D' '0120',     
                                    ' ' 'BDC_OKCODE'  '/00',
                                    'X' 'SAPMF02D' '0125',     
                                    ' ' 'BDC_OKCODE'  '/00',
                                    'X' 'SAPMF02D' '0130',     
                                    ' ' 'BDC_OKCODE'  '=ENTR',
                                    'X' 'SAPMF02D' '0340',     
                                    ' ' 'BDC_OKCODE'  '=ENTR',
                                    'X' 'SAPMF02D' '0360',
                                    ' ' 'BDC_OKCODE'  '=ENTR',
                                    'X' 'SAPMF02D' '0210',     
                                    ' ' 'KNB1-AKONT'  IT_FFCUST-AKONT,
                                    ' ' 'BDC_OKCODE'  '/00',
                                    'X' 'SAPMF02D' '0215',
                                    ' ' 'BDC_OKCODE'  '/00',
                                    'X' 'SAPMF02D' '0220',     
                                    ' ' 'BDC_OKCODE'  '/00',
                                    'X' 'SAPMF02D' '0230',     
                                    ' ' 'BDC_OKCODE'  '=UPDA'.
    *--Calling the transaction 'fd01'.
        CALL TRANSACTION 'FD01' USING IT_CUSTBDC MODE 'N' UPDATE 'S'
        MESSAGES INTO IT_CUSTMSG.
        IF SY-SUBRC <> 0.
    *--Populating the error records internal table.
          IT_ERRCUST-KUNNR = IT_FFCUST-KUNNR.
          APPEND IT_ERRCUST.
          CLEAR IT_ERRCUST.
    *--Opening a session if there is an error record.
          IF V_FLAG1 = ' '.
            PERFORM FORM_OPENSESSION.
            V_FLAG1 = 'X'.
          ENDIF.
    *--Inserting the error records into already open session.
          IF V_FLAG1 = 'X'.
            PERFORM FORM_INSERT.
          ENDIF.
    *--Populating the Success records internal table.
        ELSE.
          IT_SUCCUST-KUNNR = IT_FFCUST-KUNNR.
          APPEND IT_SUCCUST.
          CLEAR IT_SUCCUST.
        ENDIF.
    *--Displaying the messages.
        IF NOT IT_CUSTMSG[] IS INITIAL.
          PERFORM FORM_FORMATMSG.
        ENDIF.
    *--Clearing the message and bdc tables.
        CLEAR : IT_CUSTBDC[],IT_CUSTMSG[].
      ENDLOOP.
    *--Getting the total no of error records.
      DESCRIBE TABLE IT_ERRCUST LINES V_ELINES.
    *--Getting the total no of successful records.
      DESCRIBE TABLE IT_SUCCUST LINES V_SLINES.
    *--Closing the session only if it is open.
      IF V_FLAG1 = 'X'.
        PERFORM FORM_CLOSESESS.
      ENDIF.
    ENDFORM.                    " Form_bdcgenerate
    *&      Form  populatebdc
    *       FOrm to Populate the BDC table.
    FORM POPULATEBDC  USING    VALUE(P_0178)
                               VALUE(P_0179)
                               VALUE(P_0180).
      IF P_0178 = 'X'.
        IT_CUSTBDC-PROGRAM = P_0179.
        IT_CUSTBDC-DYNPRO = P_0180.
        IT_CUSTBDC-DYNBEGIN = 'X'.
      ELSE.
        IT_CUSTBDC-FNAM = P_0179.
        IT_CUSTBDC-FVAL = P_0180.
      ENDIF.
      APPEND IT_CUSTBDC.
      CLEAR IT_CUSTBDC.
    ENDFORM.                    " populatebdc
    *&      Form  FORM_OPENSESSION
    *       Form to Open a session.
    FORM FORM_OPENSESSION .
    *--Variable to convert the given session name into reqd type.
      DATA : LV_SESNAM(12).
      LV_SESNAM = V_SESNAM.
    *--Opening a session.
      CALL FUNCTION 'BDC_OPEN_GROUP'
       EXPORTING
         CLIENT                    = SY-MANDT
         GROUP                     = LV_SESNAM
         HOLDDATE                  = '20040805'
         KEEP                      = 'X'
         USER                      = SY-UNAME
         PROG                      = SY-CPROG
    *  IMPORTING
    *    QID                       =
       EXCEPTIONS
         CLIENT_INVALID            = 1
         DESTINATION_INVALID       = 2
         GROUP_INVALID             = 3
         GROUP_IS_LOCKED           = 4
         HOLDDATE_INVALID          = 5
         INTERNAL_ERROR            = 6
         QUEUE_ERROR               = 7
         RUNNING                   = 8
         SYSTEM_LOCK_ERROR         = 9
         USER_INVALID              = 10
         OTHERS                    = 11
      IF SY-SUBRC <> 0.
        WRITE :/ 'Session not open'.
      ENDIF.
    ENDFORM.                    " FORM_OPENSESSION
    *&      Form  FORM_INSERT
    *       fORM TO INSERT ERROR RECOED INTO A SESSION.
    FORM FORM_INSERT .
    *--Inserting the record into session.
      CALL FUNCTION 'BDC_INSERT'
        EXPORTING
          TCODE                  = 'FD01'
    *     POST_LOCAL             = NOVBLOCAL
    *     PRINTING               = NOPRINT
    *     SIMUBATCH              = ' '
    *     CTUPARAMS              = ' '
        TABLES
          DYNPROTAB              = IT_CUSTBDC
        EXCEPTIONS
          INTERNAL_ERROR         = 1
          NOT_OPEN               = 2
          QUEUE_ERROR            = 3
          TCODE_INVALID          = 4
          PRINTING_INVALID       = 5
          POSTING_INVALID        = 6
          OTHERS                 = 7
      IF SY-SUBRC <> 0.
        WRITE :/ 'Unable to insert the record'.
      ENDIF.
    ENDFORM.                    " FORM_INSERT
    *&      Form  FORM_CLOSESESS
    *       Form to Close the Open Session.
    FORM FORM_CLOSESESS .
      CALL FUNCTION 'BDC_CLOSE_GROUP'
        EXCEPTIONS
          NOT_OPEN    = 1
          QUEUE_ERROR = 2
          OTHERS      = 3.
      IF SY-SUBRC <> 0.
      ENDIF.
    ENDFORM.                    " FORM_CLOSESESS
    *&      Form  FORM_FORMATMSG
    *       Form to format messages.
    FORM FORM_FORMATMSG .
    *--Var to store the formatted msg.
      DATA : LV_MSG(255).
      CALL FUNCTION 'FORMAT_MESSAGE'
        EXPORTING
          ID        = SY-MSGID
          LANG      = SY-LANGU
          NO        = SY-MSGNO
          V1        = SY-MSGV1
          V2        = SY-MSGV2
          V3        = SY-MSGV3
          V4        = SY-MSGV4
        IMPORTING
          MSG       = LV_MSG
        EXCEPTIONS
          NOT_FOUND = 1
          OTHERS    = 2.
      IF SY-SUBRC = 0.
        WRITE :/ LV_MSG.
      ENDIF.
      ULINE.
    ENDFORM.                    " FORM_FORMATMSG
    *&      Form  form_writeop
    *       To write the totals and the session name.
    FORM FORM_WRITEOP .
      WRITE :/ 'Total Records Uploaded :',V_TLINES,
               / 'No of Error Records :',V_ELINES,
               / 'No of Success Records :',V_SLINES,
               / 'Name of the Session :',V_SESNAM.
      ULINE.
    ENDFORM.                    " form_writeop

  • Error when print report from apex using apex listener 2

    Hi
    Apex 4.2
    I want print report to pdf from apex using apex listener 2.
    The print server 'Oracle APEX listener' has been defined at the instance-level.
    ACL has been configured.
    I attempt to download a report in PDF mode, it appears that it downloads,
    but when I go to open it up I get an error that the file is of the wrong type or possibly corrupt.
    Upon opening the file in Text editor, there is an error as below
    %PDF-1.4
    1 瀛楄妭鐨?UTF-8 搴忓垪鐨勫瓧鑺?1 鏃犳晥銆?

    If you use Windows the user that runs the reports server is usually LocalSystem. Check this in the Windows Services panel.
    LocalSystem has no printer access. To be able to print, you have to use a real domain user that has access to the printer. So, change the Log on properties in the Services panel.

  • APEX 3.0 Printing fails Acrobat could not open file

    I like the new printing tab in Apex 3.0 but I have already stumbled across a problem.
    If I put text in the "Page Header" with a page item:
    REPORT for &P9_USER
    The report errors when opening in Acrobat:
    Acrobat Reader could not open 'Report[1].pdf because it is either not a supported file type or because the file has been damaged (for example, it was sent as a email attachemnt and wasn't correclty decoded).
    The report opens fine with just
    Report
    P9_USER is a valid page item.
    The "Page Header" help text: Enter text to appear in the header section of the document. To show values of application and page items, use the &ITEM_NAME. syntax.
    So, why does it fail?
    Thanks,
    Drew

    Have you tried a period at the end of &P9_USER ?
    => REPORT for &P9_USER.
    I'm able to reproduce your behavior if I skip the period at the end. Looks like the reporting engine has a problem is the header contains a &
    Patrick
    Check out my APEX-blog: http://inside-apex.blogspot.com
    Check out the ApexLib Framework: http://apexlib.sourceforge.net

  • Apex+Cocoon PDF Printing issue  on printing Large Reports

    Hello All,
    I m in a real hard situation with PDF printing in apex.. The application manages to push the report into PDF with lesser record reports but for Large reports, it says File corrupted when i open the downloaded PDF file..
    I use Apex+Coocoon and fop printing. I found from some forums as this issue was with Java Heap size being lesser and asked me to increase the size.. so i increased the size from 128MB to 1024MB and my server settings allows me to set 1550MB at the maximum..
    If i cross this limit the TOMCAT server stops from running...
    But all of the above was not much fruitful, since it throws again the same errors if report rows crosses 6000+ rows, can any one help me out, do i need to check any other settings to make my large reports printable in PDF.
    My application needs to print around *20000+ rows each report may have at least 20 columns* to get printed...
    Much awaited for your assistance
    Edited by: mohansanjee on Sep 8, 2010 3:58 AM
    Edited by: mohansanjee on Sep 8, 2010 3:59 AM
    Edited by: mohansanjee on Sep 8, 2010 4:00 AM

    Matt,
    On this note, it probably also makes sense to mention that with APEX 3.1 we introduce a PL/SQL API that gives you much broader control over what is generated how and the method it's made available to the client. You'll get the ability to retrieve the PDF in a BLOB directly on the server, store in your own tables for later download or send via email attachment. You'll also get the ability to write your own download process using after-submit page processes. And you can have combinations of your own XML with your own stylesheets, or combine report queries with customer stylesheets at runtime, or just simply retrieve the results of pre-defined report queries / report layouts in BLOBs.
    I'll talk about this much more on my Blog once 3.1 is out, and will provide whitepapers, how-to's etc
    Regards,
    Marc

  • Print PDF error msg in apex oracle BI publisher

    Hi, I am getting error msg, "File can not be open because either it is not supported file type or file has been damage" when clicking Print PDF button from Apex oracle run application on oracle server...please help...

    I see this error when generating BI-Publisher reports that return no data. Check your query to verify it returns data. Also check that any bind variables used by the query have appropriate values.
    If it is the case where your query returns no data but you'd like to avoid the confusing message you can code around it by adding the following logic in your report template. For this work around to work it assumes you've got BI-Publisher licensing (you can create report queries and report templates through shared components).
    In the following example it is assumed that the xml structure has a REGION element. You can substitute the REGION element with whatever element works for your xml structure.
    Example XML structure
    <?xml version="1.0" encoding="UTF-8" ?>
    <ROWSET>
      <ROW>
        <REGION>Central Office</REGION>
        <LOCATION>Materials Management</LOCATION>
        <DIRECTOR>Blow, Joe</DIRECTOR>
        <NOTES />
      </ROW>
      <ROW>
        <REGION>Second Region</REGION>
        <LOCATION>Accounts Payable</LOCATION>
        <DIRECTOR>Blow, Jill</DIRECTOR>
        <NOTES />
      </ROW>
    </ROWSET>Add code like the following to your template. The code looks to see if records exist in the xml structure. If records DO NOT EXIST then it will return a pdf with the statement "No Data Found for Specified Search Criteria". Of course if data exists... you'll see that on your report.
    <?if: REGION  = ''?>
         No Data Found For Specified Search Criteria
    <?end if?>
    <?if: REGION != ''?>
        your_data_group_starts
        your report template definition
        your_data_group_ends
    <?end if?>

  • Error 7 occurred at Get LV Class Default Value.vi only in my executable for Print Report - LV 2010 SP1

    I have a program written which uses the print report function. Everything works fine in the uncompiled code, my report prints just fine. I can compile my project all the way to a full installer. When I run the executable I get the error:
    Error 7 occurred at Get LV Class Default Value.vi
    With the following text:
    Possible reason(s):
    LabVIEW:  File not found. The file might have been moved or deleted, or the file path might be incorrectly formatted for the operating system. For example, use \ as path separators on Windows, : on Mac OS X, and / on Linux. Verify that the path is correct using the command prompt or file explorer.
    =========================
    NI-488:  Non-existent board.
    Complete call chain:
         Get LV Class Default Value.vi
         NI_report.lvclass:New Report.vi
         print report.vi
         EMS V3.0 streamline.vi
    LabVIEW attempted to load the class at this path:
    H:\InMotion\EMS\builds\EMS_01\Emissions Analyzer\EMS.exe\1abvi3w\vi.lib\Utility\NIReport.llb\Standard Report\NI_Standard Report.lvclass
    "EMS V3.0 streamline.vi" is my main vi, "print report.vi" is the subvi that creates and prints the report based on all the information sent to it. I get no warning when I compile this to an executable. I already tried repairing both LV SP1 and the report generator toolkit. No change after I compile to an exe.
    Any help would be appreciated. Thanks.
    Garrett Herning

    Ok, I tried that... and now I get an error when I try to compile to an executable... This is right at the end of the build and will not let me build an executable.
    Error:
    An error has occurred. Expand the Details section for more information.
    Details:
    Visit the Request Support page at ni.com/ask to learn more about resolving this problem. Use the following information as a reference:
    Error 7 occurred at Invoke Node in AB_Build.lvclass:Copy_Files.vi->AB_Application.lvclass:Copy_Files.vi->AB_EXE.lvclass:Copy_Files.vi->AB_Build.lvclass:Build.vi->AB_Application.lvclass:Build.vi->AB_EXE.lvclass:Build.vi->AB_Engine_Build.vi->AB_Build_Invoke.vi->AB_Build_Invoke.vi.ProxyCaller
    Possible reason(s):
    LabVIEW:  File not found. The file might have been moved or deleted, or the file path might be incorrectly formatted for the operating system. For example, use \ as path separators on Windows, : on Mac OS X, and / on Linux. Verify that the path is correct using the command prompt or file explorer.
    =========================
    NI-488:  Non-existent board.
    Method Name: Linker:Write Info To File

Maybe you are looking for

  • SSIS Package Load Failure and is missing Execute SQL Task in Toolbox

    Also, BIDS closes after right-clicking the toolbox and selecting “Choose Items”. I’ve tried several ways to fix these issues with no success. I’m running SSIS/SSMS/SQL Server 2008 R2 (but not running an SQL instance on my PC) on a Windows XP with Ser

  • Deleting New Event in iCal on iPad

    Unwittingly, I have "entered" a "New Event" in iCal on my iPad 2.  I would like to delete it but haven't been able to do so. Does anyone know how I can delete the "New Event"? I would appreciate your help and suggestions. Thanks. Vernon

  • Custom IDOC to create XML file

    Hi, We are on 4.7 release. A custom outbound IDOC type is developed to creates a text file at the location entered in FILE type port. Now we want to create XML file intead of text file. Is it possible by simply changing the port to XML FILE port? Or

  • What's wrong with Imatch as of now?

    What is wrong with ITunes and Imatch? I can't find my music in the ICloud on either the IPhone or on my Windows 7 laptop.

  • Search shopping cart by plant and storage location?

    Hi, is there any standard report or anyway to search the shopping cart based on the plant and storage location.. please let me know.. thanks