Fixing Object Linking and Embedding (OLE) issues in output

This topic explains how to troubleshoot Object Linking and Embedding (OLE) generation where OLEs are not visible in the Microsoft Word document.

Procedure

  1. Verify the Microsoft Office macro settings:
    1. If unsigned macros are running, set the security status to low.
    2. If signed macros are running, set the security status to trusted publishers.
    3. Select Trust access to VB project.
  2. Verify the environment.
    1. Double-click rpe.dot and ensure a new document is created.
    2. Enter some text and run the rpe macro. If a prompt to save the document is displayed, the Microsoft Word settings are set appropriately to allow macro execution.
    3. In the command-line prompt, run cscript. If a help page displays, the scripting support necessary to run the macro is present. If you get an error, install Microsoft Windows script support.

      The command to execute the macro is fetched from the Apache log file or console window. For example, the command to run a remote generation might be:

      cscript "C:\Program Files\IBM\Rational\Publishing Engine\utils\word\runmacro.vbs" "C:\Program Files\Apache Software Foundation\Tomcat 6.0\temp\RPE\temp\service\1289567617406--624625728\result\Word1289567617406_-1881965796.doc" rpe

What to do next

If the OLE does not display after completing this task and you are running Apache Tomcat as an NT service:

Feedback