After upgrading to version 7.2 or higher, when trying to open .DWTiffs documents in the viewer we get the error “Page cannot be rendered”.
Under C:\ProgramData\DocuWare\Logs in the Docuware.Platform.Log file, you’ll see the following error:

"Failed to render page 1 from file ‘xxxxxx’.DWTiff. Decoder: LeadTools, ex:PDF capability is required"

This error explains the problem. LeadTools is decoder for raster formats, but it tells that the file is PDF.
So, this file is a PDF with a wrong extension. You can resolve this by doing the following:

1. Navigate to C:\Program Files (x86)\DocuWare\Common\Imaging 

*Make a copy of the Docuware.Imaging.Worker.exe.config file on the desktop*

2. After making the backup copy, open the file and use CTRL + F to find the word Raster.

3. Enter the following line directly before the line for "filetype=Raster":

<add fileType="WrongExt" extensions="dwtiff" decoders="DwPdf, LeadTools"/>

This will tell the imaging worker to open DWTiff extension with PDF engine and with LeadTools as fallback. The result should look like the image below.

4. Save the file and perform an IISRESET from the CMD console for the changes to go into place. DWTiff files should now open in the viewer with no errors. 
How to reset IIS correctly: KBA-34532

KBA applicable for On-premise Organizations ONLY.

Comments (0)