Object Linking and Embedding (OLE) generation

This topic explains how to troubleshoot Object Linking and Embedding (OLE) generation where OLEs are not visible in the 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.
    4. The command to execute the macro is fetched from the Apache log file or console window. For example, the command might be: Running command cscript "C:\Program Files\IBM\Rational\Publishing Engine\1.1.1.2\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

Additional questions: Do you run Apache Tomcat as an NT service? If "yes", try running Apache Tomcat as a normal application by starting it using the .bat files. If running Apache Tomcat as an NT service works, then switch back to the service mode and change the account under which Apache Tomcat is running to your account.

Feedback