Qlik Community

Ask a Question

QlikView App Dev

Discussion Board for collaboration related to QlikView App Development.

Announcements
Support Cases coming to Qlik Community Oct. 4! Start chats, open cases, explore resources. READ 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;

1 Solution

Accepted Solutions
matthewp
Creator III
Creator III
Author

12 Replies
stabben23
Master
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
Master
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
Master
Master

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

matthewp
Creator III
Creator III
Author

tried both

stabben23
Master
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
Master
Master

Wats is you full path here $(vQVDDirectory)?

matthewp
Creator III
Creator III
Author