Downloading pdf inside adf region issue

All,
I am trying to download a pdf inside a region. My code to download it is
        InputStream ios = Thread.currentThread().getContextClassLoader().getResourceAsStream("StatementReport.jrxml");
        Map parameters = new HashMap();
        parameters.put("PAR_CUSTOMER_ID", customerId.toString());
        parameters.put("SUBREPORT_DIR", "./");
        parameters.put("rowid", statementRowId.toString());
        Connection connection = null;
        try {
            HttpServletResponse response =  (HttpServletResponse)FacesContext.getCurrentInstance().getExternalContext().getResponse();
            ServletOutputStream servletOutputStream;
            servletOutputStream = response.getOutputStream();
            byte[] bytes = null;
            //this will give us the existing connection from the AM
            ob = bc.getOperationBinding("getCurrentConnection");
            ob.execute();
            connection = (Connection)ob.getResult();
            //This will create a new connection alltogether.
            /* Context ctx = new InitialContext();
            Context envCtx = (Context)ctx.lookup("");
            DataSource ds = (DataSource)envCtx.lookup("jdbc/om");
            if (ds != null) {
                    connection = ds.getConnection();
            JasperDesign jasperDesign = JRXmlLoader.load(ios);
            JasperReport jasperReport =   JasperCompileManager.compileReport(jasperDesign);
            bytes = JasperRunManager.runReportToPdf(jasperReport, parameters,  connection);
            response.addHeader("Content-disposition",  "attachment;filename=statement.pdf");
            response.setContentType("application/pdf");
            response.setContentLength(bytes.length); //commented this also as mentioned in a number of post. Also tried adding buffersize to the response object but no progress
            servletOutputStream.write(bytes, 0, bytes.length);
            servletOutputStream.flush();
            servletOutputStream.close();
            context.responseComplete();
        } catch (IOException e) {
            e.printStackTrace();
        } catch (JRException e) {
            e.printStackTrace();
        } /*catch (NamingException e) {
            e.printStackTrace();
        } catch (SQLException e) {
            e.printStackTrace();
        } */catch(Exception e){
            e.printStackTrace();
        }I get the following error and the pdf dosent open
<Sep 28, 2011 10:12:04 AM GST> <Error> <HTTP> <BEA-101104> <Servlet execution in servlet context "ServletContext@8594227[app:DealerOnline module:DealerOnline path:/DealerOnline spec-version:2.5 version:V2.0]" failed, java.net.ProtocolException: Didn't meet stated Content-Length, wrote: '0' bytes instead of stated: '325047' bytes..
java.net.ProtocolException: Didn't meet stated Content-Length, wrote: '0' bytes instead of stated: '325047' bytes.
     at weblogic.servlet.internal.ServletOutputStreamImpl.ensureContentLength(ServletOutputStreamImpl.java:446)
     at weblogic.servlet.internal.ServletResponseImpl.ensureContentLength(ServletResponseImpl.java:1432)
     at weblogic.servlet.internal.ServletResponseImpl.send(ServletResponseImpl.java:1511)
     at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1462)
     at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
     Truncated. see log file for complete stacktrace
>
I tried it on all browsers but the error continues
thnks
Jdev 11.1.1.5

i even removed the Jsaper related code and tried using
            byte[] content =
                  { '<', 'H', 'T', 'M', 'L', '>', '<', 'B', 'O', 'D', 'Y', '>', 'H', 'e', 'l', 'l', 'o', '<', '/', 'B', 'O', 'D',
                    'Y', '>', '<', '/', 'H', 'T', 'M', 'L', '>' };but the error is there. So for sure it has nothing to do with Jasper reports
Also the form that has region has usesupload property set to true
Edited by: in the line of fire on Sep 28, 2011 10:40 AM

Similar Messages

  • Download PDF inside a folio

    Hi,
    I want to make a folio, where I can embed a link to a website on which the user can download a pdf (to open it in iBooks, if Folio can´t read a downloaded PDF).
    So for example there is a link in the folio, you click the link and a webview will open a website where a pdf-download will automatically start and it will open a window: "open with iBooks". If you click this option it will open the iBooks-App with the PDF.
    Is there a way to make a pdf-download-folio?
    Thank you.

    Just link to the PDF. The in-app browser will open it.
    Bob

  • Pdf inside af:popup?

    is it possible to show a pdf inside adf popup ?
    thanks

    Not one option, the only option. Unless you want to open the PDF in an applet or a Flash application, which would be bad.
    ~ Simon

  • Downloading PDF DOC file in ADF

    Hi All,
    I am using Jdev 11.1.1.2.0
    My requirment is to Displaying the BLOB file like DOC and PDF in ADF UI. User can able to download it. I know there is already few post like this. I have gone through But is there any better way to display way to displaying on The UI.
    Please suggest

    Hi ,
    Sorry for lack of information
    I have gone through the blog
    http://tompeez.wordpress.com/2011/12/16/jdev11-1-2-1-0-handling-imagesfiles-in-adf-part-3/
    http://www.baigzeeshan.com/2010/08/uplaoding-and-downloading-images-in.html
    Problem I have is. How can i show the PDF or Doc file on the UI. ? In the above articles they mentioned about images and displayed They used af:image tag for embed the image.
    I am looking for some good ways of displaying the PDF or doc file on the UI which is stored in Database.

  • How do I make IE open PDF inside browser and not prompt?

    I am using IE 11, Adobe Reader 11.0.06.
    When I try to open a PDF inside a browser window (for example this one: http://helpx.adobe.com/dk/pdf/acrobat_reference.pdf) I am prompted to Open, Save or Save As. I want open the document directly without being prompted.
    How can I achieve that?

    I have now tried the following: Adobe Reader was completely uninstalled. I then downloaded and installed the Adobe Reader 11.0.00 package directly from the Adobe site and upgraded it to 11.0.06 afterwards.
    In this default configuration it works - PDF files on web pages open directly in Internet Explorer (Windows 7, IE 10).
    I then removed Reader and ran our deployed version (from SCCM). Then it failed to show PDF's in the browser, as before.
    So a setting in our TRANSFORMS file could be an issue. Does anyone know if you can set this open/do-not-open in browser inside the MST file using Adobe Reader Configuration Utility? Our installation CMD file looks like this:
    REM *** Install Reader 11 MUI base package
    msiexec /i [\\servername]\source$\Applications\AdobeReader11\AdbeRdr11000_mui_Std\acroread.msi TRANSFORMS=\\[servername]\source$\Applications\AdobeReader11\AcroRead.mst LANG_LIST=[language] /passive
    REM *** Install 11.0.06 MUI update
    msiexec /update \\[servername]\source$\Applications\AdobeReader11\AdbeRdrUpd11006_MUI.msp /passive

  • Display PDF in Apex Region

    Hi,
    I have a requirement to view the PDF content in the apex page region, I am using Apex 3.2 and Oracle 10 Enterprise edition.
    I Uploaded the PDF file in the shared component under static file. Now i need to view the content of the PDF file.
    Please suggest me method to view the PDF content.
    I saw the link in denes blog here he shows how the PDF is getting displayed. but there is no steps of methods mentioned
    >>http://htmldb.oracle.com/pls/otn/f?p=31517:108:56351399589001:::::
    Please suggest.
    Thanks
    Sudhir

    Hi Sudhir,
    when you look at page 3, region "pdf canvas" then you will see the code:
      <canvas id="the-canvas" style="border:1px solid black"></canvas>
      <!-- Use latest PDF.js build from Github -->
      <script type="text/javascript" src="https://raw.github.com/mozilla/pdf.js/gh-pages/build/pdf.js"></script>
      <script type="text/javascript">
        // NOTE:
        // Modifying the URL below to another server will likely *NOT* work. Because of browser
        // security restrictions, we have to use a file server with special headers
        // (CORS) - most servers don't support cross-origin browser requests.
        var url = '#WORKSPACE_IMAGES#Shilpa.pdf';
        // Disable workers to avoid yet another cross-origin issue (workers need the URL of
        // the script to be loaded, and dynamically loading a cross-origin script does
        // not work)
        PDFJS.disableWorker = true;
        // Asynchronous download PDF as an ArrayBuffer
        PDFJS.getDocument(url).then(function getPdfHelloWorld(pdf) {
          // Fetch the first page
          pdf.getPage(1).then(function getPageHelloWorld(page) {
            var scale = 1.5;
            var viewport = page.getViewport(scale);
            // Prepare canvas using PDF page dimensions
            var canvas = document.getElementById('the-canvas');
            var context = canvas.getContext('2d');
            canvas.height = viewport.height;
            canvas.width = viewport.width;
            // Render PDF page into canvas context
            page.render({canvasContext: context, viewport: viewport});
      </script>
    There you can change the url, I actually already reference your workspace file in there.
    But please give a list of browsers you are trying to support. It all depends on the specifics.
    Cheers,
    Dietmar.

  • Problem downloading pdf's from Adobe site

    Hello:
    First of all, thank you very much for your time and help in troubleshooting this issue. The issue is as follows: I downloaded Acrobat Reader 9 and it is successfully installed in my applications folder on my Mac. I am trying to download some pdf's from Adobe's Visual Design curriculum. Every time I attempt to click on these links, I get a redirect to install Acrobat Reader 9. It is already installed. I should be able to directly view the pdf but I keep getting this window to download Acrobat 9. I am not sure why I cannot access these documents. I did successfully read one but I haven't been able to read the other five that I tried. If anyone has any ideas or suggestions on how I can troubleshoot this issue, I would greatly appreciate it. Thanks for your support.

    I also had problems with Adobe Reader 933 on my Mac. I found this info (below).
    I deleted and re-installed the Adobe PDF Viewer plugin several
    times...eventually something connected. Reader now works, even with the Adobe
    plugin installed.
    I don't know why or how, but that's OK with me.
    ...hope this helps,
    Don
    Configuring Acrobat to display PDF files in Safari
    Drag the Acrobat application folder from the CD (or disk image) to the
    Applications folder to install Acrobat. The first time you start Acrobat you
    will be prompted to accept the end user licence agreement (EULA) and register
    Acrobat. After you accept the EULA, Acrobat runs a Self-healing procedure which
    checks for any Acrobat components that need to be installed in other
    applications. The self-healing process installs the Adobe PDFViewer plug-in
    file. The AdobePDFViewer.plugin file is the main file used by Acrobat to view
    PDF files in the Safari browser on Mac OS X is the Adobe PDFViewer.plugin; this
    file is installed in the Library/Internet Plug-Ins folder.
    If you updated or reinstalled your copy of Safari in order to view PDF files,
    then do the following:
         1. Completely remove the old version of Safari.
         2. Install the latest version of Safari.
         3. Remove the Adobe PDFViewer.plugin from the Library/Internet Plug-Ins folder.
         4. In Acrobat run Help > Detect And Repair and choose Adobe PDFViewer.
    The first time you start Acrobat or Adobe Reader 8 on Mac OS X, it will
    automatically install itself as the default PDF viewer for Safari. In order to
    turn this off, start Acrobat or Adobe Reader, go to Preferences > Internet and
    uncheck the "Display PDF in Browser" option. This will cause the PDF to display
    inside the Safari window using its native PDF viewer.
    Known issues
    The following issues have been noted:
    When you upgrade from Adobe Reader or Acrobat from 7 to 8 on a Mactel
    machine, PDF files no longer show in the Safari window. Instead a large Acrobat
    or Adobe Reader icon displays in the middle of the Safari window. This is caused
    by running Safari under Rosetta; Acrobat and Adobe Reader 8 will not show PDF
    files in Safari run under Rosetta, whereas Acrobat and Adobe Reader 7 shows PDFs
    in Safari only under Rosetta. To work around this, you have to turn off Rosetta
    for Safari, or start Acrobat or Acrobat Reader and go to Preferences > Internet
    and turn off Display PDF In Browser; PDF files will be viewed in Safari using
    the Mac OS X native PDF viewing engine after this.
    When you upgrade Adobe Reader or Acrobat from 7 to 8, PDF files no longer
    show in other non-Safari browser windows. Instead a large Acrobat or Reader icon
    displays in the middle of the browser window. This is because the PDF viewing is
    not supported for any WebKit-based applications other than Safari. Work around
    this by starting Acrobat or Adobe Reader, and choosing Preferences > Internet
    and turning off Display PDF In Browser.
    Self-healing
    If the AdobePDFViewer files are deleted, then they will be self-healed after you
    start Acrobat again after the files were deleted. You can also fix Safari
    manually by choosing Help > Repair Acrobat Installation.

  • Need Help - Problem while having a panelformLayout inside a Region.

    I have a jspx page which has some regions out of which one region has a panel form layout in it's corresponding jsff.
    Below is my jspx
    <?xml version='1.0' encoding='UTF-8'?>
    <jsp:root xmlns:jsp="http://java.sun.com/JSP/Page" version="2.1"
    xmlns:f="http://java.sun.com/jsf/core"
    xmlns:h="http://java.sun.com/jsf/html"
    xmlns:af="http://xmlns.oracle.com/adf/faces/rich"
    xmlns:pe="http://xmlns.oracle.com/adf/pageeditor"
    xmlns:cust="http://xmlns.oracle.com/adf/faces/customizable">
    <jsp:directive.page contentType="text/html;charset=UTF-8"/>
    <f:view>
    <af:document id="d1">
    <af:form id="f1">
    <af:pageTemplate viewId="/sdk/core/uifwk/template/templateDef.jspx"
    value="#{bindings.pageTemplateBinding}" id="emT">
    <f:facet name="emContent">
    <af:panelStretchLayout id="psl1" topHeight="auto">
    <!-- DO NOT REMOVE: This component is from Single Target Home Quick Start -->
    <f:facet name="center">
    <pe:pageCustomizable id="pageCustomizable1"
    toolbarLayout="message stretch addonpanels button">
    <af:panelStretchLayout startWidth="40%" endWidth="60%"
    id="ps12">
    <f:facet name="start">
    <af:panelGroupLayout layout="scroll" id="pgl1">
    <cust:panelCustomizable id="panelCustomizable1" showEditAction="false">
    <!--Add code here-->
    <cust:showDetailFrame id="sdf1" text="General">
    <af:region value="#{bindings.General1.regionModel}"
    id="r1"/>
    </cust:showDetailFrame>
    <cust:showDetailFrame id="sdf2" text="Features">
    <af:region value="#{bindings.Features1.regionModel}"
    id="r2"/>
    </cust:showDetailFrame>
    </cust:panelCustomizable>
    </af:panelGroupLayout>
    </f:facet>
    <f:facet name="end">
    <af:panelGroupLayout layout="scroll" id="pgl2">
    <cust:panelCustomizable id="panelCustomizable2" showEditAction="false">
    <!--Add code here-->
    <cust:showDetailFrame id="sdf4" text="Performance">
    <af:region value="#{bindings.Performance1.regionModel}"
    id="r4"/>
    </cust:showDetailFrame>
    </cust:panelCustomizable>
    </af:panelGroupLayout>
    </f:facet>
    </af:panelStretchLayout>
    </pe:pageCustomizable>
    </f:facet>
    </af:panelStretchLayout>
    </f:facet>
    </af:pageTemplate>
    </af:form>
    </af:document>
    </f:view>
    </jsp:root>
    Below is my jsff
    <?xml version='1.0' encoding='UTF-8'?>
    <jsp:root xmlns:jsp="http://java.sun.com/JSP/Page" version="2.1"
    xmlns:af="http://xmlns.oracle.com/adf/faces/rich"
    xmlns:f="http://java.sun.com/jsf/core">
    <!-- DO NOT REMOVE: EM templateDef Quick Start -->
    <af:panelFormLayout id="pfl1">
    <af:panelLabelAndMessage rendered="#{pageFlowScope.PsGeneral.isDisplayDomain}"
    id="plam2" label="Domain" for="aot2">
    <af:activeOutputText value="#{pageFlowScope.PsGeneral.DOMAIN}" id="aot2"/>
    </af:panelLabelAndMessage>
    <af:panelLabelAndMessage rendered="#{pageFlowScope.PsGeneral.isDisplayDbName}"
    id="plam3" label="Database Name" for="aot3">
    <af:activeOutputText value="#{pageFlowScope.PsGeneral.dbName}" id="aot3"/>
    </af:panelLabelAndMessage>
    <af:panelLabelAndMessage rendered="#{pageFlowScope.PsGeneral.isDisplayDbType}"
    id="plam4" label="Database Type" for="aot4">
    <af:activeOutputText value="#{pageFlowScope.PsGeneral.dbType}" id="aot4"/>
    </af:panelLabelAndMessage>
    <af:panelLabelAndMessage rendered="#{pageFlowScope.PsGeneral.isDisplayPsHome}"
    id="plam5" label="PS_HOME" for="aot5">
    <af:activeOutputText value="#{pageFlowScope.PsGeneral.PSHOME}" id="aot5"/>
    </af:panelLabelAndMessage>
    <af:panelLabelAndMessage rendered="#{pageFlowScope.PsGeneral.isDisplayPsCfgHome}"
    id="plam6" label="PS_CFG_HOME" for="aot6">
    <af:activeOutputText value="#{pageFlowScope.PsGeneral.PSCFGHOME}"
    id="aot6"/>
    </af:panelLabelAndMessage>
    <af:panelLabelAndMessage rendered="#{pageFlowScope.PsGeneral.isDisplayAppDb}"
    id="plam7" label="PS Application Database"
    for="gl1">
    <af:goLink rendered="#{pageFlowScope.PsGeneral.isDisplayAppDb}"
    destination="#{pageFlowScope.PsGeneral.appDbURL}"
    shortDesc="#{pageFlowScope.PsGeneral.appDbToolTip}"
    text="#{pageFlowScope.PsGeneral.appDbName}" id="gl1"/>
    </af:panelLabelAndMessage>
    Like this there are 23 Panel Label and Message components .
    <af:panelLabelAndMessage id="plam23" label="Host" for="gl3">
    <af:goLink destination="#{pageFlowScope.PsGeneral.hostURL}"
    text="#{pageFlowScope.PsGeneral.hostName}" id="gl3"/>
    </af:panelLabelAndMessage>
    </af:panelFormLayout>
    </jsp:root>
    When the page is rendered in the browser only the first 5 panelLabelAndMessage elements are rendered and the page is broken after that. There is no problem in the code behind, in whatever order you place the pLAM elements the first five rows are rendered and the page is broken with the following log
    Caused by: java.lang.IndexOutOfBoundsException: Index: 5, Size: 5
    at java.util.ArrayList.RangeCheck(ArrayList.java:547)
    at java.util.ArrayList.get(ArrayList.java:322)
    at oracle.adfinternal.view.faces.renderkit.rich.PanelFormLayoutRenderer$FormColumnEncoder.processComponent(PanelFormLayoutRenderer.java:1425)
    at oracle.adfinternal.view.faces.renderkit.rich.PanelFormLayoutRenderer$FormColumnEncoder.processComponent(PanelFormLayoutRenderer.java:1410)
    at org.apache.myfaces.trinidad.component.UIXComponent.processFlattenedChildren(UIXComponent.java:170)
    at org.apache.myfaces.trinidad.component.UIXComponent.processFlattenedChildren(UIXComponent.java:290)
    at org.apache.myfaces.trinidad.component.UIXComponent.encodeFlattenedChildren(UIXComponent.java:255)
    at oracle.adfinternal.view.faces.renderkit.rich.PanelFormLayoutRenderer._encodeChildren(PanelFormLayoutRenderer.java:352)
    at oracle.adfinternal.view.faces.renderkit.rich.PanelFormLayoutRenderer.encodeAll(PanelFormLayoutRenderer.java:187)
    at oracle.adf.view.rich.render.RichRenderer.encodeAll(RichRenderer.java:1431)
    at org.apache.myfaces.trinidad.render.CoreRenderer.encodeEnd(CoreRenderer.java:341)
    at org.apache.myfaces.trinidad.component.UIXComponentBase.encodeEnd(UIXComponentBase.java:767)
    at javax.faces.component.UIComponent.encodeAll(UIComponent.java:937)
    at org.apache.myfaces.trinidad.render.CoreRenderer.encodeChild(CoreRenderer.java:405)
    If i remove the "panelFormLayout" from the jsff and try, all the elements are appearing but without the alignment. So clearly the problem is in 'panelFormLayout'.
    Is there anything wrong in the jspx violationg the layout rules. Can someone help me in resolving this issue?
    Regards,
    Balakrishnan

    Thanks Timo for the reply.
    JDev Version : JDev 11.1.1.6
    Yes this is a Webcenter page.
    I don't understand what is that plain ADF. Because in all the pages we build, we use these kind of tags. I have used the same panelFormLayout in the jspx and it work's fine for any number of rows. Only when used inside the region the problem occured.
    Regards,
    Balakrishnan

  • ADF Region not getting refreshed after Commit

    Hi everyone!
    I'm having some trouble with a region that is disturbing me for more than 2 weeks, its true guys, I tried everything!!
    My parent page is a normal ADF .jspx page that contains inside it a task-flow call. The first task-flow activity is a router, after sending a String
    to router it chooses the region activity that fits the page (in this example I always pass the same value, same String).
    After the router is called then it delegates to "ExecuteWithParams" method call before calling my final region that have its query executed with
    parameter set inside task-flow.
    The region is refreshed (refresh="ifNeeded") when I change row inside a table in ParentPage, all fine here.
    The problem is:
    - After any Commit (with navigation case or executable binding) is issued inside Region the region save its state and does not refresh anymore, even if task-flow parameters change.
    Already tried CacheResults="false" on iterator too.
    I'm using Jdeveloper 11.1.2.1.
    Thanks in advance!!

    Hi,
    so I think the shirt summary of your problem is that an ADF region doesn't refresh after it issued a commit. Sounds like a bug to me if this reproduces in a test case. Do you have a testcase based on the Oracle HR schema ? If so, send it my way in a zip file you rename to ".unzip". My mail address is in my OTN profile. Note that bugs I file are not visible to customers. So if you need to keep track of any state of the issue, you need to file a service request with support yourself.
    Frank

  • Problems Downloading PDF Doc

    I have a issue downloading PDF docs on my ipad air from my bank website. I am working on the website inside the Epson Iprint app and I have tried
    separately within the Chrome Browser app.
    When I press the doc button to download I get the revolving icon but only for a few seconds. Looking for the doc in the ibooks app I cannot find it nor anywhere else.
    I am new to Apple my ipad has 8.1 os. I have previously successfully downloaded PDF docs from emails and websites in the Chrome Browser .
    Could it be a bank website issue or is there a more simple explanation?
    Many thanks
    G

    Sorted.
    i have discovered I need to work in Safari Browser with pop ups unblock and then I can go to the webpage PDFs button  get the option to open in iBooks. The PDFs doc is then available. Alls well that ends well.
    G

  • Mavericks 10.9.1. Freezes or trackpad becomes slow and unresponsive when viewing downloaded PDF files in Preview.Help!

    The earlier post was my first attempt at posting and had some typos. Repeated with typos corrected.
    I have a Macbook Pro Retina 13" Late 2013 with preinstalled Mavericks.I now have the 10.9.1 update. Almost from the time of purchase in Nov '13, I have been experiencing freezes and slow & unresponsive trackpad. I have more or less narrowed this symptom as happening when viewing downloaded PDF files. The only option is to force eject, if available or shut down. I spoke to Support as I thought it was a RAM issue and they told me that in Mavericks RAM showing almost full was normal as it uses RAM differently. They took me through some resets and cleaning up which has helped a little but freezing stll happens. This never happened with my Macbook AIr running Lion. Any suggestions?
    Shankar9
    Macbook Pro Retina 13" Late '13-Mavericks 10.9.1
    Macbook Air 13" Mid '11-Lion
    Macbook Aluminium 13" Late '08-Snow Leopard

    So a PDF file that you can view in Preview on your MBA causes your new MBP to lock up and/or slow down. Is this right? Also you say more or less narrowed down to PDFs with Preview but does the computer exhibit this behavior with other programs and if so under what conditions? And how much free hard drive space do you have?
    Viewing memory use in Mavericks is different than with previous versions of the OS. Today it looks like we need to pay attention to what Apple calls Memory Pressure which is gauged by the bar graph in Activity Monitor and to the Virtual Memory being used. When the memory pressure graph bar gets too high it turns red and that's bad news. Looking at how much memory is being used doesn't help - I have a 16GB computer and with almost nothing running it still shows something like 15.79GB used but the memory pressure graph is just a think green line. So unless you see the memory pressure bar turning red lets not worry about memory usage at the moment.
    If among the things AppleCare had you do was reinstall Mavericks then I recommend a trip to the Apple store - and take a problem PDF file with you to demonstrate.

  • Adobe Reader 9.0 has delay when downloading PDF file through proxy server

    There is an issue with the Adobe Reader (and Acrobat) 9.0 PDF Link Helper ActiveX control for Internet Explorer (6 or 7) on Windows computers with respect to proxy servers. Due to this issue, there is a 2 minute delay for any Internet Explorer web browser on the Deere network before any PDF file will open from the Internet within the IE web browser if In-Place activation (Display PDF in Browser) is enabled in Adobe Reader 9. This problem does not affect Adobe Reader 8.
    What we are seeing is that when someone on the Deere network clicks on a links to a PDF file in the Internet, the PDF file downloads immediately. But then, after the PDF file is downloaded, the Adobe Reader 9 PDF Link Helper ActiveX control tries to talk directly to the Internet web site. The Adobe Reader 9 PDF Link Helper ActiveX control does not know how to negotiate our proxy server. So after a minute or two, the Adobe Reader 9 PDF Link Helper ActiveX control times out (gives up) and allows the IE browser to display the downloaded PDF file in the IE browser.
    We work around this issue by disabling In Place Activation for PDF files in IE (uncheck Display PDF in Browser). But we would like a fix for the PDF Link Helper ActiveX control.
    [HKEY_CURRENT_USER\Software\Adobe\Acrobat Reader\9.0\Originals]
    "bBrowserIntegration"=dword:00000000
    [HKEY_CURRENT_USER\Software\Adobe\Adobe Acrobat\9.0\Originals]
    "bBrowserIntegration"=dword:00000000
    Here's what our proxy people see when they do a trace of a PDF file download through their proxy server with IE 7 and Adobe Reader 9 with Display PDF in Browser checked.
    The browser tells the proxy to download the pdf, it does and sends it to the browser. Before the browser opens it something in Acrobat ( or I.E. ? ) tries to make a connection back to the content server that hosted the pdf. Unfortunately this agent does not ask the proxy to make the request for it, but rather asks local DNS to resolve the Internet server name. This request dies because our internal private network does not know anything about the Internet. Only the DNS used by the proxy can resolve Interent names. After two unsuccessful DNS queries into the private network, the agent tries to resolve the same Internet name with NBNS ( netbios name service) queries again into the private network, with the same results. These requests persists for more than two minutes ( over 200 unresolved queries ). Then for whatever reason the agent gives up and the already downloaded pdf file loads into the browser.
    I have a TCP capture file if you want it.

    Hi,
    I have the same problem with some specific PDF files. For more than 90% it hangs when opening the file, but sometimes it works (with the same file).
    The workflows where it sometimes worked:
    a) Loading the PDF, the reader is started the first time and displays license dialog.
    b) The reader was already runing and file is loaded with Drag&Drop or File/Open in the Reader
    But most times it does not load.
    I could not find out which file is missing or trying to be opened. So I tried with the CP949.TXT.
    I found no CP949.TXT in Reader 8 installation, so I took it from the link, pasted into notepad and stored in the respective directory
    C:\Program Files (x86)\Adobe\Reader 9.0\Resource\TypeSupport\Unicode\Mappings\win\
    Now it seems to work fine, opening PDFs with double click from exporer.
    But why did Adobe Reader 8 not have the TypeSupport directory at all?
    Even when having found a fix (hack?), I think I did not understand the cause of this problem.
    Regards,
    TheLastReader

  • Can no longer download PDFs, advice & suggestions requested.

    I work in an office with a Mac that has OS X 10.4.11 (400 MHZ Power PC G4).  I have Acrobat Standard version 7.1.3, which is horribly outdated, but finances only allow for free upgrades.
    A month or so ago I was no longer able to download PDF files, and at times my work requires me to download various government forms. I had Adobe Acrobat Standard 7.1.1 when the trouble started, but was able to download free upgrades to the present Acrobat 7.1.3.
    My favorite browser is Safari 4.0.3, and when I try to download a PDF in Safari I get a nearly blank screen, but in the upper left hand corner is a small blue box with a question mark inside.
    A few months ago I downloaded Firefox 3.5.3, and for a time that worked well, but now when I open Firefox and attempt to download PDF files I get a blank screen, and up in the gray bar area (where saved websites are shown) I get what appears to be the web address for the particular PDF file, but the download isn't there.
    This computer also has Internet Explorer 5.2.3, and I believe higher upgrades aren't available for Macs. I started working here in 2005, and even back then Explorer didn't work well, it seemed to only half-open a website. (My terminology is bad, I don't know how to say technical things properly.) For years I've been ignoring Explorer, but just to see what would happen, today I opened Internet Explorer 5.2.3, attempted to download a PDF form, and it more or less worked. I went to the IRS website, downloaded a 1040 form, and was able to fill in the blanks. I then went to our state Revenue website, was able to download tax forms, but wasn't able to fill in the blanks. I don't like Internet Explorer, but if it was possible to get a free upgrade that would work with Macs I'd download it, just to have access to needed PDF forms.
    Does anyone have any ideas what I can do to once again have the ability to download PDFs while using Safari or Firefox? I posted a question on a Safari discussion forum, but didn't get any answers. I've spend the  last couple of weeks checking out this Adobe site, found several questions about PDF downloading problems, but haven't come across an answer.
    Anyone who can offer help will have my undying gratitude.

    Dear Graffiti,
    I just had a chance to play around with the control>click suggestion. When I'm in Safari and get my "blue question mark in a box" I can control>click the question mark, choose "save image to the Desktop" from the drop down menu, and get the form to download. Unfortunately the fill-in form is in Preview, and not Adobe, so I can see the form and print it out, but I can't fill in the blanks.
    When I did control>click on the form name at the website, instead of getting my blue question mark I got a different drop down menu. One option was "download linked file". That seemed like a possibility, so I clicked that. I got a message that went something like this "view.asp.html is an application. Are you sure you want to open an application?" (or maybe it was create an application) Anyway, I didn't want to mess around with applications for each PDF file I try to open, so I canceled that.
    I tried control>click in Firefox and in Internet Explorer, and discovered that the reason why Explorer had been sort-of working before is because it had been opening the forms in Preview when I was just clicking.
    So control>click gives me different options, but I'm not able to figure out how to download the PDFs into Adobe Acrobat, which is how it used to work.

  • How do I download PDF files from Safari 5.0.5?

    I am unable to open PDF files. All I get is a blank black screen. I now download PDFs into my computer from the internet (with mixed success), which is several steps more than has ever taken me in the past.
    Since finding this problem I have updated the Adobe Reader and run system updates today, to no avail.
    Adobe reports that there is a compatibility issue between Safari 5.1 and Adobe Reader. They offer several solutions none of which has worked for me.
    (http://helpx.adobe.com/x-productkb/multi/safari-5-1-incompatible-reader.html). Is updating Safari going to help me, or are there other solutions?

    Hi..
    Go to    HD/Library/Internet Plug-Ins
    Move the Adobe PDF browser plugin from the Internet Plug-Ins folder to the Trash..
    Quit and relaunch Safari to test.
    If you have trouble finding that file..
    Open the Finder. From the Finder menu bar click Go > Go to Folder
    Type this exactly as you see it here:
    /Library/Internet Plug-Ins
    Click Go
    edited by:  cs

  • When I download pdf files in Safari I get a black screen.  However, if I open a pdf in Mail it is viewable in Preview.  How do I fix this?

    When I download pdf files in Safari I get a black screen.  However, if I open a pdf in Mail it is viewable in Preview.  What is wrong?

    Back up all data.
    Triple-click the line of text below to select it, the copy the selected text to the Clipboard (command-C):
    /Library/Internet Plug-ins
    In the Finder, select
    Go ▹ Go to Folder
    from the menu bar, or press the key combination shift-command-G. Paste (command-V) into the text box that opens, then press return.
    From the folder that opens, remove any items that have the letters “PDF” in the name. You may be prompted for your login password. Then quit and relaunch Safari, and test.
    I've seen an unconfirmed report that the "Silverlight" web plugin distributed by Microsoft can also interfere with PDF display in Safari, so you might need to remove it as well, if applicable.
    If you still have the issue, repeat with this line:
    ~/Library/Internet Plug-ins
    If you don’t like the results of this procedure, restore the items from the backup you made before you started. Relaunch Safari again.

Maybe you are looking for

  • Discoverer report not working on R12 !

    We have just migrated to R12 from 11i and some of the discoverer query is not working, but the same is working fine when we ran thru SQL Developer or TOAD. Is there any context (mo_global.set_policy_context) needs to be set in Discoverer report to ge

  • Acrobat pdfs created with Indesign CS3 cannot be searched

    Our company uses Coldfusion (don't know anything about Coldfusion personally) to search pdfs of our magazine articles that we keep in an online library. Users can do keyword searches to find articles. Our system was created in about 1998. It worked f

  • Is trim() useful for splitting up a string that has a delimiter?

    Hi all below is an example of my data Col 1 abc_ijk a_xyz pq_b I need to split up abc_ijk into 'abc' and 'ikj' and store them into another table. Can i use trim? I know that i can specify the number of characters to split it up, but my number of char

  • Vendor list uploading

    Hi, Is there any way to upload vendor list for the product category intially from the legacy system or from flat file to SRM system. Thanks, Rambabu.

  • Attached database failed for sever "blah". (Microsoft.SqlServer.Smo)

    =================================== Attach database failed for Server 'DENR-HP'.  (Microsoft.SqlServer.Smo) For help, click: http://go.microsoft.com/fwlink?ProdName=Microsoft+SQL+Server&ProdVer=10.50.1600.1+((KJ_RTM).100402-1539+)&EvtSrc=Microsoft.Sq