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
-
I'm new to acrobat reader dc. When I send a document by e-mail, I don't want the recipient to be able to edit the document they receive. How to handle that?
Hi MaureenYH,
Restriction of anyone to modify the PDF using Acrobat | Securing PDF files with passwords will be possible using Acrobat free trial download Adobe Acrobat application | Acrobat Pro DC. Is not possible with the free Acrobat Reader DC application.
Kind regards
Nicos
-
I'm a serious problem, I'm trying to install Adobe Acrobat Reader DC, I low and when I install it it goes up to half and an error message appears indicating that I already have a version but improved program installed, alone, that I have nothing... and already I've tried everything
Hi lucasa43102598,
If you are on the Windows computer, run this cleanup tool to completely uninstall Acrobat Reader DC Download Adobe Reader and Acrobat cleaning - Adobe Labs tool , reboot your system & reinstall Acrobat Reader DC using this link Adobe - Adobe Acrobat Reader DC Distribution.
I would like to know if it works.
Kind regards
Nicos
-
Acrobat Reader DC works fine and opens a PDF file without problem - until I have a word document open as well-, then the PDF file crashes. I can't open a PDF file, a word document is also open.
For troubleshooting, you can disable the Protected Mode (https://helpx.adobe.com/reader/using/protected-mode-windows.html#id_94783) and see if that solves the problem. If the problem persists, please re-enable the Protected Mode to improve safety.
Let us know how it goes.
-
Acrobat Reader automatically converted some files .doc in pdf files
Acrobat Reader automatically converted some files .doc in pdf files
Hi jeffm,.
Please take a look at this document: Application, file icons change in Acrobat/Reader icon.
Meet your concerns?
Best,
Sara
-
After having stuck trying to upgrade Windows7 for Windows 10, the system gave back me to Windows 7. Now, I think I lost my Adobe Reader software. I can't open PDF documents.
Use the uninstaller to uninstall, if you can.
clean by Download Adobe Reader and Acrobat tool - Adobe Labs
Restart your computer
Reinstall the reader Adobe Acrobat Reader DC install for all versions
-
When using PDF documents for signature, you need to 'send' the document for signature? Or can I publish the document on my site and simply ask visitors to sign without send me to each person?
Hello
You can use the Widget feature to publish the document on your website. Here is the link for reference:
https://helpx.Adobe.com/document-cloud/help/create-widgets.html -Usman
-
I downloaded Adobe Acrobat Reader DC, by following the steps described on the Adobe site, several times, but when I click on the PDF in my Outlook emails - it says that I don't him have not downloaded?
OK, what you need to do is to save the PDF file to your desktop. The PDF that you see with the message, even if it doesn't look like anything other than a mistake. Then open the PDF with Adobe Reader.
Do not save using the Save on the file menu. It does not work. Save the toolbar that appears above him.
-
At Adobe Acrobat 9 Pro on Windows 7 Enterprise SP1 and used Internet Explorer 10 Version 10.0.9200.17414. In the upper RIGHT of IE, I had Adobe (plug-ins?) option to:
Convert Web Page to PDF...
Add Web Page in existing PDF...
Print the Web Page...
etc.
I used the Web Page Add to... the daily option. I then installed, to fix a different problem, Adobe Acrobat Reader Version DC 2015.008.20082 (later from this post). Now, when I choose to add a Web Page in existing PDF... option, I get the error popup:
Unable to access the installation of Acrobat Capture Web. Acrobat may be busy or waiting for input.
I have searched the WWW of solutions but can't find one. Anyone has any potential ideas?
The free software Adobe Reader doesn't have these features. They are part of Acrobat (not free) - as far as I know; only with the Pro version.
There may be a PDF 'create' a web page associated with an Adobe online subscription services (perhaps PDF Pack).
Be well...
-
Adobe Acrobat Reader Version DC 2015.009.20069 installs PDF plugin for Firefox?
I recently installed Adobe Acrobat Reader Version DC 2015.009.20069, but the PDF plugin for Firefox is the 5.1.0.193 version and Firefox it is obsolete. When I click on the button update Firefox it takes me to the download page for the Version Acrobat Reader DC 2015.009.20069. Acrobat Reader DC is not installed the plugin? Download the plugin separately?
Hi m_lewis,.
Yes, it will update all the components on the BONE. In this scenario, I'll suggest you reboot the machine once and then check out.
Thank you
Abhishek
-
MY Acrobat Reader without any notice to destroy my PDF files
I use Acrobat Reader X. I get the PDF attachments by e-mail. Everything is OK, I have to open, save, and send. After that a few times, when I come to open the same file drive reduce the file to almost zero bites and telling me that the file type cannot be read by the reader or that the file I received is damaged because it was sent not on good code. But I've used the file several times and ws all OK. Why is it damage the files suddenly?
Also, carefully check the modification date and time.
-
Acrobat Reader 11 closes immediately, doesn't open PDF
Just reformat mioy computer and upgraded to Windows 7 Ultimate, now I can't open PDF - reader closes immediately - does not open the PDF file at all. I can't even open XI player by itself. I tried to uninstall and roll back to Player 10... same result. Uninstalled and installed the 9.0 version. Same result. I have not yet installed XI, but still failed to open the PDF. I bought and intalled Office 2013 when I replayed. Nothing is on my computer again except Avast antivirus and firewall, Skype, IE 10 and google chrome. Any ideas?
You can try Windows Explorer, navigate to C:\Program Files (x 86) \Adobe\Reader 11.0\Reader, and then double-click Eula.exe and accept the license agreement
-
Acrobat Reader DC: Too white which makes the difficult document on the eyes.
I just installed Adobe Acrobat Reader DC. It is difficult to read because of all the white people. Is it possible to change the color of the side panels on each side of the displayed document drey very light?
Thanks in advance.
Mike
Hi 8jvu3qfQR,
I understand your frustration, you can provide your comments using this link: https://www.adobe.com/cfusion/mmform/index.cfm?name=wishform
And, as far as the new design of the Interface DC Acrobat/Reader is concerned, I would ask to visit this link: Reimagining Acrobat: Interview with the Director of the Design Jamie Myrold.
Kind regards
Rahul
-
Acrobat DC combine Office 2016 files into a PDF document or a portolio
I use Acrobat DC Pro on my new Windows 7 PC with Word 2016. This combination of programs is not allowing me to combine Word/Excel files in a PDF document or a portfolio using the add-on Acrobat tools "to create a PDF file from any format. I get a message "Error during treatment", and he ignores the Office files. After that, Acrobat thinks that the Word/Excel file is used in another application. There the Distiller settings that I need to change or something else that needs to be done?
UPDATE. After reading several other similar problems with other versions of Acrobat or office, I fixed the MS Office 2016 installation via Windows Control Panel and that seems to have solved the problem. He has worked with and without control 'enable enhanced security '.
-
How do to solve the problem when a chart appears in InDesign, but did not appear when you print the PDF Document of InDesign. There are no errors in the document.
Stop using a 1 X and use PDF/X-4.
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