Skip to main content
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 - Specialist II
Partner - Specialist II

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?

Anonymous
Not applicable

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