简体   繁体   中英

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

I am trying to save a digitally signed pdf. But when I close the document after clicking on save, I get this error in the javascript console.

NotAllowedError: Security settings prevent access to this property or method. 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. PLease help me out !!

Does the document by chance have a willClose script?

From the error message, it seems that the document is not really a PDF, but an XFA file.

With "regular" PDFs, applying a digital signature (a real one), implies saving the document. You might check whether this happens. Then you will no longer need to save it specifically, but can close it immediately.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

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