C # acrobat opened PDF error, prompting Acrobat.acropddocclass not to cast to Acrobat.cacropddoc, using COM component { 9b4cd3e7-4981-101b-9ca8-9240ce2738ae},hresult:0x80004002

Source: Internet
Author: User

To convert the contents of a PDF file to a picture in bulk, two questions were encountered during the writing process.

One, download the SDK, prompt to reference COM component Acrobat, but on my computer is not visible, only see Adobe Acrobat 7.0 browswer Control Type Library 1.0.

My computer, Acrobat XI and Acrobat Reader DC, were all loaded, and I didn't find a lap.

Later, a lower version of the Acrobat DC installer was installed, which can be seen in the COM component after installation.

The reason is that the previously installed Acrobat Xi is a green cracked version, eliminating a lot of installation steps, may not be installed during the registration of COM components caused .

Second, after the reference, in Avdoc.open this place always error, download the SDK is also, hint Acrobat.acropddocclass cannot cast to Acrobat.cacropddoc, use COM component { 9b4cd3e7-4981-101b-9ca8-9240ce2738ae},hresult:0x80004002

This mistake, also looked for a long time, have no result, the official also some people ask https://forums.adobe.com/thread/301879, but there is no solution.

Later I changed a computer, reinstall Acrobat DC, test the program, found no problem, can open the pdf file directly.

The other computer is clean, did not install any version of Acrobat, this thought may be installed in the two version of the conflict caused , so the software uninstall, only installed Acrobat DC, the result is not.

Had to again uninstall Acrobat DC, while searching for Acrobat in the registration table, the search to all deleted, then install Acrobat DC, run the program, found to open, normal execution.

C # acrobat opened PDF error, prompting Acrobat.acropddocclass not to cast to Acrobat.cacropddoc, using COM component { 9b4cd3e7-4981-101b-9ca8-9240ce2738ae},hresult:0x80004002

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.