Missing image in PDF reports but HTML reports show the same image
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.
Due to Single Sign On 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:
- Browse to the image folder location or virtual folder in IIS, right-click and select Properties.
- Click the 'Directory Security' tab.
- Click 'Edit' under the Autehntication and acccess control section
- Ensure the checkbox for 'Enable anonymous access' is checked and no other checkboxes are selected.
- Click 'OK' and 'OK again to close the dialog boxes.
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 8/10.
Ensure these users (or group(s) they belong to) are listed as having at least read access to these images.
|Business Analytics||Cognos 8 Business Intelligence||Cognos Viewer|
|Business Analytics||Cognos 8 Business Intelligence||Install and Config|
|Business Analytics||Cognos 8 Business Intelligence||Query Studio|
|Business Analytics||Cognos 8 Business Intelligence||Report Studio|
|Business Analytics||Cognos ReportNet||ReportNet|
More support for:
Cognos 8 Business Intelligence
Software version: 8.3, 8.4, 8.4.1, 10.1
Operating system(s): Windows
Reference #: 1339267
Modified date: 14 January 2010