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.
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.