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: 
michaelcostner
Contributor II
Contributor II

Saving qvd file to a network folder

Hi Everyone,

I'm having trouble storing a qvd file to a network folder.

My script is fairly straightforward. I'm trying to load an .xml stored on a server, then save the loaded data as a .qvd to the same server.

The gist of my script is below:

MyTable:

load *

from [\\serverName\datafolder\file.xml];

store MyTable into \\serverName\qvdfolder\MyTable.qvd (QVD);

I am able to load the data OK but receive "failed to open file in write mode for file \\serverName\qvdfolder\MayTable.qvd" when trying to store the .qvd file. I have read/write access to the folder I'm trying to save to. I've also tried using the server IP address in lieu of the server name.

Any thoughts on what is causing the error? I am fairly new to qvd storage, any thoughts or comments would be appreciated.

Thanks!

Michael

18 Replies
vishsaggi
Champion III
Champion III

Can you get to that server and see your qvd file?

michaelcostner
Contributor II
Contributor II
Author

No, I receive an error before the qvd is saved.

Otherwise I have full access to the server.

vishsaggi
Champion III
Champion III

Ok can you run the same script to you local drive like

store MyTable into C:\Foldername\MyTable.qvd (qvd);


And can you get to that folder from your windows explorer?

michaelcostner
Contributor II
Contributor II
Author

Yes, storing locally on my PC works just fine.

vishsaggi
Champion III
Champion III

Ok and can you get to that network folder from your windows explorer?

michaelcostner
Contributor II
Contributor II
Author

Yes.

krishnacbe
Partner
Partner

Try using below Store statement.

store MyTable into [\\serverName\qvdfolder\MyTable.qvd](QVD);

michaelcostner
Contributor II
Contributor II
Author

Thanks for the suggestion, but still no luck.

vishsaggi
Champion III
Champion III

Hmm thats strange. Can you rename your table name like

store MyTable into \\serverName\qvdfolder\Table.qvd (qvd);