Skip to main content
Announcements
Have questions about Qlik Connect? Join us live on April 10th, at 11 AM ET: SIGN UP NOW

Error "Could not close the SourceDocument. Exception=The currently executing operation was aborted"

No ratings
cancel
Showing results for 
Search instead for 
Did you mean: 
Sonja_Bauernfeind
Digital Support
Digital Support

Error "Could not close the SourceDocument. Exception=The currently executing operation was aborted"

Last Update:

May 25, 2021 10:06:14 AM

Updated By:

Sonja_Bauernfeind

Created date:

Oct 16, 2015 7:29:16 AM

A QlikView distribution task fails with the error message:

Could not close the SourceDocument. Exception=The currently executing operation was aborted

This issue is mainly seen with larger QlikView Application (QVW) files. The reload is successful but the task fails when closing the document after saving it to disk. 

Occasionally the error is preceded by a warning message:

Warning Could not request the QlikView Engine process to quit.



Environment:

 


Resolution:


This error is caused by the QVB.EXE process, which performs the task execution, requiring extensive time to close the reload task. The timeout can be altered in the QlikView Distribution service configuration. 

To give the process more time:

  1. Stop the QlikView Distribution Service
  2. Edit C:\Program Files\QlikView\Distribution Service\QVDistributionService.exe.config
  3. Add on a new line <add key="SecondsToWaitBeforeQVBKill" value="60"/> 
  4. Restart QlikView Distribution Service 


If the issue still occurs, consider altering the value in step 3 to higher than 60 seconds. Commonly 60 seconds is enough to resolve the issue. 

Note:

It may be necessary to reduce the number of log files stored or how long we wait for the document log before timing out. 

<add key="NbrOfDaysToKeepQDSLogs" value="30"/> and adjust the days to keep logs if necessary.

Labels (1)
Contributors
Version history
Last update:
‎2021-05-25 10:06 AM
Updated by: