Skip to main content


 

Symptoms


Issue:

When creating a pdf print of a page we get different results when running it multiple times:
- Sometimes it works fine
- Sometimes it shows most of the form, but the rightmost 20% or so is cut of (blank)
- Sometimes the form is 'squished' and is only a few 100 pixels wide
 

Diagnoses


Diagnosis:

Provided information on PDF rendering issue please go through the following:

http://help.k2.com/kb001444
http://help.k2.com/kb001626.aspx
http://help.k2.com/kb001454

Also for the timeout error please do the following :

Increase the timeout value
1. Make a backup of the K2HostServer.exe.config
2. Edit the config
3. Add the following under andltappSettingsandgt:

andltadd key="Sourcecode.SmartObjects.Services.PDFConverter.NavigationTimeout" value="120" /andgt

this will give it a timeout of 2 minutes
4. Save and restart the K2 service.
 

Resolution

Resolution:

Modifying the parameters from the PDF converter service instance :

Use SerializeResource set to true
Use Webkit set to false
Authentication mode set to Service account resolved the issue.

Also increased the delay to 100 sec when executing the smartobject.

There was still an issue on only one of the views which got cut off , the client's workaround was:

1- To add a dummy view 'End Of report' at the end
 




 
Be the first to reply!

Reply