Symptoms
During the deployment of a package, the following error is thrown for a Form item:
Error: "Timeout expired. The timeout period elapsed prior to completion of the operation or the server is not responding."
Diagnoses
This error may occur for larger Form items, as it requires a longer time for it to finish deploying. Increasing the timeout values would normally resolve this issue.
Resolution
1. Go to: IIS > Sites > K2 > Designer > Configuration Editor > Section > system.web > httpRuntime
Change the ExecutionTimeout value to 10:20. (Default 5:20)
Repeat the above for the Runtime site as well. (IIS > Sites > K2 > Runtime > Configuration Editor >Section > system.web > httpRuntime)
2. Go to: .. INSTALL DIR]K2 blackpearlHost ServerBin
Open SourceCode.Forms.Runtime.config
Change the Forms.TransactionTimeout and Forms.CommandTimeOut values to 900 (default 180).
3. After the above changes, do an IISRESET and restart the K2 blackpearl server service, then try deploying again.