Skip to main content
Participant
November 16, 2022
Answered

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

  • November 16, 2022
  • 2 replies
  • 2231 views

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 has been closed for replies.
Correct answer Bernd Alheit

In the preferences of Acrobat disable the protection mode.

2 replies

Legend
November 24, 2022

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. 

Participant
November 24, 2022
That is the error message and presumably refers to the acrobat object.

This system has run on Windows from XP without modification
Thom Parker
Community Expert
Community Expert
November 22, 2022

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

 

 

 

 

Thom Parker - Software Developer at PDFScriptingUse the Acrobat JavaScript Reference early and often
Participant
November 23, 2022

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

Bernd Alheit
Community Expert
Bernd AlheitCommunity ExpertCorrect answer
Community Expert
November 24, 2022

In the preferences of Acrobat disable the protection mode.