When QlikView task is running at scheduled time then it gets failed and showing following errors in the log file:
The communication with QlikView Server failed (TimedOut)!
Example of error from the Task log of the failed task: Error QVClient.Execute failed: System.Exception: The communication with QlikView Server failed (TimedOut)! || at QlikTech.NetClient.QvClient.GetMessageDataFromSocket(Byte buffer) || at QlikTech.NetClient.QvClient.GetMessageSizeFromSocket() || at QlikTech.NetClient.QvClient.SendAndReceive(Byte request) || at QlikTech.NetClient.QvClient.Execute(Byte request) || at QlikTech.NetClient.QvClient.Execute(String request) || at QVSWrapper.QlikViewServer.ExecuteXml(Action`2 i_Logger, String i_Command)
With the introduction of QlikView 11.20 SR15, Qlik has added a possibility to adjust the time for how long the QlikView reload engine will wait for the QlikView Server service to store the distributed document to disc during the distribution stage. This setting exists in QlikView 11.20 SR15 and up, and in QlikView 12.10, but NOT
in QlikView 12.00 or any SR version of QlikView 12.00
This is done by adding a section to the QVDistributionService.exe.config file that by default resides in C:\Program Files\QlikView\Distribution Service
1: Stop the QlikView Distribution Service service using Windows Services manager
2: Open the file in a text editor and add this section below <!-- ************ QlikView Engine and Distribution Settings ************ --> <!-- Adjust the time the reload engine waits for the QVS to finish writing to disc during distribution -->
<add key="SocketTimeOutInSeconds" value="120" />
3: Start the QlikView Distribution Service service again
The Value can be adjusted as needed, in the example we have doubled it from the default which is 60 seconds.