Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
As it usually does when there is an error in my script, missing or incorrect field names, QlikView crashes. I am aware of the problem so I always try to remember to save before I press reload. However, this time, my document (QVW file) reset completely and appeared like it was when I worked on it 2 days ago. I know I have saved the document at least 10 times today as well as having auto save function enabled with 10 min interval.
I was just wondering if this has happened to any one else. Is this a QlikView issue or is it my computer?
I have of course searched through all folders on the computer, but with out any luck. Only 1 file exists and it is old.
Are there any backup documents I could search for or anything? So far I have looked for all new files created today, but can not really see any QlikView related files on my computers that would appear to be the current file or a backup file.
Carl
I have never heard about this kind of error, but since version 9 it is possible to save a qvw without data as xml file which can be stored in a versioning system like SVN. I think it is a good practice because it makes the history of the application available in addition to prevent the kind of loss you are suffering.
In v9sr4 I quite often see Qlikview client go 'not responding' when there is a script error and I have to use Task Manager to kill it.
As well as saving before a reload, under User Preferences>Save I set 'Use backup' and 'save last 6 instances' so that I can get back to the last clean reload.
Do you not back your server up as I think you may have lost your last 2 days of work?
Regards,
Gordon
Thanks for both replies, both are great advices.
We do have backup of course, but I had done a lot of work on the file today as well which I lost. Nothing that can not be redone, so it will just be time consuming getting back to where I was.
I will definitely use both advices in the future. Probably change version number a bit more frequently as well!
Carl
Under QV10, you can also explode a QVW out to all its component XML files. You get an XML file called AllProperties.xml which contains the overall document / sheet settings plus one XML file for each object in your QVW.
1) Create a folder below the folder with your QVW with a name the same as your QVW plus a suffix of "-prj".
2) Open the QVW and save it.
3) The XML files will now be in the folder you created in step #1.
This way you can theoretically put the XML files into Source Code control for version control and / or recovery.