Qlik Community

QlikView App Development

Discussion Board for collaboration related to QlikView App Development.

Announcements
Leverage your QlikView investment to modernize BI – see how! Join Group
cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
Not applicable

Batch file reload process stalls

I am running a batch file to reload 6 documents (using "c:\program files\qlikview\qv.exe" /r "document.qvw"). 5 of the 6 documents reload fine but one stalls after the reload process is completed. It doesn't matter where in the sequence of reloads, this same document will always stall and leave the windows cmd window on screen and qv.exe still loaded as a Windows process.

I have removed PostReload macros to eliminate this. The document actually saves after the reload. It reloads fine in QlikView - only a problem when running in a batch file.

Running QV9 SR3. Any ideas on how to isloate the problem?

Thanks, Kevin

Tags (1)
4 Replies
Highlighted
Not applicable

Batch file reload process stalls

Further to this post ...

I have created a brand new document, copied the script from the problem document to the new one and exported the layout from the problem document to the new one.

This still does not resolve the issue and the document still stalls after a successful reload.

Can anyone offer any suggestions as to why this might be happening?

Thanks, Kevin

Highlighted
Not applicable

Batch file reload process stalls

Hi

I'd like to repost this problem in case someone might have some ideas that can resolve this.

Thanks, Kevin

Highlighted
Partner
Partner

Batch file reload process stalls

Can you turn on the "Generate log" checkbox under document properties, for the problematic document, and run the sequence again? Then check if you see anything in the log file generated in the same directory as qvw file.

Also you may want to run that one document in a separate batch file and see if that works or not.

Seems to be something wrong with the document - marco, triggers, etc., and not with the batch file itself.

Rakesh

Highlighted
Not applicable

Batch file reload process stalls

Thanks for the reply Rakesh

In order to resolve this problem I created a completely new document, manually copied the script, all the objects and macros, recreated all the groups and variables. Now the scheduled reload process works successfully. I'm assuming that some corruption existed within the document somewhere. I had previously tried exporting the entire layout and importing into a new docoument but this did not resolve the problem.

Frustrating and time consuming but at least the process works now.

Cheers, Kevin