Skip to main content
Woohoo! Qlik Community has won “Best in Class Community” in the 2024 Khoros Kudos awards!
Announcements
Nov. 20th, Qlik Insider - Lakehouses: Driving the Future of Data & AI - PICK A SESSION
cancel
Showing results for 
Search instead for 
Did you mean: 
hewemel1
Partner - Contributor II
Partner - Contributor II

error 300: ... ScanFile: ... error during open of <filename>

In the event log of the QV server, we get many error 300 of the following form:

300    Error    QVGeneral: Server - ScanFile: An error (Die Syntax für den Dateinamen, Verzeichnisnamen oder die Datenträgerbezeichnung ist falsch.) occured during open of <filename>

Instead of <filename> one of 12 files in subfolders of the ducuments folder of the server are given.

The paths to those files are longer than 256 characters. I assume, that is the problem (the german error text means: 'syntax of the file name, folder name or disk name is wrong').

We do not want to restructure the folder hierarchy. But since the files with the problems are archived copies of previously used cockpits, it is not necessary that the server scans them.

Is it possible to tell the server to scan only up to a certain folder hierarchy level?

Or is it possible to tell the server to omit certain folders from scanning? Or to limit the scan to certain folders?

Thanks in advance for any help.

(QV server version: 12.0.20400.0)

1 Solution

Accepted Solutions
Peter_Cammaert
Partner - Champion III
Partner - Champion III

No, you cannot tell the QVS service to scan only up to a certain folder hierarchy level.

One rule: QVS will scan the base folder and all subfolders of

  • the Document root
  • any Mounted Folders you configure in QMC

This means that if you put archived copies of QVW documents in a subfolder of your Document Root, by default they will still appear somehow in your AccessPoint.

Only one exception: Mounted Folders (including their subfolders) can be made non-browsable, which is especially useful if you don't have a Publisher license (i.e. no separate "Source Folders") and your QVW documents rely on QVD Generators (other QVW documents that shoudn't be visible to end-users) for their reloads.

You *could* mess a bit with NTFS rights to make archived copies or entire folders "invisible" to all (if you're not using an EE-server in DMS mode), but I think you should first ask yourself whether Backups (or anything else that is not in use) really belong in a production/live environment?

View solution in original post

4 Replies
Peter_Cammaert
Partner - Champion III
Partner - Champion III

No, you cannot tell the QVS service to scan only up to a certain folder hierarchy level.

One rule: QVS will scan the base folder and all subfolders of

  • the Document root
  • any Mounted Folders you configure in QMC

This means that if you put archived copies of QVW documents in a subfolder of your Document Root, by default they will still appear somehow in your AccessPoint.

Only one exception: Mounted Folders (including their subfolders) can be made non-browsable, which is especially useful if you don't have a Publisher license (i.e. no separate "Source Folders") and your QVW documents rely on QVD Generators (other QVW documents that shoudn't be visible to end-users) for their reloads.

You *could* mess a bit with NTFS rights to make archived copies or entire folders "invisible" to all (if you're not using an EE-server in DMS mode), but I think you should first ask yourself whether Backups (or anything else that is not in use) really belong in a production/live environment?

hewemel1
Partner - Contributor II
Partner - Contributor II
Author

Peter, thanks for your answer.

It is helpful to know the options.

(The document folders are structured similarly to the company. Each department has its folder. In the folders are their live cockpits. These cockpits have the respective data restrictions and file and folder permissions. And in sub folders, the users have the data that they use together with their cockpits - and there, additionally, they store cockpits in a state that could be important to have in the future, e.g. for comparison. They open these cockpit backups using the desktop client. These backups generate the problems, because the paths are long.

We could easily separate the live cockpits from the other data. But then, we would have to set up a parallel folder hierarchy with exactly duplicated folder permissions. It might be, that we choose this solution.

Of cause I would prefer to teach CVS to deal with long file paths, but since I have no hope in that direction, I have not posed this question.)

Peter_Cammaert
Partner - Champion III
Partner - Champion III

I see.

Maybe the easiest solution would be to devise a new naming convention for (sub)folders. I can imagine that shortening the QVW file names is not an option. But it seems that many of these folders only impact the QV Desktop users (to find what they are looking for) and the QV admin (in the Management Console).

In the AccessPoint, subfolders are not visible. So whether you use Geschäft-GmbH or C011 (=a recognisable company code) doesn't matter to the end-user in the AP. And for a Desktop user, a well-chosen ID may be as useful as the full name, I guess.

Peter_Cammaert
Partner - Champion III
Partner - Champion III

Just that you know: Windows10 and Windows Server 2016 eliminate the 260-character path length limit. But it seems to work only in specific cases. And not all application software supports long path names (yet).