This topic explains how to troubleshoot Object Linking
and Embedding (OLE) generation where OLEs are not visible in the Microsoft Word document.
Procedure
- Verify the Microsoft Office
macro settings:
- If unsigned macros are running, set the security status
to low.
- If signed macros are running, set the security status
to trusted publishers.
- Select Trust access to VB project.
- Verify the environment.
- Double-click rpe.dot and ensure
a new document is created.
- 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.
- 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:
- Start Apache Tomcat as an application instead of a service by
using the .bat or .sh files
to start the application server.
- Test the OLE.
- If running Apache Tomcat as an application is successful, restart
Apache Tomcat in service mode and check the privileges for your the
account that Apache Tomcat is running on.