简体   繁体   English

Adobe Reader-关闭/保存经过数字签名的pdf时出现Javascript错误

[英]Adobe reader - Javascript error when closing/saving a digitally signed pdf

I am trying to save a digitally signed pdf. 我正在尝试保存经过数字签名的pdf。 But when I close the document after clicking on save, I get this error in the javascript console. 但是,当我单击保存后关闭文档时,我在javascript控制台中收到此错误。

NotAllowedError: Security settings prevent access to this property or method. NotAllowedError:安全设置阻止访问此属性或方法。 Doc.URL:2:XFA:FormSchV_Dtls[0]:docClose Doc.URL:2:XFA:FormSchV_Dtls [0]:docClose

Its like the macros are not getting saved. 就像没有保存宏。 I have to upload this file on the MCA server as I have to file a return, but the server is rejecting it. 我必须将此文件上传到MCA服务器上,因为我必须提交退货单,但是服务器拒绝了它。 PLease help me out !! 请帮帮我!

Does the document by chance have a willClose script? 文件偶然有一个willClose脚本吗?

From the error message, it seems that the document is not really a PDF, but an XFA file. 从错误消息来看,该文档似乎实际上不是PDF,而是XFA文件。

With "regular" PDFs, applying a digital signature (a real one), implies saving the document. 对于“常规” PDF,应用数字签名(真实签名)意味着保存文档。 You might check whether this happens. 您可以检查是否发生这种情况。 Then you will no longer need to save it specifically, but can close it immediately. 然后,您将不再需要专门保存它,而是可以立即将其关闭。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM