Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

Error when create CAcroAVDoc instance/object in C#

New Here ,
Feb 13, 2022 Feb 13, 2022

Hi,

I have below code:

//Create an Acrobat AV Document object
Type TypeAcrobatAVDoc;
TypeAcrobatAVDoc = Type.GetTypeFromProgID("AcroExch.AVDoc");
Acrobat.CAcroAVDoc ObjAdobeAVDoc = (Acrobat.CAcroAVDoc)Activator.CreateInstance(TypeAcrobatAVDoc);

Then i got problem with below code:

Acrobat.CAcroAVDoc ObjAdobeAVDoc = (Acrobat.CAcroAVDoc)Activator.CreateInstance(TypeAcrobatAVDoc);

The following is the error:

Creating an instance of the COM component with CLSID {72498821-3203-101B-B02E-04021C009402} from the IClassFactory failed due to the following error: 80010108 The object invoked has disconnected from its clients. (Exception from HRESULT: 0x80010108 (RPC_E_DISCONNECTED)).

 

I don't know exactly what went wrong.

In my laptop, I have no problem. I use Acrobat Pro DC.

But In user laptop, I got above error. User uses Acrobat XI.

 

Anyone can help me please?

Thank you.

TOPICS
General troubleshooting , How to
325
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
no replies

Have something to add?

Join the conversation