Skip to main content
Participant
Feb 13, 2023 3:24 PM UTC
Question

C# AcroExch.App 80004002 No such interface supported (Exception from HRESULT: 0x80004002 (E_NOINTERF

Using Adobe Acorbat Pro DC v2022.001.20142

I have a C# application which print and merge pdf using Acrobat Pro.

Everything was working fine when I was using Adobe Acrobat XI Pro.

With this new version, I get the following error:  Creating an instance of the COM component with CLSID {85DE1C45-2C66-101B-B02E-04021C009402} from the IClassFactory failed due to the following error: 80004002 No such interface supported (Exception from HRESULT: 0x80004002 (E_NOINTERFACE)).

 

The code who generate the error is: 

Acrobat.AcroApp gapp = (Acrobat.AcroApp)Activator.CreateInstance(Type.GetTypeFromProgID("AcroExch.App"));

 

I've checked the reference of the solution and it's pointing to  C:\Program Files (x86)\Adobe\Acrobat DC\Acrobat\Acrobat.tlb

 

Any idea why it generate this error and how can it be fixed?

 

Thanks

 

This topic is closed to new replies. Start a new post to keep the conversation going.

6 replies

Thom Parker
Community Expert
Community Expert
Feb 13, 2023 6:12 PM UTC

Is the running version of Acrobat 32bit or 64bit?

 

 

Translate
Thom Parker - Software Developer at PDFScriptingUse the Acrobat JavaScript Reference early and often
Participant
Feb 13, 2023 6:21 PM UTC

32 bits

 

Translate
Thom Parker
Community Expert
Community Expert
Feb 13, 2023 6:53 PM UTC

Try creating a new app that connects to the Acrobat IAC. There may be something hanging around in the old build that's using the wrong OLE reference. You could also trying doing this with a different language, such as VBA.

If the new builds works, you'll at least know the IAC is working and have a possible path forward.

 

 

Translate
Thom Parker - Software Developer at PDFScriptingUse the Acrobat JavaScript Reference early and often
Participant
Feb 13, 2023 3:36 PM UTC

In the preferences of Acrobat I've

  • Disable Protected Mode by going to Edit > Preferences > Security (Enhanced) and deselecting Enable Protected Mode at startup.

     

    Reference again to the tlb file but still get an error which is: "Creating an instance of the COM component with CLSID {85DE1C45-2C66-101B-B02E-04021C009402} from the IClassFactory failed due to the following error: 80004005 Unspecified error (Exception from HRESULT: 0x80004005 (E_FAIL))."

Translate