Skip to main content
Announcements
Introducing Qlik Answers: A plug-and-play, Generative AI powered RAG solution. READ ALL ABOUT IT!
cancel
Showing results for 
Search instead for 
Did you mean: 
ksukhova
Partner - Contributor II
Partner - Contributor II

The document failed to load

Hello!

I have the next issue.

I open .qvw file  -> I change in script one row in FROM function:

[SalesPrice_Files_$(vSourceFileMonth)01.qvd]  ->  [$(vSourceFilePath)SalesPrice_Files_$(vSourceFileMonth)*.qvd]

than I save file and after that my file is broken.

At the same time, there is another file with this row([$(vSourceFilePath)SalesPrice_Files_$(vSourceFileMonth)*.qvd]) that works fine.

Does anybody know what may be reason? 

 image.png

14 Replies
hopkinsc
Partner - Specialist III
Partner - Specialist III

It sounds like the QVW is corrupt. are you able to open it with no data?

 

Open QlikView and open the start page (if not already open). and from the recent documents list, right click the document in question and select open without data.

If that opens, just reload it and save. 

Gysbert_Wassenaar

At the same time, there is another file with this row([$(vSourceFilePath)SalesPrice_Files_$(vSourceFileMonth)*.qvd]) that works fine. 

That's pretty amazing considering Qlikview doesn't have a row() function.

 

I suggest you turn on the Generate logfile option in the Document Properties. And that you open the Script Editor to reload your document while using the Debugger. That way you can see where the error occurs, the message that generates and the values of your variables at that time.

 


talk is cheap, supply exceeds demand
ksukhova
Partner - Contributor II
Partner - Contributor II
Author

Unfortunately, this way not working.
But my issue is not recover my file(I know how I can do it).
My issue is found reason of this error, because this error show regularly.

Thank you for you help!
ksukhova
Partner - Contributor II
Partner - Contributor II
Author

Row = Line (not function).
The error appears after saving file, not after reload.
Thanks!
hopkinsc
Partner - Specialist III
Partner - Specialist III

So the error appears when you click SAVE? does the QVW actually save?

The error you have shown says the QVW failed to load. I'm sure that's an on open error

ksukhova
Partner - Contributor II
Partner - Contributor II
Author

My steps are:

1. I change script;

2. I save file;

3. I close file;

4. I open file -> file broken

 

Thanks!

Gysbert_Wassenaar

Sound like a corrupt document. Can you try to create a new file with only the script of the other file? Does that also give the same error?


talk is cheap, supply exceeds demand
ksukhova
Partner - Contributor II
Partner - Contributor II
Author

I can recreate file and copy this script and it would be work.

But after a while some file will be broken again. And I can't find a cause.

Thanks!

Gysbert_Wassenaar

Perhaps it's your harddisk that's the problem. Have you checked that out yet?


talk is cheap, supply exceeds demand