Skip to main content
Announcements
Join us at Qlik Connect for 3 magical days of learning, networking,and inspiration! REGISTER TODAY and save!
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;

1 Solution

Accepted Solutions
matthewp
Creator III
Creator III
Author

12 Replies
stabben23
Partner - Master
Partner - Master

Hi Matt, could it be the missing Space that gives you the error?

And does Your user have all permissions to the folder path?

newqvd:

Load

  *;

SQL

SELECT * FROM table;

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

Drop table newqvd;

matthewp
Creator III
Creator III
Author

No that was a typo when doing the question.

Yes i can reload other files in into the same folder no problem

stabben23
Partner - Master
Partner - Master

Ok,

try to add (qvd) last, like this

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

Maybe no effect, but try.

matthewp
Creator III
Creator III
Author

still the same error

stabben23
Partner - Master
Partner - Master

Ok, are you running the script from desktop or server?

matthewp
Creator III
Creator III
Author

tried both

stabben23
Partner - Master
Partner - Master

Is the same Application open in another window? also check that there is no "ghost" process open in task manager that lock the reload.

stabben23
Partner - Master
Partner - Master

Wats is you full path here $(vQVDDirectory)?

matthewp
Creator III
Creator III
Author

typo in variable