Open pdf in browser using xfdf from asp

I am attempting to open and fill with data a form created with Acrobat Pro 8.  I have created a test form with 2 fields and exported to an xfdf file.  I used the xfdf file to create an asp page that is supposed to open the form, filling the fields with the data specified in the xfdf.  When I open the asp page in my browser, Acrobat opens (not the IE plugin), with an error message that it cannot open the file.  It is either damaged or is not a supported file type.  I will include the xfdf file below and my asp page.  My question is, should this work?  And if so, what am I missing? If not, what format file/content-type do I need to use this method - FDF?  Thanks in advance for any help.<br /><br />My test machine is XP and IIS - Acrobat is 8 pro - ASP is vbscript<br /><br />The original xfdf file:<br /><?xml version="1.0" encoding="UTF-8"?><br /><xfdf xmlns="http://ns.adobe.com/xfdf/" xml:space="preserve"><br /><fields><br /><field name="Address"><br /><value>23 Ridge Ave</value><br /></field><field name="Name"><br /><value>Bob Smith</value><br /></field><br /></fields><br /><ids original="68ECBEB4D7F1984F9136D032C2F70874" modified="6A4B97BDCEF94142B2FC6D8C9A79EE53"/><br /><f href="Document.pdf"/><br /></xfdf><br /><br />My asp file:<br /><%@LANGUAGE="VBSCRIPT" CODEPAGE="1252"%><br /><%<br />Response.Buffer = true<br /><br />Response.ContentType = "application/vnd.adobe.xfdf" <br /><br />Response.Write "<?xml version=""1.0"" encoding=""UTF-8""?>"<br />Response.Write "<xfdf xmlns=""http://ns.adobe.com/xfdf/"" xml:space=""preserve"">"<br />Response.Write "<fields>"<br />Response.Write "<field name=""Address"">"<br />Response.Write "<value>23 Ridge Ave</value>"<br />Response.Write "</field><field name=""Name"">"<br />Response.Write "<value>Bob Smith</value>"<br />Response.Write "</field>"<br />Response.Write "</fields>"<br />Response.Write "<ids original=""68ECBEB4D7F1984F9136D032C2F70874"" modified=""6A4B97BDCEF94142B2FC6D8C9A79EE53""/>"<br />Response.Write "<f href=""http://localhost/state/document.pdf""/>"<br />Response.Write "</xfdf>"<br />Response.Flush <br />Response.End <br />%>

You can click on the button/ go to windows/ behaviors/ click
on the drop down list of the plus sign symbol/ web/ go to web page/
then you put NameofyourFile.pdf......... But I have an extra
question if someone could help when i publish my movie after doing
this the file opens twice why is this happening how can i fix
this?

Similar Messages

  • 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

  • Opening PDF in browser using Adobe API - with mark up and comment features

    Hey,  
    Here is the scenario :   Firstly, the user has to review the file (say pdf) before approving it. I would like to open the pdf file in the browser directly for reviewing. Also, I want to add some mark up (sticky notes, etc) and comment features while reviewing. Using these features, the user can pin point the mistakes directly in the file and revert the file for changes if any.  
    And as part of implementation, I would like to use Adobe java API to do the same. But I couldn't find any code snippets for using this API.  
    Any kind of help would be appreciated. Thanks in advance.

    This forum is only for discussions on the forums themselves. I would suggest that you start from the Acrobat forum,
    http://forums.adobe.com/community/acrobat

  • 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

  • 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.

  • Open pdf in safari using: ACROBAT 9 PRO

    Hi,
    I am using safari 4.0.3 and Acrobat Pro 9 10.4.3. When I click a pdf file in safari, it opened with it default pdf viewer. However, I want to use acrobat to view pdf (in safari).
    Here are the solutions I've tried:
    1 Acrobat->Preference-> Internet->Display PDF in browser using-> Adobe Acrobat Pro 9.1.3
    2 Acrobat->Help->Repair Acrobat Installation->adobe PDFViewer Safari Plugin->Continue then it says successfully installed
    3 Safari->Help->Installed Plug-ins. I can NOT find acrobat/pdf plugin
    4 Library/Internet Plug-Ins: I CAN find AdobePDFViewer.pugin
    5 Users/My name/LIbrary/Internet Plug-Ins: I CAN ALSO find AdobePDFViewer.pugin
    6 When I open a pdf on my computer, it runs Acrobat 9
    NONE OF THESE ABove WORKS.
    Could anyone please give me some suggestions?
    Message was edited by: AndrewGH

    I would guess that Acrobat Pro isn't compatible with Safri 4.0.3 yet, and perhaps even 10.6, but only Adobe really knows, so you'd be better off asking them. If it's not, I'm sure they'll release a patch or update of some kind after 10.6 ships.
    If I were you, I'd uninstall the portion of Acrobat that normally works with Safari to render PDF files and use the built-in rendering abilit of Safari itself. Not only is that simpler, but Acrobat Pro is a huge memory hog.

  • Trouble Setting "Display PDF in browser using" by MCX

    I want to force the PDF viewer in Safari to Mac OS X v10.6 built-in Preview Application instead of Adobe Acrobat Pro (9.4.0).
    I found that unchecking "Display PDF in browser using:" in Acrobat's Preferences, sets the viewer in Safari to Preview. It seems unchecking this box modifies ~/Library/Preferences/com.adobe.Acrobat.Pro_x86_9.0.plist. by creating the entry root => Originals (dictionary) => BrowserIntegration (array) => item 0 as number with value 0, item 1 as boolean with value 0.
    With that in mind I tried creating a MCX setting in my OD to apply root => Originals (dictionary) => BrowserIntegration (array) => item 0 as number with value 0, item 1 as boolean with value 0. Witch resulted in a grayed out, but checked settings for  "Display PDF in browser using:"
    I was wondering if any one has successfully figured out how to set this setting?

    Hi,
    Firstly during the installation of Reader X, there is an option of Customize Install. You can uncheck the Safari browser plugin from there. But this was possible before install. Now since you have installed in default mode (with above option checked during install) the method to disable plugin is as follows:
    To disable the plugin-
    1. Go to Library > Internet Plug-Ins
    2. You will see AdobePDFViewer.plugin in the list of plugins
    3. Create a new folder called Disabled Plug-Ins
    4. Move the AdobePDFViewer plugin into the Disabled Plug-Ins folder
    5. Restart  Safari
    In future if you want to re-enable this then you can put this plugin back to its original location or Reinstall Reader X (if you have permanently deleted the plug-in from your system). Reinstallation works as installing in repair mode.
    AcrobatX/ReaderX uses MANAGED installation method on Mac(as compared to MANUAL installation method used in earlier versions). In case of manual installation method installation and repair was dependent on "Self heal" mechanism that required the admin privileges each time it was invoked. This raised a bit of concern so to remove this Adobe now uses Managed installation method and discontinued Self Heal mechanism.
    You can check out this link for more information or if you want to track this discussion -
    http://acrobatusers.com/forum/deployment-installation/acrobat-x-installation-installed-saf ari-plugin-without-asking
    Thanks,
    Karan

  • Can't uncheck 'display PDF in browser using' on mac

    Reader 10.0.0
    'display PDF in browser using' in the Internet preferences is stuck on to Adobe Reader. The checkbox is checked/disabled, and cannot be unchecked.
    Also, viewing a PDF in the browser via FTP sticks the entire browser (hence my reason for noticing/disabling this plugin)
    Had to remove the plugin file from file:///Library/Internet%20Plug-Ins/ to remove.

    Hi,
    Firstly during the installation of Reader X, there is an option of Customize Install. You can uncheck the Safari browser plugin from there. But this was possible before install. Now since you have installed in default mode (with above option checked during install) the method to disable plugin is as follows:
    To disable the plugin-
    1. Go to Library > Internet Plug-Ins
    2. You will see AdobePDFViewer.plugin in the list of plugins
    3. Create a new folder called Disabled Plug-Ins
    4. Move the AdobePDFViewer plugin into the Disabled Plug-Ins folder
    5. Restart  Safari
    In future if you want to re-enable this then you can put this plugin back to its original location or Reinstall Reader X (if you have permanently deleted the plug-in from your system). Reinstallation works as installing in repair mode.
    AcrobatX/ReaderX uses MANAGED installation method on Mac(as compared to MANUAL installation method used in earlier versions). In case of manual installation method installation and repair was dependent on "Self heal" mechanism that required the admin privileges each time it was invoked. This raised a bit of concern so to remove this Adobe now uses Managed installation method and discontinued Self Heal mechanism.
    You can check out this link for more information or if you want to track this discussion -
    http://acrobatusers.com/forum/deployment-installation/acrobat-x-installation-installed-saf ari-plugin-without-asking
    Thanks,
    Karan

  • 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

  • Why can't I open pdf documents after using Adobe Reader security?

    I have been able to open pdfs perfectly well up until I changed the security settings on Adobe Reader.  As I read somewhere that Apples have an inbuilt pdf reader I trashed everything Adobe, but still can't open pdfs.  Tried using Preview  to no avail. 
    Is there some other way of opening pdfs without reinstalling Adobe?

    You didn't think of mentioning that in your first post?  So it's not Adobe Reader or Preview you are having problems with.  It's pdf's in your browser!
    For Safari, you need to remove the adobe pdf plugins which Adobe apparently screwed up.  You need to remove:
    /Library/Internet Plug-Ins/AdobePDFViewer.plugin
    /Library/Internet Plug-Ins/AdobePDFViewerNPAPI.plugin
    I think you can "get away with" removing just the second one.  But both for sure should allow you to open pdf's in a browser (all browsers).

  • I have had a trial version of Acrobat X1 Pro - I have decided not to buy at this stage - for some time it has been conflicting with opening PDF docs after saving as from word 2007 - I uninstalled Pro X1 and now when I save as from word 2007 to PDF it will

    Can anyone help with this - do I have to uninstall Reader and then reinstall?

    I have had a trial version of Acrobat X1 Pro - I have decided not to buy at this stage - for some time it has been conflicting with opening PDF docs after "saving as" from word 2007 - I uninstalled Pro X1 and now when I "save as" PDF from word 2007 to PDF it will save the document as a PDF but will not open the document to display after publishing - I have to got to where the file has been saved to view the new PDF document - this is really annoying - do I have to delete adobe reader and reinstall it - adobe needs to look at this conflict with acrobat pro as I have even gone it to properties and tried to have adobe reader as the default PDF program - the main issue is that I cannot view the PDF after publishing it from word 2007

  • Each time I open my Firefox browser, the tab from the last time opens. I have the browser set to open on my home page, not to the tab from the last time. I keep trying to save the setting for the browser to open on my home page but it doesn't.

    Each time I open my Firefox browser, the tab from the last time opens. I have the browser set to open on my home page, not to the tab from the last time. I keep trying to save the setting for the browser to open on my home page but it doesn't.

    Try to create a new profile as a test to check if your current profile is causing the problems.
    See "Basic Troubleshooting: Make a new profile":
    *https://support.mozilla.org/kb/Basic+Troubleshooting#w_8-make-a-new-profile
    There may be extensions and plugins installed by default in a new profile, so check that in "Tools > Add-ons > Extensions & Plugins" in case there are still problems.
    If the new profile works then you can transfer some files from the old profile to that new profile, but be careful not to copy corrupted files.
    See:
    *http://kb.mozillazine.org/Transferring_data_to_a_new_profile_-_Firefox
    Do a malware check with some malware scanning programs on the Windows computer.<br />
    You need to scan with all programs because each program detects different malware.<br />
    Make sure that you update each program to get the latest version of their databases before doing a scan.<br /><br />
    *http://www.malwarebytes.org/mbam.php - Malwarebytes' Anti-Malware
    *http://www.superantispyware.com/ - SuperAntispyware
    *http://www.microsoft.com/security/scanner/en-us/default.aspx - Microsoft Safety Scanner
    *http://www.microsoft.com/windows/products/winfamily/defender/default.mspx - Windows Defender: Home Page
    *http://www.safer-networking.org/en/index.html - Spybot Search & Destroy
    You can also do a check for a rootkit infection with TDSSKiller.
    *http://support.kaspersky.com/viruses/solutions?qid=208280684
    See also:
    *"Spyware on Windows": http://kb.mozillazine.org/Popups_not_blocked

  • Open PDF in browser from Flash

    I want people to be able to click a link in my Flash site and
    for Acrobat to open the PDF, or have it open in their browser,
    instead of downloading the PDF to their desktop. Thanks!

    You can click on the button/ go to windows/ behaviors/ click
    on the drop down list of the plus sign symbol/ web/ go to web page/
    then you put NameofyourFile.pdf......... But I have an extra
    question if someone could help when i publish my movie after doing
    this the file opens twice why is this happening how can i fix
    this?

  • 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

  • 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.

Maybe you are looking for