Qlik Community

QlikView App Dev

Discussion Board for collaboration related to QlikView App Development.

Announcements
QlikWorld 2022, LIVE in Denver CO., May 16-19, 2022. REGISTER NOW TO RECEIVE EARLY BIRD PRICING
cancel
Showing results for 
Search instead for 
Did you mean: 
amien
Specialist
Specialist

what could cause this error? "Error: Cannot open file"

In QMC i'v a QVW reload which will store a QVD file. Right after that, QMC kicks off 4 QVW files which are using the just stored QVD file. So all 4 are triggered by a successful reload of the head/first QVW file.

This goes ok about 99% of the reloads. But sometimes i get this error : Error: Cannot open file on the QVD file.

Could it be that QMC thinks that the writing of the QVD is done, but it actually is not? Or anyone seens this before an got a possible cause of this?

Thanks in advanced

3 Replies
jerrysvensson
Partner
Partner

Could be, add a Pause task between QVD load and the rest.

amien
Specialist
Specialist
Author

but this would mean that the handshake between windows being done writing the QVD file and QMC is not 100% solid?

kaveri_bhar123
Contributor II
Contributor II

Hi Amien,

While you create QVD, you could

loadStatus:

Load 1 as loadstatus

autogenerate 1;

store loadStatus into loadstatus.txt;

Once you start to reload, you could check the fieldvalue of loadstatus and continue to set EDX to run all following .qvw files.

Best regards,

Kaveri