IBM Support

Missing image in PDF reports but HTML reports show the same image

Troubleshooting


Problem

When running a report in HTML format, report shows the custom images being used in the report. However, PDF version of the same report does not show the same images.

Symptom

Due to Single Sign On (SSO) being used and applied to the images directory where the used images were stored, the permissions didn't exist for all users running the report to access the images.

Therefore, during the rendering phase in report generation, file system level authentication fails and hence disallowing the access to the images in the directory.

Resolving The Problem

There are several possible ways to resolve this issue:

Allow anonymous access to the directory where the images are located
Allow anonymous access to the virtual folder referenced by the web server

Steps for IIS 7.5 and above:


1. Open IIS Manager and navigate to the Browse to the image folder location or virtual folder you want to manage.

2. In Features View, double-click Authentication.

3. On the Authentication page, select Anonymous Authentication.

4. In the Actions pane, click Enable to use Anonymous authentication with the default settings.

See your webserver documentation for all other vendors.

Modify the access control list at file system level (or file security/permissions in Windows) to provide the list of users who will be running the reports as well as user accounts that will be used to start the report server component of Cognos

Ensure these users (or group(s) they belong to) are listed as having at least read access to these images.

[{"Product":{"code":"SSTSF6","label":"IBM Cognos Analytics"},"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Component":"Administration and Configuration v11x","Platform":[{"code":"PF002","label":"AIX"},{"code":"PF016","label":"Linux"},{"code":"PF027","label":"Solaris"},{"code":"PF033","label":"Windows"}],"Version":"11.0","Edition":"All Editions","Line of Business":{"code":"LOB10","label":"Data and AI"}}]

Document Information

Modified date:
15 June 2018

UID

swg22000733