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

Server Execution Failed : CreateObject("Acroexch.app")

Community Beginner ,
Nov 15, 2022 Nov 15, 2022

Copy link to clipboard

Copied

VBA program that uses Acrobat Pro to add pages bookmarks etc, has been running for YEARS. Most recent functioning setup Windows 10 with Acrobat Pro X.

Recently setup a Windows 11 PC and added Acrobat Pro DC 22 via creative cloud and server calls to create object fail.

 

Acrobat Pro X does not appear to be Windows 11 compatible hence the update to Acrobat Pro DC 22

Thank you in advance for any suggestions ?

TOPICS
Acrobat SDK and JavaScript , Windows

Views

1.1K

Translate

Translate

Report

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

correct answers 1 Correct answer

Community Expert , Nov 23, 2022 Nov 23, 2022

In the preferences of Acrobat disable the protection mode.

Votes

Translate

Translate
Community Expert ,
Nov 22, 2022 Nov 22, 2022

Copy link to clipboard

Copied

Reset the reference to the "Acrobat.tlb" file. 

 

 

 

 

Thom Parker - Software Developer at PDFScripting
Use the Acrobat JavaScript Reference early and often

Votes

Translate

Translate

Report

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
Community Beginner ,
Nov 23, 2022 Nov 23, 2022

Copy link to clipboard

Copied

Thank you for your reply, I did re-refernce the .tlb file but routines like .addwatermark() which previously ran now throw up an error loading file.    I have googled this without a great deal of success

Votes

Translate

Translate

Report

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
Community Expert ,
Nov 23, 2022 Nov 23, 2022

Copy link to clipboard

Copied

In the preferences of Acrobat disable the protection mode.

Votes

Translate

Translate

Report

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
Community Beginner ,
Nov 24, 2022 Nov 24, 2022

Copy link to clipboard

Copied

Thank you, I think this has solved the problem. I did take off enhanced security in case this was also related.

Votes

Translate

Translate

Report

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
LEGEND ,
Nov 24, 2022 Nov 24, 2022

Copy link to clipboard

Copied

You say it's a server. Not sure what type. Acrobat must only be used in an interactive session, and does not work in a background task. 

Votes

Translate

Translate

Report

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
Community Beginner ,
Nov 24, 2022 Nov 24, 2022

Copy link to clipboard

Copied

That is the error message and presumably refers to the acrobat object.

This system has run on Windows from XP without modification

Votes

Translate

Translate

Report

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
LEGEND ,
Nov 24, 2022 Nov 24, 2022

Copy link to clipboard

Copied

So, is it running in a normal interactive session? And does Acrobat start and run normally in this same interactive session? Did you also try disabling protected mode as suggested?

Votes

Translate

Translate

Report

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
Community Beginner ,
Nov 24, 2022 Nov 24, 2022

Copy link to clipboard

Copied

LATEST

Thank you for your assistance, the Protected Mode I think was the resolution.

Votes

Translate

Translate

Report

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