This article was created in response to a support issue logged with K2. The content may include typographical errors and may be revised at any time without notice. This article is not considered official documentation for K2 software and is provided "as is" with no warranties.
This article has been archived, and/or refers to legacy products, components or features. The content in this article is offered "as is" and will no longer be updated. Archived content is provided for reference purposes only. This content does not infer that the product, component or feature is supported, or that the product, component or feature will continue to function as described herein.
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."
Unable to convert SmartForm to PDF and an error appears.
To resolve the issue, kindly follow these steps:
1. From the location (C:\Program Files (x86)\K2 blackpearl\Host Server\Bin), check if the following assemblie(s) are missing:
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.