Skip to main content
Planview Customer Success Center

Cognos report not displaying images when rendered as a PDF

SYMPTOMS:
When rendering a Cognos report with images, the images do not display when saving the report as a pdf file.

REASON:
The permissions for the image folder must be set.
If website is using SSL, import all the certificates making up the chain of trust for the web server's certificate into IBM Cognos 8's trust store. This chain is made up of all possible intermediate CA certificates and the root CA certificate.
 



RESOLUTION:
The permissions for the image folder must be set.
Performed the following steps :

1. Copy the URL for the image and load in in a browser to check if you see the image.
2. Now click on the lock key in the browser to view the certificates.
3. From the Details tab use the “Copy to file” to copy the root.cer and inter.cer to the desktop.
4. Place the images on the application tier in the Cognos installation directory in the same path they exist on the gateway server. This way the Application Tier can access the image on disk, removing the need to connect to HTTPS.
5. Stop the Cognos Configuration Service
6. Then from the command prompt run the below to import the certificates saved on the desktop to the IBM Cognos CA keystore. (Start with the root CA certificate and work your way down to the last possible intermediate CA certificate.)

ThirdPartyCertificateTool.bat -T -i -r root.cer -k ../configuration/signkeypair/jCAKeystore -p NoPassWordSet

ThirdPartyCertificateTool.bat -T -i -r inter.cer -k ../configuration/signkeypair/jCAKeystore -p NoPassWordSet

7. Now Start the Cognos Configuration Service.

ADDITIONAL NOTES:
Try using the following (include the ..) for the URL when adding an image to the report.
Cognos is particular with directory structure.
For example in the field where you type the url, put the following (include the .. at the beginning)
../Images/image.jpg