A QlikView task fails to reload or finish with the following error:
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)
Environment:
QlikView
Resolution
The timeout can be increased. Note that increasing the timeout may only address a symptom of a different issue, such as network latency, a slow harddrive, or an application that needs to be reviewed and streamlined.
This setting is only available in QlikView 12.10 and later.
- Stop the QlikView Distribution Service service using Windows Services manager
- Browse to C:\Program Files\QlikView\Distribution Service
- Locate the file QVDistributionService.exe.config
- Open the file in a text editor and locate the following section:
<!-- Adjust the time the reload engine waits for the QVS to finish writing to disc during distribution -->
<add key="SocketTimeOutInSeconds" value="120" />
Note: If the section does not exist, add it under:
<!-- ************ QlikView Engine and Distribution Settings ************ -->
-
Start the Distribution Service.