Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
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
Are they any complex calculations or transformations?
What is the size of the data?
Check for memory usage as well.
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.
Hi,
Are you loading from QVD file(s)
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?
Because the col names are unique and appeared in the viewer properly before this error.
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
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
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
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..