cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Runner Content Type application/pdf No Longer Works after MII Upgrade from 15.0 to 15.1sp3

0 Kudos
996

After upgrading to MII 15.1 sp03 Patch 0 (FP2) from MII 15.0, opening a PDF in a new browser tab returned from the Runner service using JS is no longer working. Internet Explorer shows a download for the file and Chrome throws an error message "Failed to load PDF document". Does the browser not understand the file MIME type returned from the latest version of the Runner service? Is there a solution for this?

The following code works from our server running MII 15.0 but not in our server running MII 15.1sp03.

var url = "/XMII/Runner?Transaction=zSpringer/trxTestPDF&IsBinary=true&OutputParameter=OutputBinary&Content-Type=application/pdf";

window.open(url, "_blank");

Chrome:

Internet Explorer:

View Entire Topic
0 Kudos

We applied patch 16 yesterday and applied note 2423159. We had to run http://<server>:<port>/XMII/Illuminator?Service=Admin&Mode=AddContentType&ResourceContentType=applic... to add the PDF content type to the white list. This is now working for us.

As for your case, we use SSO and auto login connected using LDAP, so we do not get the login screen. For instances where we want to login using a specific account, we pass in the IllumloginName and IllumLoginPassword parameters to the Runner and Illuminator URLs. We have not encountered the same issue you are.