Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Qlik GA: Multivariate Time Series in Qlik Predict: Get Details
cancel
Showing results for 
Search instead for 
Did you mean: 
matthewp
Creator III
Creator III

"Failed to open file in write mode for file" on Reload

When trying to reload i am getting the error "Failed to open file in write mode for file"

There are no other reloads happening at the same time.

the name for the qvd to be stored is a new file (therefore it cannot be a locked file)

any ideas?

Script is basically:

newqvd:

Load

  *;

SQL

SELECT * FROM table;

Store newqvd into $(vQVDDirectory)\newqvd.qvd;

Drop table newqvd;

12 Replies
themandrake
Partner - Contributor II
Partner - Contributor II

its the typo , using brackets [ ] always helps for spaces etc. just dont forget to use the other part of the bracket on the file name.

example 

set Qvd_path = '[..\QVD\';  (in the main folder)

then on the store line: STORE qvdtester INTO  $(Qvd_path2)tester_201701.qvd] (qvd);

you miss that end bracket it might give you the "Failed to open file in write mode for file"

The Mandrake
olegsluksha
Partner - Contributor
Partner - Contributor

use [ ]

Store newqvd into [$(vQVDDirectory)\newqvd.qvd];

osvaldoRam
Contributor
Contributor

Verify that the path where you saved the qvd file is correct.