Help Needed in Advaced PDF Printing! (Cannot read file error)

Hi All,
I have a page that displays 2 reports. I need to Print to PDF all these reports, along with their headings to PDF. I have used the Advanced Print options.
The report queries for these 2 reports are huge exceeding the 4000 character limit of APEX query region. This query has a lot of parameters in it. Hence I created 2 views for these reports (views that get updated with new values dynamically).
Now in "Report Queries" I have 2 select statements as "select * from view_1" and "select * from view_2". When both these queries fetch records, if i click on test report, it works perfectly fine.
But when ever any one of these queries, does not return records, I get an error as "Adobe Reader could not open the file because it is either not supported file type or because the file has been damaged".
How do I handle this? Is there no way to overcome this?
Thanks,
Sumana

Hi,
Thanks for the thread. I went through it and tried using the conditional if in RTF (as mentioned in the thread). But I still face problems.
My XML structure without data is:
<?xml version="1.0" encoding="UTF-8" ?>
- <DOCUMENT>
<DATE>23-JUN-09</DATE>
<USER_NAME>SUMANAR</USER_NAME>
<APP_ID>100</APP_ID>
<APP_NAME>APEX - Application Builder</APP_NAME>
<TITLE>Home_Page</TITLE>
<P0_PREPARED_DATE />
- <REGION ID="0">
- <ROWSET1>
- <ROWSET1_ROW>
<PROJ_NO_NAME>ABC</PROJ_NO_NAME>
<TASK_NAME />
<BUDGET_AMT>100.00</BUDGET_AMT>
<BAL>100.00</BAL>
<PROJ_CLOSE />
<HEADER_FLAG>Y</HEADER_FLAG>
<SORTING_DUMMY>1</SORTING_DUMMY>
</ROWSET1_ROW>
</ROWSET1>
- <ROWSET2>
- <ROWSET2_ROW>
<AWARD_PTA />
<AWARD_PROJ_TASK />
<BGT />
<BAL />
<PROJ_CLOSE />
<HEADER_FLAG />
<SORTING_DUMMY />
</ROWSET2_ROW>
</ROWSET2>
</REGION>
</DOCUMENT>
My XML structure with data is:
<?xml version="1.0" encoding="UTF-8" ?>
- <DOCUMENT>
<DATE>22-JUN-09</DATE>
<USER_NAME>SUMANAR</USER_NAME>
<APP_ID>100</APP_ID>
<APP_NAME>APEX - Application Builder</APP_NAME>
<TITLE>Home_Page</TITLE>
<P0_PREPARED_DATE />
- <REGION ID="0">
- <ROWSET1>
- <ROWSET1_ROW>
<PROJ_NO_NAME>ABC</PROJ_NO_NAME>
<TASK_NAME />
<BUDGET_AMT>100.00</BUDGET_AMT>
<BAL>100.00</BAL>
<PROJ_CLOSE />
<HEADER_FLAG>Y</HEADER_FLAG>
<SORTING_DUMMY>1</SORTING_DUMMY>
</ROWSET1_ROW>
</ROWSET1>
- <ROWSET2>
- <ROWSET2_ROW>
<AWARD_PTA>Test</AWARD_PTA>
<AWARD_PROJ_TASK>Test</AWARD_PROJ_TASK>
<BGT>100.00</BGT>
<BAL />
<PROJ_CLOSE>28-FEB-09</PROJ_CLOSE>
<HEADER_FLAG>Y</HEADER_FLAG>
<SORTING_DUMMY>1</SORTING_DUMMY>
</ROWSET2_ROW>
</REGION>
</DOCUMENT>
I gave conditional display in RTF as:
<?if:not(ROWSET1_ROW)?> No Data Found For Specified Search Criteria.<?end if?>
<?if:(ROWSET1_ROW)?> Display Table Details.<?end if?>
and
<?if:not(ROWSET2_ROW)?> No Data Found For Specified Search Criteria.<?end if?>
<?if:(ROWSET2_ROW)?> Display Table Details.<?end if?>
On saving the rtf and trying to do a preview I get "Caused by: oracle.xdo.parser.v2.XPathException: Cannot convert to number." error. What am I doing wrong here?

Similar Messages

  • Help needed! T40 DVD driver cannot read DVD

    Dear Expert
    My DVD driver cannot DVD. The DVD driver icon in "My Computer" does not show the name of the DVD and when clicked, shows "no DVD inserted".
    But it can read CD.
    Thanks very much for your help and advice in advance,
    Cath

    there is a possibility that the laser associated with the DVD reader is no longer functional, while your CD reader laser still is, as these two lasers are different.
    Regards,
    Jin Li
    May this year, be the year of 'DO'!
    I am a volunteer, and not a paid staff of Lenovo or Microsoft

  • FRM-10221 Cannot read file PL000000-but there is no menu named PL000000 !!?

    Hi all!
    I'm having a problem wich will get me nervous!
    Here we have an application 100% generated from designer. The problem is that it have been started in questionnables ways ... there is 2 workarea to contains all the forms needed for the application instead of 2 containers in the same workarea. The workarea "JD" where we put all the utility forms and the workarea "PL" where we put all the forms use for the application configuration.
    Recently I have developped a new form in the container "PL" but the menu calling this form is in the workarea "JD" with a fake copy of the original form so we can refer it in the "JD" menu. When i generated and run the applications and i choose my new form in the menu i got the error "FRM-10221 Cannot read file PL000000" 2 times then the forms is called and is running correctly. I really don't understand whats is going on cause there is no menu called "PL000000" in the 2 workarea!!!
    All that i read about this error mesage from now tell that the menu is not in the form path or many other solution, but in my case I got an error about a menu that does not exists!! I know that something is triggering this but i just can't find it cause there is no menu called "PL000000" anywhere in this application!!??
    Is there someone who could have an idea about whats going on here!!??? HELP PLEASE!
    Thank you!

    Thanks alot!
    I'm not familiar with 100% generated forms from Designer yet and your answer make me discover something. It seems that when you generate a new form, the main menu of the container is automatically attached to that forms by default.
    Plus i was wrong in a point in my original post. There was no menu named "PL000000" but there was one named something else but with the "implementation name" as "PL000000" ... my bad ...
    Thanks alot again, my problem is now solved!
    :o)

  • Help, i am trying to print my JPEG file that i created in photoshop at a photo lab but it is coming out like an X-ray. I have printed these files before so i have no idea what i am doing wrong.

    Help, i am trying to print my JPEG file that i created in photoshop at a photo lab but it is coming out like an X-ray. I have printed these files before so i have no idea what i am doing wrong.
    Could it be something i have done in my settings?
    or when i am saving the file to JPEG?

    Basically you're approaching this the wrong way around. What you need is the extreme sections to be quieter, not louder. The problem with moving the lower end of the audio is that you'll move the noise floor too, and get what's generally referred to as a 'pumping' effect. So what you do is to use a compressor to tame the peaks, and leave the lower level sound alone. When you've done that, you amplify (or normalize to a level you can determine) the whole signal. So the noise floor will be higher, but constant and not pumping. 'Match Volume' is a completely different tool for setting the overall levels of different tracks so that they sound approximately the same - it doesn't even begin to do what you want.
    If it's music you are treating, then I'd almost certainly use the multiband compressor, because you get less artefacts with this. You need to experiment with the threshold levels, and almost certainly not use a massive compression ratio - 3:1 or 4:1 should be sufficient (although it's hard to tell without actually hearing the audio). You can tell what it's doing at any given point because the downward meter indicates how hard it's working. In theory you can apply make-up gain with it as well, but personally I leave that until everything's treated and use the 'Normalize' tool to set an absolute max level.

  • Help needed to resolve there is no attribute X errors..

    On my website http://www.dorffdesign.nl/ there is a problem. Ive put the FB Like button there and it worked fine for a while. But now its gone. So ive run
    http://validator.w3.org/ on it and came up with the next errors:
    ========================================================================================== ==============================================
      Line 232, Column 32: there is no attribute "data-href" <div class="fb-like" data-href="http://www.dorffdesign.nl/" data-send="true" da… ✉  
      Line 232, Column 71: there is no attribute "data-send" …http://www.dorffdesign.nl/" data-send="true" data-width="450" data-show-faces=… ✉  
      Line 232, Column 89: there is no attribute "data-width" …orffdesign.nl/" data-send="true" data-width="450" data-show-faces="true"></div> ✉  
      Line 232, Column 111: there is no attribute "data-show-faces" …orffdesign.nl/" data-send="true" data-width="450" data-show-faces="true"></div>
    ========================================================================================== ===============================================
    In dreamweaver ive use this code for the FB likke button:
    <div id="fb-root"></div>
    <script>(function(d, s, id) {
      var js, fjs = d.getElementsByTagName(s)[0];
      if (d.getElementById(id)) return;
      js = d.createElement(s); js.id = id;
      js.src = "//connect.facebook.net/nl_NL/all.js#xfbml=1";
      fjs.parentNode.insertBefore(js, fjs);
    }(document, 'script', 'facebook-jssdk'));</script>
    ========================================================================================== ===========
    <div class="fb-like" data-href="http://www.dorffdesign.nl/" data-send="true" data-width="450" data-show-faces="true"></div>
    I really want to solve this so im hoping if you can point me into the right direction.
    Regards

    Hi ive bin able to put the fb like button on my page. But i totally forgot how i have to place the fb like button under the black box named portfolio.
    I hope you can tell me.
    Regards
    Date: Wed, 7 Nov 2012 07:41:54 -0700
    From: [email protected]
    To: [email protected]
    Subject: Help needed to resolve there is no attribute X errors..
        Re: Help needed to resolve there is no attribute X errors..
        created by MurraySummers in Dreamweaver General - View the full discussion
    You can either ignore those errors (since they have no impact on your page's functionality) or you can use DW to convert your page to an HTML5 doctype (File > Convert > HTML 5, and then the errors will go away.
         Please note that the Adobe Forums do not accept email attachments. If you want to embed a screen image in your message please visit the thread in the forum to embed the image at http://forums.adobe.com/message/4829606#4829606
         Replies to this message go to everyone subscribed to this thread, not directly to the person who posted the message. To post a reply, either reply to this email or visit the message page: http://forums.adobe.com/message/4829606#4829606
         To unsubscribe from this thread, please visit the message page at http://forums.adobe.com/message/4829606#4829606. In the Actions box on the right, click the Stop Email Notifications link.
         Start a new discussion in Dreamweaver General by email or at Adobe Community
      For more information about maintaining your forum email notifications please go to http://forums.adobe.com/message/2936746#2936746.

  • FRM-10221:Cannot read file FNDMENU

    Hi Friend's,
    I am facing form error when I install and configure the ocj4 in my server.
    The form is working good before install/configure the oc4j. Once I install/configure oc4j i am getting bellow error when I open the forms.
    OC4J is working fine, but form only getting error for me.
    Issue is,
    FRM-10221:Cannot read file FNDMENU
    FRM-14810:Error Creating menu
    FRM-14067: Cannot find menu item: Invalid ID.
    Please help me any one...
    Regards,
    Gopi

    Hi Gopi,
    This question would be better handled in community  E-Business Suite -> EBS: General Discussions -
    https://forums.oracle.com/community/developer/english/e-business_suite/ebs_general_discussion
    Regards,
    Debbie

  • FRM-10221: Cannot read file MAIN_MENU

    FRM-10221: Cannot read file MAIN_MENU

    You need to put the menu in Form_path, make sure you do not put the menu extension in the form property

  • Help needed  while exporting crystal reports to HTML file format using java

    Help needed  while exporting crystal reports to HTML file format using java api(not using crystalviewer).i want to download the
    html file of the report
    thanks

    the ReportExportFormat class does not have HTML format, it has got to be XML. Export to HTML is available from CR Designer only.
    Edited by: Aasavari Bhave on Jan 24, 2012 11:37 AM

  • Error ORA-20003: Cannot read file/...  in Cash Management?

    Dear All.
    I am having this Error in the Cash Management Module on the bank statement load process
    Error ORA-20003: Cannot read file /software/d01/oracle/interface/finance/inbound/email.9Nemail.13111507.3445704.cnv.
    How do I resolve this error.
    Thank you.

    Hi Lucy,
    The error is probably due to one of the reasons:
    1. There is no file in the location: /software/d01/oracle/interface/finance/inbound/email.9Nemail.13111507.3445704.cnv.
    2. No permission on the file respective file.
    Please get the assistance from the DBA to check on this.
    Thanks &
    Best Regards,

  • Frm-10221: Cannot read file ACTIV

    Dear,
    while running a form this error message appears
    frm-10221: Cannot read file ACTIVhere ACTIV is the mmb file. i can add the attached library but i think this file is not working?
    Thanks in Advance.
    Stalin Ephraim

    I faced a similar issue and your solution worked a charm. Thank you. Although the menu was already compiled, I had to re-compile in order to resolve this.

  • Reports server Cannot read files from mapped drive

    Hi,
    Am trying to run a report from a network mapped drive under WinNT 4.0 through report server.
    I get "REP-0110 Error opening or reading file" error message. After looking up the help on error, I find:
    1. The file being accessed does exist
    2. The login account has full privileges
    with the file/directory/drive in question.
    If the report to be run is on a local drive,
    everything is fine.
    Can anyone help me asap.
    Thank you
    Sundar
    null

    hello,
    there are multiple things to keep in mind :
    1) if you are using a mapped drive :
    mapped drives are on a per-user-basis. the reports-server-service is running as a system-service by default and will not have the same mapped drives as the logged on user. in fact it fill have NO drives mapped.
    what you could do is to use the UNC-path like \\servername\share\filename to adress the file
    2) problems with UNC
    there are some known problems using UNC to access files on remote machines in some versions of reports. pls check with oracle support services in case this causes problems.
    regards,
    the oracle reports team

  • FRM-10221: Cannot read file /u02/applfint/apps/apps_st/appl/au/12.0.0/resource  FRM-41810 FRM-41067

    Hello Experts,
    I am in the process upgrade EBS to 12.1.3 and when attempting to launch forms to "Generate All Business Views", I encountered three Form errors:
    FRM-10221: Cannot read file /u02/applfint/apps/apps_st/appl/au/12.0.0/resource
    FRM-41810: error creating menu
    FRM-41067: cannot fine menu item: invalid ID
    Back in my shell, I have also noticed that some part of my environment variable is not functioning correctly or is missing:
    . /u02/applfinp/apps/apps_st/appl/APPSOFPROD_ofinprod01.env
    or
    . /u02/applfinp/apps/apps_st/appl/OFPROD_ofinprod01.env
    Gives:
    -bash: /usrxit/devenv.env: No such file or directory
    I have used adadmin utility and choose option to recreate grants and synonyms; executing adautocfg.sh  but problem is persisting.
    Thanks
    Mathias

    Hello Hussein,
    I am glad you are online. I am on a deadline to finish an upgrade by 8 AM this morning.
    I have actually finished the upgrade and was about to "Generate All Business Views" to fix all the dozens of invalid views that are trailing.
    I had just finished applying Patch 9239090 to get to ebs 12.1.3 an its pre-requisits. This is the first time I am opening these forms and all forms are throwing the same error.
    I have manually relinked the adadmin:
    adrelink.sh force=y "ad adadmin"
    Autoconfig is giving errors:
    ORA-06502: PL/SQL: numeric or value error
    ORA-06512: at line 1
    java.sql.SQLException: ORA-06502: PL/SQL: numeric or value error
    ORA-06512: at line 1
    at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:439)
    at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:395)
    at oracle.jdbc.driver.T4C8Oall.processError(T4C8Oall.java:802)
    at oracle.jdbc.driver.T4CTTIfun.receive(T4CTTIfun.java:436)
    Thanks
    Mathias

  • IMAQ Read File error -1074396159

    Hi NI,
    I am getting "IMAQ Read File" error -1074396159 when trying to read a large image.  I get this error when trying to read a ~400MB image on a very clean (not many extraneous applications) Windows 7 computer with 4GB or RAM.  I tried this on two other not very clean Windows 7 computers with 4GB of RAM and 2GB of RAM respectively.  On the latter two computers I do not get this error.  I found this knowledgebase which explains one possible cause of this error.  Are there any other causes for this error?  Are there any workarounds?
    Thanks,
    Jonathan-LV

    That KB is incorrect, as the memory only needs to be virtually contiguous inside the process address space, not physically contiguous in RAM. This is not affected by how many programs are loaded (with the very slight exception that some read-only pages of DLLs can be shared cross-process in certain cases). This is really a function of how fragmented the memory space is in the process itself. The problem is that a normal 32-bit app on 32-bit Windows only has 2GB of virtual memory space. 500MB is 25% of the entire space. DLLs tend to get loaded scattered throughout the memory space for various reasons and other memory allocations that have different lifetimes cause fragmentation. The number of multi-hundred-MB chunks available is very small in a large app like LabVIEW.
    Some options to help:
    -Moving to a 64-bit OS (still using 32-bit LabVIEW) will change that 2GB address space to 4GB with no changes to your app
    -Moving to both a 64-bit OS plus 64-bit LabVIEW will change that 4GB address space to 8TB (virtually unlimited)
    Eric

  • "Unable to read file" error in Excel 2010 when downloading .xls file from IE11

    We have lots of reports that have links for our users to be able to download report results in Excel format. We accomplish this by using the Excel mime type in our .asp pages. Sporadically, we are seeing "Unable to read file" errors in Excel 2010
    after choosing Open from the IE11 save dialog. Choosing Save/Save As and the file will open just fine.
    Also, we can sometimes cause the error to occur more frequently by switching windows during the time when the file is downloading.
    If the file is opened directly from /Temporary Internet Files then it opens just fine.
    Window 7 64-bit
    Thanks in advance!

    Hi,
    I found you replied in a similar thread, did you try the workaround (Reset the IE) that provided there? Did you change a browser to test?
    Then, I suggest we use Process Monitor to do further troubleshooting. Please collect all the actions of IE.exe and Excel.exe, and check the if there are some
    error message/code during you open XLS file from IE 11.
    Hope it's helpful.
    Regards,
    George Zhao
    TechNet Community Support
    It's recommended to download and install
    Configuration Analyzer Tool (OffCAT), which is developed by Microsoft Support teams. Once the tool is installed, you can run it at any time to scan for hundreds of known issues in Office
    programs.

  • Intermittent 'Unable to read file' error when exporting/opening .html to .xls

    Hi, hope someone can help.
    I have an issue where I export a report from the Salesform platform to Excel. The file that is being exported is in html format and the report does not include any Pivot tables.
    The 'Unable to read file' error occurs intermittently, when Excel is already open and you export/open it from Salesforce...
    Have tried using Excel in safe mode with all the add-ins disabled and still no joy. The
    Do not save encrypted paged to disk option has been un-ticked the in Internet Options -> advanced.
    The issue happens in IE and other browsers, after raising the issue with Salesforce support they advised to raise the issue with MS instead, so here I am to see if anyone can help!
    Any help would be much appreciated

    Tools>Internet Options>Advanced tab, uncheck "Do not save encrypted files to disk"
    check your GPO settings to see if you have configured this to be unchecked.
    Thx.
    Rob^_^

Maybe you are looking for

  • Invalid Serial Number for New, Sealed Photoshop CS5 Program?

    Hello, I am trying to install a new sealed Adobe Photoshop CS5 Extended product which I bought of ebay.com for a class I am taking with International Webmasters Association.  The product was purchased new in a sealed box but I get the error for an in

  • Exception throw by RMS

    Hi all, I was programing j2me by using: NetBean + Sun wireless Toolkit. When running on emularor, my app perfomce very good. But when I deploy on real device(e.g Samsung B7330 using window mobile) I got so much errors. So I google and find out: J2ME

  • Wireless training

    Looking for some training on the 2500 series controller and 1142 or 1040 AP's preferably. I have called all the Cisco numbers I can find with no luck. TIA, Eric

  • WPUBON01 - E1WPB04 error

    When we process non-aggregated sales (Basic type WPUBON01, message type WPUBON, segment E1WPB04), the tax amount and tax code is not processed in the billing document, and IDoc status gets completed with the status 53 error message. Is there any way

  • Lowering Audio Level at Specific Points

    I want to lower the volume for a selected portion of a clip. I zoom in on the clip, and turn on the waveform for the audio, though I am trying create keyframes by clicking near the top of the audio clip to place a keyframe, however, nothing happens?