Issue
After a reboot of the K2 server, all K2 services are started successfully except for the K2 PDF Converter Service.
Error Code
In the Windows Event Viewer > Windows Logs > System, a timeout error can be seen:
A timeout was reached (30000 milliseconds) while waiting for the K2 PDF Converter Service service to connect.
Resolution
Important Note: Editing the registry incorrectly can cause system instability or crashes. You should back up the registry before making any changes, and you should be familiar with editing the registry before adding or modifying these keys.
We can increase the service start up timeout from the server's registry. Please follow these steps:
1. Download the attached ServiceTimeoutFix.zip file. Cover to your K2 server and extract it. In there you will see a file called ServiceTimeoutFix.reg.
3. On the K2 server, open the Registry Editor (Go to Start menu, type Run then type regedit in the Open box).
4. Locate the following registry subkey:
rHKEY_LOCAL_MACHINESYSTEMCurrentControlSetControl]
5. Select "Control", and then click on File > Import…
6. Select ServiceTimeoutFix.reg and click on Open. A prompt saying that the keys and values have been successfully added to the registry should appear.
7. You will then see "ServicePipeTimeout" with a timeout of 120000 milliseconds added to the registry.
8. Restart the K2 server for the changes to take effect.
Additional Information