Skip to main content
Announcements
Qlik Connect 2024! Seize endless possibilities! LEARN MORE
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Document reload fails

Hi,

My application loads all data with no error ( i.e. ScriptError is 0); however, after completion QV displays "Execution of Script Failed"?

I have turned on the logging but have not been useful as there is no error.

I shutdown the QV instance and reopened the application, problem still remains.

Any idea, help !!!

Much appreciated.

Sibtain

18 Replies
Anonymous
Not applicable
Author

Are they any complex calculations or transformations?

What is the size of the data?

Check for memory usage as well.

qlikviewwizard
Master II
Master II

Follow the three steps :

1. Close all the folders, files and reload. It will works.

2. Else debug with zero records.

3.run step by step by using exist script ; command.

Still facing the issue, upload your qvw with sample data .

Hope this will help you.

Gabriel
Partner - Specialist III
Partner - Specialist III

Hi,

Are you loading from QVD file(s)

jonathandienst
Partner - Champion III
Partner - Champion III

Do you have an Exit Script statement with code after the statement. This code gets parsed, even though it is not executed and a parse error (eg Next without For etc) will still be thrown.

How do you know that there are no syn keys if the script does not terminate successfully?

Logic will get you from a to b. Imagination will take you everywhere. - A Einstein
Not applicable
Author

Because the col names are unique and appeared in the viewer properly before this error.

Peter_Cammaert
Partner - Champion III
Partner - Champion III

That's weird Jonathan, because the QlikView engine is an interpreter and not a look-ahead parser in any way.

Also I cannot duplicate this behavior, even when I put broken FOR statements and even plain garbage after an EXIT SCRIPT;

Do you have any examples? (you did make me curious )

Peter

Not applicable
Author

Now, the document loads successfully. I did following:

Loaded my document in steps; placing 'Exit Script' after each table load and did it for all the tables and reloaded and during this process i came across no error.

Finally, error has disappeared.

Anyway, thank you gentlemen for your quick replies and suggestions.

I hope that this does not appear again !

Regards,

Sibtain

Not applicable
Author

I am curious too. I use exit script as a habit and have never come across with such a problem. As a matter of fact this problem is solved (I hope it is ) with the help of Exit Script; while developing there is a lot of dead code after it and it never bothered me.

Sibtain

qlikviewwizard
Master II
Master II

wwhat is the reason for the issu?

CLosing all the applications,folders,files or what?

I think Exist script won't be the cause of issue.

PLease share..