6 Replies Latest reply on Sep 20, 2016 2:11 PM by MarkAss

    Resolve the damaged document error when opening PDF files mac os x

    MarkAss

      I have a problem, and it is discussed here:

       

      Resolve damaged document error when opening PDF files

       

      I thought I'd just follow the instructions, but I have a couple of issues/questions:

       

      1) What is the path on my computer (Mac os 10.11.6)? Adobe Acrobat Reader DC, The version is: 2015.017.20053

      2) Would it really be safe to do this, entering the code in terminal?

       

      Thanks, Mark

       

      error message.jpg

        • 1. Re: Resolve the damaged document error when opening PDF files mac os x
          Karl Heinz Kremer Adobe Community Professional

          You would not enter the information from the article in the console. What the articles shows are Windows registry keys, which need to be modified using the registry editor (regedit). On a Mac, you do not have a registry. Configuration information is stored in Plist files instead. The Plist file is stored in your Library/Preferences folder. To get to the Library folder in Finder, hold down the Alt key, and then go to Finder's "Go" menu. You will now see a "Library" element listed in the menu (when you release the Alt key again, that entry disappears). The file you are looking for in Library/Preferences is called com.adobe.Acrobat.Pro.plist (for Acrobat) or com.adobe.Reader.plist (for the free Adobe Reader) - you will need a Plist editor to actually edit it. Once you have this file loaded in an application that can edit Plist files, go to Root/DC/AVGeneral and create a new entry named ValidateBytesBeforeHeader of type boolean and set it to "NO". This is how it should work. I've never done it myself, so this is just based on the documentation.

           

          This setting may not fix your problem. The header validation is only one of many reasons why you would see this error.

          • 2. Re: Resolve the damaged document error when opening PDF files mac os x
            MarkAss Level 1

            Hi Karl Heinz :-)

             

            Thanks a lot for your reply! I tried to do what you wrote to me, but unfortunately it didn't help. I have modified the files "com.adobe.Reader_x86_9.0.plist" and com.adobe.Reader.plist. Do you have other suggestions? The file with this problem is stored the same place as when I added it to the pdf. Also, it seems strange to have to do these kind of things when using adobe software? I mean, it's not an open source project on linux or whatever..

            • 3. Re: Resolve the damaged document error when opening PDF files mac os x
              Karl Heinz Kremer Adobe Community Professional

              As I said, this may not fix the problem.

               

              Let's take a step back: The most likely scenario on a Mac for this error is that you tried to save a PDF file in the browser by using the browser's save function. This will always create a file without any content (it has a file size of 0). In the Finder, when you look for the document information, do you see a "real" file size (different from 0)? If you have a 0 byte long file, then there is nothing you can do to get the content back: You will have to download it again, but this time, move the mouse cursor in the browser window towards the bottom center until you see a control bar being displayed. You can use the save button on that bar to save your PDF file. If you have a file that has content, then it gets a bit more complicated, and, without seeing the file it's impossible to give any advice.

              1 person found this helpful
              • 4. Re: Resolve the damaged document error when opening PDF files mac os x
                MarkAss Level 1

                That's a quick reply! :-)

                 

                I think I forgot to explain this: The file that cannot be opened is a pdf file I attached to a pdf document using the attach file feature:

                Skærmbillede 2016-09-20 kl. 22.49.05.jpg

                Skærmbillede 2016-09-20 kl. 22.47.06.jpg

                The file is not empty :-/

                Skærmbillede 2016-09-20 kl. 22.42.11.jpg

                Skærmbillede 2016-09-20 kl. 22.42.29.jpg

                 

                I've had this problem numerous times with other files. Could it be related to adobe reader dc not being the default viewer for pdf files on this mac? Just an idea. From what I remember, I'm able to open the file just after I attached it to the pdf I'm working on, but now after I closed adobe reader dc and opened the pdf again.

                • 5. Re: Resolve the damaged document error when opening PDF files mac os x
                  Karl Heinz Kremer Adobe Community Professional

                  I honestly don't know. Can you extract the file instead of opening it in Reader?

                   

                  2016-09-20_17-00-04.png

                   

                  Does that make a difference?

                  • 6. Re: Resolve the damaged document error when opening PDF files mac os x
                    MarkAss Level 1

                    Thanks for the suggestion. When I save the file (on the desktop) as you showed me, the file cannot be opened - not by acrobat reader and also not by preview (default pdf reader on mac). The original file that I attached to the pdf can still be opened by both apps - so the problem lies in using the "attach file" feature, I guess? Somehow attaching a pdf to a pdf as a "comment" doesn't work.