Skip to main content


 

Symptoms

 


The first time the workflow run for the day and generate the PDF for SmartForms it is not created correctly. Everything is squished to the left.
 

 

Diagnoses

 


SmartForms is in essence an ASP Web Application and as such is affected by IIS Site settings that may recycle application pool/recycle unused worker process due to idling values/overnight recycling settings.

 

 

 

This will usually result in the first access of the site (either over-night/after long in-activity) to be slow and can usually be alleviate with warmup script/iis modules/settings to get the site ready prior to the first access of end-users each days: https://dotnettimes.wordpress.com/2014/03/24/fixing-slow-initial-load-for-iis-web-site/ http://www.wolfsys.net/howto-increase-iis-startup-speed-first-startup/

 

 

 

Some possible changes to warm-up the site prior to first access: http://stackoverflow.com/questions/13386471/fixing-slow-initial-load-for-iis

 

 

 

Perhaps using IIS Application Initialization module: https://www.iis.net/learn/get-started/whats-new-in-iis-8/iis-80-application-initialization
 

 

Resolution

The application pool Idle Time-out was disabled.

 

 

 

Other options includes: - Warmup script - Windows service that calls Smartforms pages on certain interval - AutoStart Feature in .NET4.0 - IIS Application Initialization plugin A 'Conversion Delay' can also be applied on

 

 

 

PDF conversion, to allow time for the site/page to load before converting it to PDF as per: http://help.k2.com/onlinehelp/k2smartforms/userguide/4.6.11/default.htm#pdf_converter_service_broker.html

 

 

 

 



 
Be the first to reply!

Reply