This topic explains how to troubleshoot Object Linking
and Embedding (OLE) generation where OLEs are not visible in the Word
document.
Procedure
- Verify Microsoft Office macro settings
- Set the security status to low if unsigned macros are running.
- Set the security status to trusted publishers if signed macros are running.
- 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
appropriately set 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/console window. It will look like the following: 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