Unable to convert Smartform into PDF
kbt142243
PRODUCTK2 blackpearl 4.7
BASED ONK2 blackpearl 4.7
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.
LEGACY/ARCHIVED CONTENT
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.
Issue
Using the SaveAsPDF control causes the form to freeze.Symptoms
Executing the PDF Converter SmartObject from the SmartObject Service Tester causes the tool to become unresponsive and "hang". Stopping the ExpertPDF HTML To PDF Engine process brings the tool back up, and the following error appears:Could not get conversion result header. Data receive timeout.
Troubleshooting Steps
To resolve this issue:
- Open the SmartObject Service Tester
- Navigate to ServiceObject Explorer > PDF Converter > PDF Converter
- Right-click the PDF Converter service instance and select Edit Service Instance
- Edit the following Service Keys: useWebkit = true and serializeResources = true
- Click on Next to update the service instance
- Recreate the PDF Converter SmartObject using the same GUID (Get Existing GUID)