文件不以“%PDF-”开头
昨天我遇到了一个特殊的问题。 一位客户将我的一个 Delphi 应用程序安装在一些东芝笔记本电脑上,一切都很好,直到生成一些 Acrobat 文件作为 Rave 7 报告时,才产生了主题错误。
这些笔记本电脑安装了 Acrobat 7 Standard、XP SP3 和 IE8。 我卸载了 Acrobat 7 Standard,安装了他们现有的 Acrobat 5 Reader,然后问题就消失了。 但是,客户并不认为回溯 Acrobat 作为解决方案,因为此 Delphi 应用程序运行的通常环境(XP SP3、IE 7 和 Acrobat 7 Standard)不会显示此问题。
谷歌搜索没有揭示任何最近的原因或影响。 Microsoft 和 Adobe 知识库否认存在任何问题。
关于哪些特定区域需要解决方法的任何线索? 今天我要卸载IE8并重新安装IE7。
I had a peculiar problem yesterday. A customer put one of my Delphi apps on some Toshiba laptops, and all was fine until it was time to generate some Acrobat files as a Rave 7 report, which produced the subject error.
The laptops had Acrobat 7 Standard installed with XP SP3 and IE8. I uninstalled Acrobat 7 Standard, put in Acrobat 5 Reader which they had lying around, and the problem went away. However, the customer doesn't see backtracking Acrobat as a solution, because the usual environment this Delphi app runs in of XP SP3, IE 7, and Acrobat 7 Standard doesn't show this problem.
A Google search didn't reveal any recent causes or effects. The Microsoft and Adobe KBs deny that any problem exists.
Any clues as to what specific area needs a workaround? Today I'm going to uninstall IE8 and reinstall IE7.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(4)
我们遇到过这种情况,发现只需将该网站添加到“允许的弹出窗口”列表中即可。
We were experiencing this and found that it was a matter of adding the site to the "allowed popups" list.
PDF 文件假定以序列“%PDF-XY”开头; 然而,有些程序,例如臭名昭著的电子邮件程序,会添加标头,例如Mac Binary。 Acrobat 在前 1024 个字节中查找 %PDF 序列。 其他应用程序仅支持文件开头的 %PDF。
PDF files are suppose to start with the sequence "%PDF-X.Y"; however, some programs, email programs are notorious, will add a header, such as Mac Binary. Acrobat looks in the first 1024 bytes for the %PDF sequence. Other applications only support %PDF at the beginning of the file.
如果重新安装 Firefox(或您的浏览器)并重新安装 Adobe Acrobat Reader 不起作用,是因为它继承了过去版本的设置。 对我有用的是手动卸载所有存储的应用程序数据。 在 Win 7 中,转到 C:/users/你的名字/AppData/Roaming/Mozilla 或 Microsoft/ 并尝试删除与你的浏览器相关的所有内容,包括扩展程序和插件。 如果您无权删除文件夹,请打开它并逐个删除文件。
请注意,您必须能够查看隐藏文件才能访问 AppData 文件夹。 然后对 Adobe 文件夹下的 AppData 执行相同的操作。 然后重新安装 Firefox 和 acrobat reader。 完毕!
If reinstalling Firefox (or your browser) and reinstalling Adobe Acrobat Reader does not work is because it is inheriting settings from past versions. What worked for me is doing a manual uninstall of all stored application data. In Win 7 Go to C:/users/your name/AppData/Roaming/Mozilla or Microsoft/ and the try to delete all of the content related to your browser including extensions and plugins. If you don't have permission to delete folders then open it and delete file by file.
Note that you have to be able to view hidden files to access AppData folder. Then do the same for the AppData under Adobe folder. Then reinstall Firefox and acrobat reader. Done!
我在使用 Adobe ActiveX 插件的 IE 中遇到了同样的问题。 那是前一段时间,但如果我没记错的话,问题是 Acrobat 7 某些版本中的 ActiveX,可能与 PDF 本身的特定版本结合在一起。 安装最新的 Adobe Reader 解决了该问题。
I came a cross the same problem, in IE with the Adobe ActiveX plug-in. It was some time ago, but if I remember correctly the problem was the ActiveX in some versions of Acrobat 7, maybe combined with specific versions of the PDF itself. Installing the latest Adobe Reader solved the problem.