Skip to main content
Participant
Nov 16, 2022 6:04 AM UTC
Answered

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

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 ?

This topic is closed to new replies. Start a new post to keep the conversation going.
Bernd Alheit
Bernd AlheitCorrect answer
Community Expert
Nov 24, 2022 7:31 AM UTC

In the preferences of Acrobat disable the protection mode.

8 replies

Legend
Nov 24, 2022 8:24 AM UTC

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. 

Translate
Participant
Nov 24, 2022 8:29 AM UTC
That is the error message and presumably refers to the acrobat object.

This system has run on Windows from XP without modification
Translate
Thom Parker
Community Expert
Community Expert
Nov 22, 2022 5:27 PM UTC

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

 

 

 

 

Translate
Thom Parker - Software Developer at PDFScriptingUse the Acrobat JavaScript Reference early and often
Participant
Nov 23, 2022 10:46 PM UTC

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

Translate
Bernd Alheit
Community Expert
Bernd AlheitCommunity ExpertCorrect answer
Community Expert
Nov 24, 2022 7:31 AM UTC

In the preferences of Acrobat disable the protection mode.

Translate