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.
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..
1 person found this helpful
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.
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:
The file is not empty :-/
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.
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.