Opening pdf in browser requires a retry

I just updated to the newest version of Reader 10.  On Windows 7 Home - 64 bit, using Internet Explorer 9 - 32 bit, now when I click on a pdf link from within the browser, the pdf does not immediately load.  Instead I see a gray Adobe screen often with the download bar just stalled.  Oddly, if I click on the link in the address bar of the browser (which shows correctly), the pdf file then loads.
I didn't have this problem with the previous version of Reader 10.  Anyone else experiencing this?  Is there a known solution?

Hi, same problem here on an intranet web app.
Grey page, while a retry allow the user to see the file most of time.
I'm collecting datas about IE and windows version impacted.
object tag is writed as :
<OBJECT id=pdfViewer class="pdf" codeType=application/pdf width="100%" height="100%">
<param name="src" value="PagePdfViewer.aspx?p1=20052689&MODE=DocuView&p2=3"/>
</OBJECT>
There are some dom strange behaviours :
some tags are added : <PARAM NAME="_cx" VALUE="43920"><PARAM NAME="_cy" VALUE="24341"> but I can't see them in IE dev tools dom inspector, only in the InnerHtml property of the Object tag.
Additionaly the src param is shown in the dom inspector, but not in the innerHtml proprty...
This work thought on my developer computer, so probably not the cause of the issue.
Server side is (asp.net c#, filename is function parameter) :
FileInfo fi = new FileInfo(fileName);
Response.ClearHeaders();
Response.ClearContent();
Response.ContentType = "application/pdf";
Response.CacheControl = "No-cache";
Response.Cache.SetCacheability(System.Web.HttpCacheability.NoCache);
Response.AddHeader("Content-Length", fi.Length.ToString());
Response.AddHeader("Content-Disposition", "attachment" + "; filename=\"" + fi.Name + "\"");
int chunkSize = 8192;
byte[] buffer = new byte[chunkSize];
int offset = 0;
int read = 0;
using (FileStream fs = File.Open(fileName, FileMode.Open, FileAccess.Read, FileShare.Read))
    while ((read = fs.Read(buffer, offset, chunkSize)) > 0)
        if (!Response.IsClientConnected)
            break;
        Response.OutputStream.Write(buffer, 0, read);
        Response.Flush();
I'm currently unable to reproduce it under development platforms...
compression is not activated on IIS server side (in reference to the workaround for apache described in another thread)
Is there something I can push on server side to workaround the issue ?
Thanks for your support.
Regards,

Similar Messages

  • Open PDF in browser - but cant control/close window from javascript

    Hi
    I hope I picked the correct forum
    Basically I have a site in asp classic. From a button I opens 2
    windows via javascript.
    One contains info, one shows a related file ( could be tiff or pdf ).
    When user closes info-window, I also close the file window via javascript, so that user only hav to click once.
    That works with tiff, but not with pdf, '!file.closed' returns that window are already closed.
    Somehow I simply loose contact to that window when I open pdf.
    My Adobe is set  with "open pdf in browser", version 10.1.2
    Any Ideas ?
    Overview what I do:
    function openTwoWindows(jnr,vikar,hvorfra){
              var left, top,vikar;
              width = (window.screen.availWidth/2)+80;
              width2 = (window.screen.availWidth/2)-80;
              height  = (window.screen.availHeight);
              info = window.open('info.asp'','top=0,left=0,height='+height+',width='+width+',resizable=yes,scr ollbars=yes,status=yes');
              var settings= 'toolbar=no,location=no,directories=no,'+
              'status=no,menubar=no,scrollbars=no,resizable=yes, top=0, left='+width+', height='+height+',width='+width2;
              file = window.open('showfile.asp?strJnr='+jnr+'&print=false','file',settings);
              info.focus();
    function closeFileWindow(){
                if(file && !file.closed){
                             file.close();
    if the file is a pdf -> showfile code in asp classic:
    Response.AddHeader "Content-Disposition","inline;filename=filename.pdf"
    Response.ContentType = "Application/pdf"
    'Response.Clear
    Response.Buffer = true
    // fetch file from database
    Response.BinaryWrite rsTmp("Fil")
    Response.Flush
    Response.End

    Read this:
    http://forums.adobe.com/thread/535609?tstart=0

  • Cannot open PDFs in browser in IE from Search Center

    [SYSTEM]
    SharePoint 2013 Enterprise, 2WFE, 2App, 1SQL
    [ISSUE]
    We have a problem with opening PDF files from search results in IE. I can open PDFs in the browser with Chrome and Firefox in all site collections as well as search results.  If using IE10, I can open PDFs in browser everywhere except
    the Search results page. Also, if I right click on a document in search results, and click "Open in new tab" or "Open in new window", then the pdf opens up in browser just fine. If I copy the URL and paste it into the address
    box, the document will also open in browser with no problem.
    The only way that the browser tries to open a pdf document in the client is when you click on the document directly in Search results. All other ways of opening the file yield the right result.
    We really need PDFs to open in browser in IE.  Please help. 
    [TROUBLESHOOTING DONE]
    I set the Web Application Browser File Handling to Permissive from Central Administration.
    I specified for files to open in the browser in Search Center preferences accessible from the bottom of the search results page.
    I verified that "application/pdf" is an AllowedInlineDownloadedMimeType
    The Office Web Apps settings were modified to open PDFs in the default PDF reader rather than OWA.

    Hi Jerry,
    Can you check the similar thread
    http://social.msdn.microsoft.com/Forums/sharepoint/en-US/d554e88c-d72f-46b0-8b1a-2f2024fcb9c0/i-e-8-browser-wont-open-pdf-file-returned-from-sharepoint-2010-search?forum=sharepointadminprevious
    My Blog- http://www.sharepoint-journey.com|
    If a post answers your question, please click Mark As Answer on that post and Vote as Helpful

  • Disable 'open PDF in browser'

    Hi,
    I'm trying to disable the open PDF in browser option in a corporate enviroment. The Adobe knowledge base said that this can be done by disabling the addon called 'Adobe PDF Reader'
    I've set a policy to disable this addon, but the PDF still open in the browser.  Any ideas?
    Also is there a registry key to disable instead? We are using IE11 as a browser.
    Thanks
    Dave

    Hello,
    Please try the below reg.
    [HKEY_CURRENT_USER\Software\Adobe\Acrobat Reader\11.0\Originals]
    “bBrowserIntegration”=dword:00000000
    ~Deepak

  • Can't open PDFs in browser

    Hello!
    My Mac can't open PDFs in the browser window anymore, but just offers a download dialogue.
    I already read in the forum, that it may help, to open the Acrobat Reader prefs and uncheck the "open PDF in browser window" option. The problem is though, that this option is greyed out, so I can' t uncheck it.
    And: As for me I don't need to open the PDFs using the Adobe plug in.
    I just want to see the PDFs quick and simple.
    Any ideas gladly appreciated!
    Thomas

    Remove the plugin from HD>Library>Internet Plugins.

  • Opening PDF in Browser when running in Server 2008 R2 RemoteApp (Terminal Services)

    We are running a RemoteApp server that allows users to access an intranet page, through this can can click and open a number of PDF documents.
    When connecting and running locally (RDP) the PDFs open in the browser as required, but when running through remoteApp its forcing the PDF to open into Adobe Reader.
    Im getting this on all versions of IE 9-11 and Reader 9-11, ive enabled view in PDF and also the IE add-ons but it still forces the file to open in the full application.
    Group polciy isnt an issue as Ive tested this on a live users, and also a clean slate test account. Ive even moved the RemoteApp server out of the domain and tried as a local system (with local accounts) and the same behaviour happens.
    This is the same if I try and open PDF documents from the internet.
    Any Advice would be good
    Steve.

    Hi Uber,
    This is a known issue that error occurs when running report "Count of instances of specific software registered with Add or Remove Programs" due to non-printable characters for XML. Based on internal research, the hotfix for this issue will be
    included in the System Center 2012 Configuration Manager Service Pack 1.
    As a workaround, you can remove the nonprintable character populated into the report parameter by referring to the following KB article:
    http://support.microsoft.com/KB/914159
    Hope this helps.
    Regards,
    Mike Yin
    Mike Yin
    TechNet Community Support

  • Open PDF in Browser SharePoint

    I wanted my web app to allow opening of PDF files in the browser. I performed the action below which solved the issue.
    $webApplication = Get-SPWebApplication "http:/yourwebapplicationurl"
    $webAppApplication.AllowedInlineDownloadedMimeTypes.Add("application/pdf")
    $webApplication.Update()
    As a test I removed that ability with the script below.
    $webApplication = Get-SPWebApplication "http:/yourwebapplicationurl"
    $webApplication.AllowedInlineDownloadedMimeTypes.Remove("application/pdf")
    $webApplication.Update()
    The problem was that I was still able to open PDF files in the browser after reverting my change. Any ideas why this occured? I tried restarting SharePoint services and IIS.

    Hi,
    Please use the following script
    # This script adds new MIME type to "AllowedInlineDownloadedMimeTypes" property list of defined SharePoint 2010 Web Application.
    # Script prompts you for MIME type and Web Application URL.
    # Code shall run in context of Farm Administrators group member.
    If ( (Get-PSSnapin -Name "Microsoft.SharePoint.PowerShell" -ErrorAction SilentlyContinue) -eq $null ) {
    Add-PSSnapin "Microsoft.SharePoint.PowerShell"
    Get-SPWebApplication
    $WebApp = Get-SPWebApplication $(Read-Host "`nEnter Web Application URL")
    Write-Host `n"Mime Type Examples:"`n"application/pdf, text/html, text/xml"`n
    If ($WebApp.AllowedInlineDownloadedMimeTypes -notcontains ($MimeType = Read-Host "Enter a required mime type"))
    Write-Host -ForegroundColor White `n"Adding" $MimeType "MIME Type to defined Web Application"$WebApp.url
    $WebApp.AllowedInlineDownloadedMimeTypes.Add($MimeType)
    $WebApp.Update()
    Write-Host -ForegroundColor Green `n"The" $MimeType "MIME type has been successfully added."
    } Else {
    Write-Host -ForegroundColor Red `n"The" $MimeType "MIME type has already been added."
    **Please don't forget to mark as answered and helpful

  • Disabling open pdf in browser in adobe PRO XI not reader

    I have deployed adobe pro out to our user base and i understand in adobe PRO X there was a check box that would disable open pdf in a browser but that has gone away. I have gone under the preferences and on the internet section in PRO XI there is a link that takes you
    here: http://helpx.adobe.com/acrobat/using/display-pdf-browser-acrobat-xi.html I have created a GPO that disables the active X control in both IE 8 and IE 10 as you can see from this screen shot the adobe pdf reader is disabled so according to the instructions on the web all pdf files should open in PRO XI. This is not the case. The pdf will still open in the browser. I have checked the new customizations wizzard for adobe PRO XI and there is nothing to disable disply pdf in the browser to uncheck that i am aware of. I have read about the bdisablewebintegration but this have not worked either under the FeatureLockDown. In adobe reader you can go under the accessibilty options and disable open within a browser there but I have been unable to find that option in PRO XI. Had anyone found a fix for this issue to where it can be deployed out?
    Please let me know
    Thanks
    pjhernan

    From the screenshot it looks like you have both Acrobat and Reader on the machine and only Reader is disabled.
    Check again. If you think the doc is incorrect, post back.
    --- more info ---
    All browser integration prefs were deprecated with 11.x because browser companies are releasing new versions every 6 weeks or more. It was simply not possible to keep pace without requiring admins to update every few weeks. Moreover, most browsers are gradually phasing out such plugins or at least disable them by default (e.g. Chrome). Many companies provide a browser-specific PDF viewer. Acrobat and Reader share the same config and there's nothing different between the two.
    Ben

  • Browser Crashing when opening PDF inside Browser

    I have a Windows XP Pro SP 3 with IE 7 , Acrobat Pro 9.
    My issue is that whenever I open a PDF inside the browser I get a error message stating that the browser crashed / stopped responding and needs to close.  The work around that we have been using was simply inside Adobe going to  edit> preferences> internet> unchecking view PDF in browser.
    We are launching a new application that requires a PDF to be displayed inside a browser.  Any help would be greatly appreaciated.
    This issue also happens with Firefox, and I have removed and reinstalled adobe several times.
    Thanks,
    Adam

    To clarify what you posted:
    When opening the PDF document, your browser closes. When pressing the control key and opening the document, you get a dialog window (with the choices of open or save). What happens when you select open?
    This is browser behavior, nothing to do with this being a PDF file. Which browser and which platform? If you are using IE7, popup blocker is automatically enabled, and if you are viewing this on a 2003 server, you have server security settings to override. Pressing the control key allows popups.

  • Adobe Reader will not open PDF in browser simple answer.

    I just had this problem and was able to work through it with the help of tech support from TD Ameritrade.  The fix is simple so read on.  After uninstalling and reinstalling all things adobe and trying other recommendations on these forums I was stumped.  I called my broker tech section since I couldn't open their reports and we identified what my specific problem was.  For me, and I imagine some of you this will help and prevent a lot of wasted time.
    Nothing was wrong with my Adobe Reader.  My problem was that I have a 64 bit operating system and both of my default browsers were 64 bit browsers.  I did not know my internet explorer default browser was the 64 bit one until the technician that assisted me informed me that a recent windows update made all 64 bit systems default to 64 bit internet explorer browsers.  You cannot change that default by choosing between 64 bit and 32 bit, because you can only choose internet explorer.  That explains why my attempts to open with a 32 bit browsers always failed.  I also tried with Firefox thinking it was 32 bit and it failed as well.  The technician informed me Firefox is a 64 bit browser and then it made sense.  I guess the recent Adobe reader update caused a change that no longer allowed my 64 bit system and 64 bit browser to open PDF's through the browser. The technician who assisted me has a 64 bit system and only uses 64 bit browsers and can still open PDF's through those browsers.  That confused us for a while until we realized he had his Adobe updater turned off and therefore had not been exposed yet to the update that originated my problems.
    ****ANSWER FOR MY PROBLEM*******The quick answer is use Google Chrome or some other 32 bit browser.  If you set a 32 bit browser as your default, the PDF's will open.  You cannot set Internet Explorer 32 bit browser as your default if you have a 64 bit system and also have 64 bit Internet Explorer.  The windows update prevents you from doing it.  At least that is my understanding. 
    The bottom line is I have the newest Adobe Reader on a 64 bit system and can open any web PDF with Google Chrome set as my default browser, because it is a 32 bit browser.  The new Adobe Reader will not open PDF's with a 64 bit browser in Vista.  A 64 bit system is fine as long as you use the 32 bit browser to open your PDF's in Vista.  I hope this helps some avoid some headaches.  I wish it had been posted when my problem first arose. 
    I think you can use a 64 bit browser in Windows 9 or later, but for Vista the above applies.

    Yes I can create a short cut to internet exp. 32 bit on my desktop and I can even be using Internet expl. 32 bit, but when I try to open a PDF with adobe reader it won't work with internet exp. as my default browser b/c windows will always choose Internet exp. 64 bit which isn't supported yet by adobe reader.  With google chrome as my default browser windows can't choose an unsupported 64 bit browser in its place b/c google chrome doesn't have a 64 bit version.
    My post was for those people who may not have realized yet that windows would not ever choose Internet expl. 32 bit over Internet expl. 64 bit if both exist on their system.  For them it is easiest to just choose a default browser that only has a 32 bit version. 
    If I understood your reply correctly, you were telling me how to create a shortcut to Internet exp. 32 bit on my desk top.  However, having that shortcut on my desk top and opening my browser through it will not prevent the problem of windows choosing my Internet exp. 64 bit browser for pdf's I try to open from the web.  Thank you for your response, but I think the problem that I have tried to explain does exist for many users and can only be fixed by using a 32 bit browser that is not Internet explorer as your default browser.  At some point if windows fixes the update that always chooses Internet expl. 64 bit over Internet expl. 32 bit, then this will all be irrelevant.
    Thanks
    Sent from my iPod

  • Issues with opening PDF in browser

    I am trying to open a pdf in my browser but it will only save or save as.  I need it to open in my browser as I need to complete the areas allowed and save/send back.
    I looked in the Reader and it shows Web Browser options is correct.  I have Windows 7 and IE9.  Any help would be appreciated. 

    Yes, it is 64-bit.  Windows will not let me open/download the 32 bit.  Any way around this?  I need to do this on a daily basis to where I will need to buy another computer if no way around.  Thanks for the help!

  • Problem with opening pdf in browser

    Hello
    Acrobat X Pro 10.0.0.396 was installed on PC with Adobe Reader 9 (tried with Reader 10). When I open pdf documents from browser IE 8 or FireFox 3.5 i cann't see Tools panel and buttons from quick area (only Comments and Share).
    plugin in browser - Adobe Acrobat 10.0.0.396 but i think document opens with plugin from Reader. But i deleted it from PC
    thank you in advance

    Each user would have to set each browser individually.
    Note: I don't think it's possible to set the default PDF viewer with code for every user who visits the site.
    See the following link to enable Adobe Reader as the default PDF viewer in different browsers:
    http://helpx.adobe.com/acrobat/using/display-pdf-browser-acrobat-xi.html
    Note: Not all PDF viewer browser plug-ins support PDF submissions, and most 3rd party viewers may not support forms created with LiveCycle or forms with Extended Reader Rights enabled.

  • Unable to open PDF in Browser

    I have Adobe reader 11.0.0.3 installed, it was working fine for all my users, when suddenly they started complaining that they couldnt open pdf in Internet Explorer. I tested on a machine and it was fine, I installed the latest windows patching and then it stopped working, now I just get a little red 'X' whenever I try to view a PDF file in the browser.
    When I go to 'Manage Add-ins' in Internet explorer the publisher field in the menu windows shows 'Control nam is not Valid' for Adobe PDF.
    Please help, this is really urgent for my users.

    Active X controls go back to IE1. The error you're seeing is "Control name not valid" that means an ActiveX control is not working properly with IE... regardless of version. 
    Turning off filtering usually solves this. Repairing IE might do it too.

  • FF 5 no longer opens pdf in browser window & only fix on offer, Dafizilla ViewSourceWith, won't instal and greys out Menu bar.

    ''locking this thread - discussion is here - https://support.mozilla.com/en-US/questions/857882''
    I thought I had the Foxit Reader Plug-In reinstalled since I installed FF5, but I've reinstalled it again anyway and reset it to open in Firefox under Tools Options. Once I was happy with the latest Foxit Reader I really didn't want to even try the dead-buried-and-decomposed Adobe Acrobat again. I've disabled that now as it wasn't opening pdfs in Firefox either when I had it selected under Tools Options.

    These are the steps I performed on my own system many months ago. I could not view PDF files in Firefox with both Adobe Reader and Foxit installed.
    #Close Firefox (File > Exit '''''OR''''' Firefox button > Exit)
    #If you have not already done so, uninstall Adobe Reader 9.4.5 using Windows Start > Settings > Control Panel > Add or Remove Programs, click on the item, click Remove. You may need to restart your system.
    #Open Foxit in your programs list Windows Start > Programs
    #*on the Foxit menu, click Tools > Preferences
    #*click File Associations and be sure "Display PDF in browser" is checked then click "Make Default PDF Viewer" then click OK
    #*close Foxit Reader (File > Exit)
    #Start Firefox
    #*Open the Applications panel (Tools > Options > Applications '''''OR''''' Firefox button > Options > Options > Applications)
    #*type '''pdf''' in the search box; you should see "Foxit Reader PDF document"
    #*in Action column, click the down arrow at the far right end
    #*choose "Use Foxit Reader plugin for Mozilla (in Firefox)'
    #**if the full name does not display, place the cursor over the item to see the full name in a tooltip box
    #Test on a pdf file from the internet
    #*If there is no toolbar at the top of the PDF display in the tab (just a blue strip), tap the F8 key to get the Basic toolbar, or right-click the blue strip at the top to display/not display other toolbars by clicking on them (checked=display; un-checked=do not display)
    '''If this reply solves your problem, please click "Solved It" next to this reply when <u>signed-in</u> to the forum.'''

  • Open PDF in browser causes blank error box (Windows 7)

    I just freshly installed Windows 7 today. I then installed Adobe Design Premium CS4, including Adobe Acrobat Pro. I use IE8 and Firefox 3.6.
    FYI, this problem does not occur in Windows Vista or lower...only Windows 7.
    The problem is that when I click on links to PDF documents that open in a browser window, a blank error message box will sometimes popup and nothing else happens (see blank error box below). But other times when I click on the same PDF, it will open just fine. I tried opening it four times in a row, and it worked 3/4 times. Then, I did it four times again, and it only worked 1/4 that time. Totally random.
    So I tried clearing the browser cache - no luck.
    Tried reinstalling Adobe Reader 9.3 - no luck.
    Tried uninstalling Adobe.com and Adobe AIR - no luck.
    Tried both IE8 and Firefox - both randomly showed the blank error box.
    The PDF documents are being rendered through PHP, so I also tried changing the PHP header(), but the same blank error box kept randomly showing up.
    What in the world is going on here?

    Guys,
    There is a simple workaround for this. Just DON'T "Display PDF in a Browser". At first I was going to have all the users in my company Right-Mouse Click and Save PDF to their Desktop. But then realized it's just simpler to have the PDF open in the Reader and it gets around the problem fine. This is a great workaround until the whole Windows 7/IE8/Adobe PDF situation mature a bit.
    In case you forgot the instructions from John, here's how:
    Open Adobe Reader or Adobe Acrobat (Pro):
    -> select the menu "Edit"
    -> select "Preferences"
    -> select the Category "Internet"
    -> UNCHECK the "Display PDF in browser"
    This worked for our company. Hope it works for you.
    - Greg H.

Maybe you are looking for

  • Solved rEFInd does not work after update

    Hello. Today, I updated rEFInd with yaourt. After the update, I copied the new files in /boot/efi. I rebooted and now rEFInd does not work. The only message I got is: rEFInd - Initializing After 2-3 minutes, the computer reboots and I got the same er

  • 7200 rpm vs 5400

    hello, after 5 years of good work, my 100/7200 rpm HD went dead and the store has a 160/5400 HD to offer, while the 100/7200 has to be ordered to apple (1 more day). i do not exactly realize the performance difference between the 2s. i mostly use wor

  • Run script in autosys at a specified time.

    I have created a shell script. I want to run the script in Autosys. Please note that my shell script runs as "$ ksh run.ksh" How do I make autosys run this script at 5:00PM every day? insert_job: abc job_type: c box_name: run.box command: ksh run.ksh

  • Problems updating JDBC database

    Please someone help me with my connection to MSAccess database. If it is possible, email me to [email protected] 1. connection.getMetaData(). supportsResultSetConcurrency( ResultSet.TYPE_SCROLL_INSENSITIVE, ResultSet.CONCUR_UPDATABLE)=true !!! 2. stm

  • H.264 + Annotations/Metadata = No go

    I am using QuickTime 7 Pro to convert some DV footage into MPEG-4 H.264 encoded files. I use the Movie Properties menu to add metadata (or "annotations") such as Artist, Author, Comments, etc. The problem I'm having is, once the video is exported out