Error opening PDF files on anonymous SharePoint 2013SP1 site with IE

Clicking search results, in the strict sense pdf files, using IE on an anonymous SharePint 2013SP1 site, I received the error:
There was an error opening this document. The filename, directory name, or volume label syntax is incorrect.
I would like to solve this problem on the server side.
Starting position:
- SharePoint 2013 SP1
- Web Application:
  - based on template 'Publishing Portal'
  - Anonymous Access enabled
  - Claims based authentication: Integrated Windows Authentication NTLM
  - Client Integration disabled
- Site Collection:
  - Anonymous Access enabled for 'Entire Web site' => group 'Anonymous Users' was created
  - added permission to open items: $Web.AnonymousPermMask64 = "ViewListItems, ViewVersions, ViewFormPages, Open, ViewPages, UseClientIntegration, OpenItems"
  - SC-Feature 'Limited-access user permission lockdown mode' disabled
Client side solutions:
c1) Open Link with “Open in new tab” or “Open in new window” => OK
c2) Disable IE Add-on “Adobe Acrobat Sharepoint OpenDocuments Component” => OK
c3) Set bDisableSharePointFeatures to 1 in regetit => OK
Server side solutions:
S1) Turn off Client Integration => didn't work, still same error
S2) Modify DOCICON.XML => didn't work, still same error
I gave these two options a chance:
first: <Mapping Key="pdf" Value="icpdf.png" OpenControl="SharePoint.OpenDocuments"/>
then: <Mapping Key="pdf" Value="icpdf.png" OpenControl="AdobeAcrobat.OpenDocuments"/>
I modified DOCICON.XML on both hives 14 and 15.
Remarks:
- After changingparameters I allways did an IISreset.
- As far as I understood I can only change bDisableSharePointFeatures on Client Side.
Any help, suggestion, idea wellcome!
Thanks!

Hi Harry,
From your description, I understand you encountered the issue when open PDF documents from search result page.
Here is a similar thread, please try the piece of code in the page layout for the search results page from Mitch B_83:
https://social.technet.microsoft.com/Forums/appvirtualization/en-US/545efcc6-b748-4df8-aee0-7f57f778ad1e/sharepoint-2010-opening-pdfs-in-search-results-the-filename-directory-name-or-volume-label?forum=sharepointgeneralprevious
You could refer to this for search result page layout: Site settings > Web Designer Galleries > Master pages and page layouts > SearchResults.apsx .
Regards,
Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact
[email protected] .
Rebecca Tu
TechNet Community Support

Similar Messages

  • Error opening PDF files from search results webpart on anonymous SharePoint 2013SP1 site with IE

    Clicking search results, in the strict sense pdf files, using IE on an anonymous SharePint 2013SP1 site, I received the error: There was an error opening this document. The filename, directory name, or volume label syntax is incorrect.
    I would like to solve this problem on the server side.
    Starting position:
    SharePoint 2013 SP1
    Web Application:
    based on template 'Publishing Portal'
    Anonymous Access enabled
    Claims based authentication: Integrated Windows Authentication NTLM
    Client Integration disabled
    Site Collection:
    Anonymous Access enabled for 'Entire Web site' => group 'Anonymous Users' was created
    added permission to open items: $Web.AnonymousPermMask64 = "ViewListItems, ViewVersions, ViewFormPages, Open, ViewPages, UseClientIntegration, OpenItems"
    Client side solutions:
    c1) Open Link with “Open in new tab” or “Open in new window” => OK
    c2) Disable IE Add-on “Adobe Acrobat Sharepoint OpenDocuments Component” => OK
    c3) Set bDisableSharePointFeatures to 1 in regetit => OK
    Server side solutions:
    S1) Turn off Client Integration => didn't work, still same error
    S2) Modify DOCICON.XML => didn't work, still same error
    I gave these two options a chance:
    first: <Mapping Key="pdf" Value="icpdf.png" OpenControl="SharePoint.OpenDocuments"/>
    then: <Mapping Key="pdf" Value="icpdf.png" OpenControl="AdobeAcrobat.OpenDocuments"/>
    I modified DOCICON.XML on both hives 14 and 15.
    Remarks:
    - After changingparameters I allways did an IISreset.
    - As far as I understood I can only change bDisableSharePointFeatures on Client Side.
    Any help, suggestion, idea wellcome!
    Thanks!

    Hi folks, here's the reason for my problem. I used the oob search result web part. The result items (PDF items) are rendered by the template Item_PDF.html/Item_PDF.js. This template holds a code snippet that assigns a certain OpenControl to the PDF item - that's hard coded. So, no matter what you configure in DOCICON.XML, the PDF item will be opened with the control "PdfFile.OpenDocuments". Solution is e.g. just to leave the OpenControl blank.   
    template:
    /_catalogs/masterpage/Display Templates/Search/Item_PDF.html
    /_catalogs/masterpage/Display Templates/Search/Item_PDF.js
    code before:
    ctx.CurrentItem.csr_OpenControl = "PdfFile.OpenDocuments";
    code after:
    ctx.CurrentItem.csr_OpenControl = "";
    Enjoy
    Harry

  • When trying to open .pdf files i get a gray screen with message"adobe reader can"t open file.If running please exit and try again  15:3"..any ideas

    Cannot open >pdf files..Keep getting gray screen with following message  "error trying to open file..if adobe reader is running exit and try again 15.3"

    I have the same problem also but solved with the solution from http://www.brain-cluster.com/blog/orange/2011/03/06/there-problem-adobe-acrobatreader-if-it-running-please-exit-and-try-again

  • Why can't I open pdf file?  Get a black box with a white x in the upper left hand corner that won't

    Why can't I open pdf file?  Get a black box with a white x in the upper left hand corner that won't open either

    I get the same thing... no matter what site i try to pull a pdf for IE10, it gives me the black x... if i use chrome it works, but my client does not want to use a different browser.
    I followed the guide that Pat posted... nothing worked... I have uninstalled and reinstalled Java, Adobe reader, Adobe flash,.. upgraded to IE11, then back to IE10 due to medical software that is not compatable with IE11...
    The kicker is that my Admin profile works just fine.. no issues.. so i know it has something to do with his profile....
    Please.. someone... help!!!

  • Error opening PDF file, using Windows Vista

    When I first purchased my new pc, regrettably, I was given Windows Vista. There have been a lot of problems. Of late, Adobe Reader gives me an error message when I try to open a downloaded file. I uninstalled and reinstalled Adobe Reader but with no success. Could this be a Vista security issue? I can download and read the file on my work computer which used Windows XP. Also, this problem getting an error message opening and reading a file just recently occurred. I haven't made any changes to my system except automatic program updates. Can you help me?

    I stumbled on a solution: Download the PDF file and instead of saying yes to open the file (because you know you'll get the error message), simply go to where you saved the file (i.e. AOL downloads) and open it there. I have no idea why I suddenly cannot open PDF files but at least I found a way to still get my information. Hope this helps.

  • Errors opening pdf files

    In the last few months my iMac can't seem to open pdf files that it saves from the Web (I can airdrop a pdf file onto it, from my MBP, and my iMac will open that) or tries to generate itself. I get similar error messages using either Preview or the Acrobat reader. on preview the error reads "The file "NAME OF FILE" could not be opened because it is empty."  any ideas folks?

    Somehow you're not getting complete downloads of your PDF files. An empty file means no data besides the file header got saved onto your drive. Perhaps you should review the method you are using to download or otherwise receive these PDF files and see what may be amiss in the process.
    What are you using to save them from the Web?
    BTW, you really are still in Mac OS 9? What Mac you have running? Obviously not, you're using Preview. But you may want to update your profile info.

  • Error - Open PDF Files

    Hello,
    Adobe Reader blocked himself when the software tried to open a PDF File (the PDF File is standard, no special things). A protected mode message is displayed but this mode is disabled in the preferences. In order to resolve the issue, I have to reboot the server. The version of Adobe Reader which is installed is the latest one. Have you already noticed such issue? What should I do in order to avoid the problem?
    Thanks,

    I can't open PDF files in Explorer. When I try I get an error box that says
    Internet Explorer has quit working
         Windows can check for a solution
         Check Online
         Close program
    I have reinstalled Adobe and the problem is still there
    I can open PDF files without going to Explorer

  • Unable to open PDF file in browser using Reader 9 with IE8

    I just updated to IE8 and when trying to open a PDF file on the browser, I received a message stating to use Adobe Reader 8 or 9.  I downloaded AR9 and still receive the same message and cannot open PDF files in browser window.  It defaults to my Adobe Acrobat 6.0 which will not open the file.  I have Windows XP.  I do not have a problem opening a PDF file in Yahoo mail with AR9.  I have tried many different ideas on the web to no avail.  Appreciate any help to be able to default to open PDF files in the browser using AR9 which is apparently required by IE8.

    Fixed problem by taking to a computer store to find that my hard drive storage was maxed out.  I had the hard drive repaced with a larger amount of storage.   Problem resulted from inadequate amount of storage space which prevented me from downloading and installing Adobe Reader 9.
    Thanks to al that responded.  

  • Error opening pdf file, but then it still opens

    I am having trouble when I open a pdf.I am using the code below to open a pdf.
    on mouseUp me
      acro = bafindapp("pdf")
      if acro = empty then
        acrofile = me.pPDF
        alert "This program was unable to find a suitable program on your system to open a PDF document. It will open www.adobe.com, where you can download a free viewer"
        goToNetPage "http://www.adobe.com"
    else
        open the moviePath & "Resource\" & me.pPDF with acro
      end if
    end
    When this is on a button, adobe reader will open, but gives an error saying "There was an error opening this document. This file cannot be found."
    When I hit the ok button on the error notice, the pdf opens.
    Any ideas why I am getting this message even though the pdf opens after dismissing the message would be appreciated.

    The reason I assumed, or asked, whether it was Windows-only is because of your use of the backslash character as the folder delimiter. To make the script cross-platform try the following:
    on mouseUp me
      acro = baFindApp("pdf")
      if ( acro = EMPTY ) then
        alert "This program was unable to find a suitable program on your system to open a PDF document. It will open www.adobe.com, where you can download a free viewer"
        goToNetPage "http://www.adobe.com"
      else
        mPath = _movie.path
        tFile = mPath & "Resource" & mPath.char[length(mPath)] & me.pPDF
        if baFileExists(tFile) then
          OK = baOpenFile(tFile, "normal")
          if ( OK < 32 ) then
            -- see docs for numbers and their meaning
            alert "Error opening file:" && OK
          end if
        else
          alert "File not found:" &RETURN& tFile
        end if
      end if
    end

  • Error opening PDF files on the network

    I have documents in PDF format on my internal network, but when I open them directly from the network using the Adobe Reader, I get the following message:
    "There was an error opening this document. The network path was not found". But this occurs in only a few users, and possibly users who did not have this error, they have. We found that uninstalling and reinstalling the software solves the problem, but then it returns. Is there any explanation?

    Adobe Reader 11.0.09;
    Microsoft Windows 7 Professional;
    I'm accessing the file from a local network drive. The file is located in one of our servers.

  • Error opening PDF file when send as attachment via email

    Hi,
    I searched around the forum to resolve my issue and there's alot of post that is related but i can't find any answer to my issues.
    Here's the scenario :-
    I try to convert the smartform to PDF and then send the PDF as an attachment via email.
    After converting the smartform to PDF, i managed to download the file and view it without any problem but i can't view the PDF as an attachment. It has the following error :-
    Adobe Reader could not open '4500002325.PDF' because it is either not a supported fle type or because the file has been damaged (for example, it was sent as an email and wasn't correctly decoded
    The following is the snapshot of my code:-
    * Determine smartform function module for invoice
      CALL FUNCTION 'SSF_FUNCTION_MODULE_NAME'
        EXPORTING
          formname           = lf_formname
        IMPORTING
          fm_name            = lf_fm_name
        EXCEPTIONS
          no_form            = 1
          no_function_module = 2
          OTHERS             = 3.
      IF sy-subrc <> 0.
    *  error handling
        ent_retco = sy-subrc.
        PERFORM protocol_update_i.
      ENDIF.
      ls_control_param-getotf = 'X'.
      CALL FUNCTION lf_fm_name
        EXPORTING
          archive_index        = toa_dara
          archive_parameters   = arc_params
          control_parameters   = ls_control_param
          mail_recipient       = ls_recipient
          mail_sender          = ls_sender
          output_options       = ls_composer_param
          zxekko               = l_doc-xekko  " user_settings = ' '
          zxpekko              = l_doc-xpekko
        IMPORTING
          document_output_info = l_ssfcrespd
          job_output_info      = l_ssfcrescl
          job_output_options   = l_ssfcresop
        TABLES
          l_xekpo              = l_doc-xekpo[]
          l_xekpa              = l_doc-xekpa[]
          l_xpekpo             = l_doc-xpekpo[]
          l_xeket               = l_doc-xeket[]
          l_xtkomv             = l_doc-xtkomv[]
          l_xekkn              = l_doc-xekkn[]
          l_xekek              = l_doc-xekek[]
          l_xkomk              = l_xkomk
        EXCEPTIONS
          formatting_error     = 1
          internal_error       = 2
          send_error           = 3
          user_canceled        = 4
          OTHERS               = 5.
      IF sy-subrc = 0.
        CALL FUNCTION 'CONVERT_OTF'
          EXPORTING
            FORMAT                = 'PDF'
          IMPORTING
            BIN_FILESIZE          = v_len_in
            BIN_FILE              = v_bin_file
          TABLES
            OTF                   = l_ssfcrescl-otfdata
            LINES                 = l_pdf
          EXCEPTIONS
            ERR_MAX_LINEWIDTH     = 1
            ERR_FORMAT            = 2
            ERR_CONV_NOT_POSSIBLE = 3
            ERR_BAD_OTF           = 4
            OTHERS                = 5.
    * email subject
        CONCATENATE 'Purchase order' l_doc-xekko-ebeln INTO lw_subject
                    SEPARATED BY space.
    * RECIPIENTS
        lwa_recipients-rec_type = 'U'.
        lwa_recipients-express = 'X'.
        SELECT adr6~smtp_addr
        INTO TABLE gv_smtp_addr
        FROM ekko AS ekko INNER JOIN
             lfa1 AS lfa1 ON ekko~lifnr      = lfa1~lifnr INNER JOIN
             adr6 AS adr6 ON adr6~addrnumber = lfa1~adrnr
        WHERE ekko~ebeln = l_doc-xekko-ebeln.
        IF NOT gv_smtp_addr[] IS INITIAL.
          LOOP AT gv_smtp_addr INTO gv_smtp_addr_line FROM 2.
            lwa_recipients-receiver = gv_smtp_addr_line.
            lwa_recipients-copy = ''.
            APPEND lwa_recipients TO ptb_recipients.
          ENDLOOP.
    * Text Data
            CALL FUNCTION 'READ_TEXT'
              EXPORTING
                id                      = 'ST'
                language                = 'E'
                name                    = 'TEST'
                object                  = 'TEXT'
              TABLES
                lines                   = lv_lines
              EXCEPTIONS
                id                      = 1
                language                = 2
                name                    = 3
                not_found               = 4
                object                  = 5
                reference_check         = 6
                wrong_access_to_archive = 7
                OTHERS                  = 8.
          LOOP AT lv_lines INTO lv_lines_line.
            ltb_objtxt = lv_lines_line-tdline.
            APPEND ltb_objtxt.
          ENDLOOP.
          DESCRIBE TABLE ltb_objtxt LINES lw_tab_lines.
          READ TABLE ltb_objtxt INDEX lw_tab_lines.
    * document data contains information for the whole message
          lwa_doc_chng-obj_descr = 'ABAPlist'.
    * Control Data
          lwa_doc_chng-obj_name   = 'TESTING'.
          lwa_doc_chng-sensitivty = 'F'.
          lwa_doc_chng-no_change  = 'X'.
          lwa_doc_chng-priority   = '1'.
          lwa_doc_chng-obj_prio   = '1'.
          lwa_doc_chng-obj_langu  = sy-langu.
          CLEAR ltb_objpack-transf_bin.
    *Attachment
    *Move the binary attachment to other internal table.
          ltb_objpack-head_start = 1.
          ltb_objpack-head_num   = 0.
          ltb_objpack-body_start = 1.
          ltb_objpack-body_num   = lw_tab_lines.
          ltb_objpack-doc_type   = 'RAW'.
          APPEND ltb_objpack.
          clear : lw_tab_lines.
    *Get the number of lines in the Attachment (PDF FILE)
    *      DESCRIBE TABLE it_mess_att LINES lw_tab_lines.
          DESCRIBE TABLE l_objbin lines lw_tab_lines.
          ltb_objpack-transf_bin = 'X'.
          ltb_objpack-head_start = 1.
          ltb_objpack-head_num   = 1.
          ltb_objpack-body_start = 1.
          ltb_objpack-body_num = lw_tab_lines.
          ltb_objpack-doc_type = 'PDF'.
          ltb_objpack-obj_descr = l_doc-xekko-ebeln.
          ltb_objpack-doc_size = lw_tab_lines * 255.
          APPEND ltb_objpack.
    *Email Subject
          lwa_doc_chng-obj_descr = lw_subject.
            lwa_recipients-receiver = recipeint.
            lwa_recipients-rec_type = 'U'.
            lwa_recipients-copy     = 'X'.
            lwa_recipients-express  = 'X'.
            APPEND lwa_recipients TO ptb_recipients.
          CALL FUNCTION 'SO_DOCUMENT_SEND_API1'
            EXPORTING
              document_data = lwa_doc_chng
              COMMIT_WORK   = 'X'
            TABLES
              packing_list  = ltb_objpack
              contents_bin  = l_objbin
              contents_txt  = ltb_objtxt
              receivers     = ptb_recipients.
          IF sy-subrc <> 0.
    * MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    *         WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
          ENDIF.
        ENDIF.
      ENDIF.
    Edited by: ~loObie on Apr 23, 2010 12:01 PM
    Edited by: ~loObie on Apr 23, 2010 12:02 PM

    Did you send the pdf in the following format ...
    2. Sending PDF as mail.
    CLEAR t_receivers.
    REFRESH t_receivers.
    t_receivers-receiver = sy-uname.
    t_receivers-rec_type = 'B'.
    t_receivers-com_type = 'INT'.
    t_receivers-notif_del = 'X'.
    t_receivers-notif_ndel = 'X'.
    APPEND t_receivers.
    CALL FUNCTION 'SO_DOCUMENT_SEND_API1'
    EXPORTING
    document_data = w_doc_data
    put_in_outbox = 'X'
    sender_address = ld_sender_address
    sender_address_type = ld_sender_address_type
    commit_work = 'X'
    IMPORTING
    sent_to_all = w_sent_all
    TABLES
    packing_list = t_packing_list
    contents_bin = t_attachment
    contents_txt = it_message
    receivers = t_receivers
    EXCEPTIONS
    too_many_receivers = 1
    document_not_sent = 2
    document_type_not_exist = 3
    operation_no_authorization = 4
    parameter_error = 5
    x_error = 6
    enqueue_error = 7
    OTHERS = 8.
    Quote from the Following [LINK|http://www.sap-basis-abap.com/smartforms/convert-the-smart-form-into-pdf-and-send.htm]

  • Error opening PDF files using Acrobat Reader 9

    I use Acrobat Reader 9 to view PDF files. I have Windows XP operating system on my machine.
    In order to view encrypted PDF files on our company webiste we have to install FileOpenInstaller.exe or FIleOpenInstaller.msi which is Adobe Component
    Therewas no issue viewing/accessing the PDF files until last week. But now we get below error when we try to open encrypted PDF files from our company website.
    The error message is "Unable to get server data [FO error #2114, OS error #0)
    Any idea what could be the cause of error?
    Is anyone aware of any possible issue with Adobe FileOpenInstaller.exe or FIleOpenINstaler.msi packages

    I have just installed Adobe Reader 9. I am getting frequent system hangs (cannot do anything without cold re-boot) when using the product, in particular when using forms documents provided by Companies House, a UK government agency.

  • ERROR OPENING PDF FILES DOWNLOADED FROM INTERNET

    I have a problem when I download a pdf file from Internet and I try to open in throughout Acrobat Reader. It appeared one error saying "The file path is not valid". What can I do?.

    Hi there,
    I found this can happen if the file does not download correctly. When this happens, simply try redownloading the file and wait until it has fully downloaded before doing anything else with the browser.
    Does that work now?
    If you want to thank someone for their comment, do so by clicking the Thumbs Up icon.
    If your issue is resolved, don't forget to click the Solution button on the resolution!

  • Inconsistent error opening PDF files

    Hi all,
    Hope someone have seen this issues before.  At our company, we have multiple computers running Windows 7 and Windows XP.  All the computers have Adobe Acrobat reader 10 & 11.
    When we go to a specific websites and click on a pdf file to open, we get this error message below:
    "There was an error opening this document.  The file is damaged and could not be repaired"
    When we click on the pdf files and choose to view or download to it to our desktop, we at times will get this error message several times and then it will finally work.  Some pdf files will just open and we can view it immediately and some pdf files will give this error message several times before it work.
    This is happening to all the computers (Windows XP and Windows 7).  We have try to reinstall Adobe reader 10 and 11 on some of the computers, did full windows update, cleared out cookies/cache on browser, tried different browser (chrome and IE8 and 9).  Nothing seems to resolved this inconsistency.
    nick

    I change the setting in IE and Chrome to have PDF files open in the native applicaiton instead of the browser, but it still have issues.
    We have several locations, and our ShadyGrove and Germantown have the issues, while the Washington does not.  Everyone at the Washington area when opening the pdf files from the specific website does not get the error message.
    Thanks

  • Error opening PDF Files

    Hi,
    when i am calling a pdf file in our BI System i become the error message with ADS. I have checked the programm FP_TEST_TEST_00 and it comes a system error up.
    error code: 100.101
    ERROR MESSAGE : SOAP Runtime Exception: CSoapExceptionTransport : HTTP receive failed with exception communication_failure
    Fehler SOAP Framework: SOAP Runtime Exception: CSoapExceptionTransport : HTTP receive failed with exception communication_failure(100.101).
    have somebody an idea to this?ß
    Tkanks and Regards
    Eimal

    I'm also encountering the same problem with transaction SFP, that is when activating a form.
    Anyone has the solution?

Maybe you are looking for

  • Jitter, stutter, or jerky playback on output

    Hi friends, I've edited a video in Premiere Pro CS4 and it plays smoothly in the timeline. However, when I export it for DVD output, and then preview it in Encore, every minute or so, it will play one frame out of order. I don't know whether to descr

  • How to specify the database file path when create FDM application

    Dear All, How to specify the database file path (MSSQL) when create FDM application? Right now, all data file are placed in the D:\ . I want to specify the database files (log and mdf file) in other place. How to do it? Thanks.

  • Email Triggered for blocked Licenses...

    Hi All, We are working on some development . There is  requirement as :- 1.To trigger a mail ,if order has been block due to invalid license 2. If master data related to license (MAEX-ALNUM and MAEX-EMGBR ) is maintained in the materail master then t

  • MapViewer Demo - mapclient.jsp

    Hi, I have installed mapviewer demo on a standalone OC4J. I added a datasource "mvdemo". I can get other jsp's to work: jview.jsp, mapinit.jsp and tagmap.jsp but when I go to mapclient.jsp and enter the datasource field along with Map Center X and Y,

  • Comparison in date

    hi all, can anybody tell me, how we can compare the dates? i have a bdc for billing date and i want to compare my XL billing date to system billing date, my requirement is XL billing date should not Lesser than system billing date. can anybody help m