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

Announcements
Join us in Bucharest on Sept 18th for Qlik's AI Reality Tour! Register Now
cancel
Showing results for 
Search instead for 
Did you mean: 
kdaniels-obrien
Partner - Creator
Partner - Creator

cannot access the local file system in current script mode

I have some apps that were working just fine. The apps were created in Qlik Sense, not QlikView.   I am staging Qlik on another computer and came across this error: 

"$(MUST_INCLUDE= 'lib://myfile.qvs'" cannot access the local file system in current script mode. Try including with LIB path"

Instead of 'lib://myfile.qvs', it is a valid file path to the .qvs I'm trying to access.  I have read other posts on this error message but I don't want to use legacy mode if possible.  I'm not really sure of the impact of moving to legacy mode.  How can I fix this error message? I have tried using 'C:/myfile.qvs' instead of the 'lib://'.  Do I need additional data connections? Do I need to change permissions on the folder that the qvs is in?

 

Thanks in advance!!

Labels (2)
1 Solution

Accepted Solutions
ArnadoSandoval
Specialist II
Specialist II

Hi @kdaniels-obrien 

If I understood the description of your problem, it is happening after moving to a new computer, and you know the full path for the file myfile.qvs location; if this is correct then you need to create a new Folder Connection to the file's location by following these steps:

Open Application è Data Load Editor è Create New Connection è Folder è (enter the full path of the myfile.qvs folder) è Assign a name (myFolder) è Click on Create 

Now modify your must include statement as shown: 

"$(MUST_INCLUDE= [lib://myFolder/myfile.qvs]" 

Note that I replaced your single quotes with square brackets!

Hope this helps,

Arnaldo Sandoval
A journey of a thousand miles begins with a single step.

View solution in original post

1 Reply
ArnadoSandoval
Specialist II
Specialist II

Hi @kdaniels-obrien 

If I understood the description of your problem, it is happening after moving to a new computer, and you know the full path for the file myfile.qvs location; if this is correct then you need to create a new Folder Connection to the file's location by following these steps:

Open Application è Data Load Editor è Create New Connection è Folder è (enter the full path of the myfile.qvs folder) è Assign a name (myFolder) è Click on Create 

Now modify your must include statement as shown: 

"$(MUST_INCLUDE= [lib://myFolder/myfile.qvs]" 

Note that I replaced your single quotes with square brackets!

Hope this helps,

Arnaldo Sandoval
A journey of a thousand miles begins with a single step.