Acrobat Reader DC fails on CommandInvalidContextError when submitting PDF document on server

We have Flex application that opens the PDF in document IFRAME and allows the user to fill out the PDF form, add the signature and removing the PDF on the server.

HTML fragment:

<object CLASSID="clsid:CA8A9780-280D-11CF-A24D-444553540000" id="myPdf" border="0" width="100%" height="100%" 
     type="application/pdf"
     standby="Loading pdf...">
     <PARAM NAME="src" VALUE="downloadDocument.do?docId=12345">
     <p>Error Loading PDF.</p>
</object>

When the user submits the PDF following the code JavaScript is executed on the server.

function submitPdf(url) { 
     var params = new Array(3);
     params[0] = "Submit";
     params[1] = url;
     params[2] = "PDF";
     var ar = document.getElementById("myPdf");
     ar.messageHandler = {
          onMessage : function(msg) {
               window.alert("Success...");
          },
          onError : function(error, msg) {
               window.alert(error);
          }
     };

     ar.execCommand(params);
}

URL is the Manager server that receives PDF data and records them in the database. Client is already connected to the application and is valid JSESSIONID cookie.

Everything works with Acrobat Reader 10, but after the installation of the new Acrobat Reader DC 2015 we get CommandInvalidContextError exception.

No one knows what to do to get the job of action submit or how call plugin Acrobat Reader properly APIs?

No, the URL contains only 7-bit ASCII characters. This cannot be a cause of this problem, because the application works fine with Adobe Reader 10 or 11.

But I finally found a solution.

We had to upgrade to the latest version of Adobe Reader DC (in the main menu of the application--> help-> check the updates).

Published in June 2015 2015.008.20082 update. This continuous update provides security mitigations and bug fixes.

It is possible that our problem is related with this release notes.

I hope that this solution will be included in the next major update in the basic installation.

Thanks for your help, everyone!

Tags: Acrobat

Similar Questions

Maybe you are looking for

  • Synchronization of contact Bluetooth in iOS 10 works not properly

    Hello I have an iPhone 6 and just improved IOS to iOS 10 9.x.  Previously, during the synchronization of contacts via Bluetooth with handsfree car, type phone numbers information system (home, work, Mobile, etc.) has been transferred, allowing of who

  • Adapter taken headphones iPhone 7

    Is there, or is it still possible to have electric lighting adapter and a headphone jack. Basically I'm asking the lighting interface does support two or more functions at a time. I know that his first, but don't you think that apple or any other thi

  • SD FlashAir with Embedded WLa card connects to the PC or smart phone

    Someone struggling to connect their new FlashAir - SD card with Embedded Wireless LAN from their camera to their pc or smart phone? If so could I ask what you did to solve this problem? When we leave the camera on it just won't connect. Thanks in adv

  • Satellite L500 - Web Cam does not work

    Hello. My book built into the camera, and that camera thos not inicialize, I have ave made a HARD drive recovery, and after the web camera software was not installed. I downloaded this software one of the device drivers and it instaled in the laptop,

  • SP4600: DOS Mode: Question about audio driver

    A quick Q. Does anyone know if aa audio driver is available for the satellite Pro 4600 which is Sound Blaster - compatible?I am running the latest driver on the support Web site, but it doesn't seem to make noise when you play an old DOS mode game I