Skip to main content
Announcements
Qlik Connect 2024! Seize endless possibilities! LEARN MORE
cancel
Showing results for 
Search instead for 
Did you mean: 
kishorj1982
Creator II
Creator II

QVD lock issue reasons

Hi All,

 

May I know why QVD lock issue occurs.

If 2 applications simultaneously use same QVD then sometimes this issue is not occurs.

However, if one application is writing the QVD and at the same time other application reading the QVD then this issue is always there.

 

Please correct me if I am wrong.

 

Thanks

3 Replies
shiveshsingh
Master
Master

Hey

You need to stop the qv.exe and then execute the qvd load, or wait for server/publisher tasks to get completed.

tresesco
MVP
MVP

You are right. And in the second case, the lock is required to avoid inconsistency in data read.
marcus_sommer

It's the normal behaviour that an already accessed file is locked from the OS. As far as possible should a simultaneously access always be avoided - then means you need some efforts to schedule your tasks in this way.

If this isn't possible you could use an error-handling with ERRORMODE and check if there is an error and to repeat your load/store maybe 5 times within a loop with n seconds waiting-time between the trials and/or to do anything else.

- Marcus