Troubleshooting
Problem
Every report ran to PDF format shows as blank. This happens in Edge, Chrome and Firefox browsers
Symptom
PDF reports render blank
Cause
Missing a new required MIME type:
.mjs : application/javascript
Environment
11.2.4 FP5/12.0.4 and beyond (where IIS script has been updated to include this new MIME type)
IIS set up using CA_IIS_Config.bat script
Diagnosing The Problem
Capture a browser network trace while replicating the issue.
https://www.ibm.com/support/pages/how-run-browser-network-trace-and-save-har-file
The trace file will show a http 404 not found error on the following requests.
GET /ibmcognos/bi/pdf.js/build/pdf.mjs?
GET /ibmcognos/bi/pdf.js/web/viewer.mjs?
Resolving The Problem
In IIS select the virtual directory (ibmcognos if using the default) and double-click Mime Types.
Add the following mime types to your IIS configuration if they are not already present.
- .svg : image/svg+xml
- .woff : application/x-font-woff
- .json : application/json
- .woff2 : font/woff2
- .template : text/html
- .txt : text/plain
- .properties : text/plain
- .wasm : application/wasm
- .mjs : application/javascript
Restart IIS
Document Location
Worldwide
[{"Business Unit":{"code":"BU048","label":"IBM Software"},"Product":{"code":"SSTSF6","label":"IBM Cognos Analytics"},"Component":["Gateway\/Web Server"],"ARM Category":[{"code":"a8m50000000Cl6dAAC","label":"Gateway\/Web Server"}],"ARM Case Number":"TS017879023","Line of Business":{"code":"LOB76","label":"Data Platform"}},{"Product":{"code":"SS6G84","label":"IBM Cognos Analytics on Cloud"},"Business Unit":{"code":"BU048","label":"IBM Software"},"Component":" ","Platform":[{"code":"","label":""}],"Version":"","Edition":"","Line of Business":{"code":"LOB76","label":"Data Platform"}},{"Product":{"code":"SSLKT6","label":"IBM Maximo Asset Management"},"Business Unit":{"code":"BU048","label":"IBM Software"},"Component":" ","Platform":[{"code":"","label":""}],"Version":"","Edition":"","Line of Business":{"code":"LOB77","label":"Automation Platform"}}]
Was this topic helpful?
Document Information
Modified date:
15 January 2026
UID
ibm17176858