Error occurs when generating PDF using the Save As PDF control
kbt140049
PRODUCTIssue
Using the Save As PDF control, the following error occurs when converting your SmartForm to PDF:
"Could not load file or assembly 'ephtmltopdf, Version=10.2.0.14849, culture=neutral, PublicKeyToken=e0ae9f6e27a97018' or one of its dependencies. The system cannot find the file specified."
Symptoms
Unable to convert SmartForm to PDF and an error appears.Troubleshooting Steps
To resolve the issue, kindly follow these steps:
1. From the location (C:Program Files (x86)K2 blackpearlHost ServerBin), check if the following assemblie(s) are missing:
- epengine.dll
- ephtmltopdf.dll
2. If any of the assemblies above do not exist, proceed to stop the K2 Blackpearl service.
3. Copy over the missing assemblie(s) from another environment (on the same K2 version) to the environment encountering the error.
To verify the latest Cumulative Update and Fix Pack applied on your environment , please run this query against the K2 DB:
SELECT * FROM [K2].[HostServer].[UpdateHistory]
4. Afterwards, restart the K2 Blackpearl service.