IBM Support

pdf files carry wrong mimetype application/octet-stream

Troubleshooting


Problem

pdf files carry wrong mimetype application/octet-stream

Resolving The Problem

Archiving PDF files using IDM Webservices (Toolkit) results in a "wrong" mimetype in the F_DOCFORMAT field: application/octet-stream instead of the expected application/pdf

This is a default behaviour since Adobe Reader is not installed on the Web server
Since customer was not happy installing Adobe Reader on the Webserver the solution
was to add the registry key
HKEY_CLASSES_ROOT\.pdf
leave (Default) value blank
and add string "Content Type" with value "application/pdf"
after restarting IIS the F_DOCFORMAT value was populated with the mimetype application/pdf

[{"Product":{"code":"SS5USE","label":"FileNet IDM Desktop\/WEB Services\/Open Client"},"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Component":"IDM Desktop","Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"3.3#17 FR","Edition":"","Line of Business":{"code":"LOB45","label":"Automation"}}]

Historical Number

20004606

Product Synonym

IDM/WEB SERVICES TOOLKIT

Document Information

Modified date:
17 June 2018

UID

swg21278114