Skip to main content

How to recover Layout and Script from a corrupt QlikView Document

No ratings
cancel
Showing results for 
Search instead for 
Did you mean: 
Sonja_Bauernfeind
Digital Support
Digital Support

How to recover Layout and Script from a corrupt QlikView Document

Last Update:

Nov 30, 2023 3:45:49 AM

Updated By:

Sonja_Bauernfeind

Created date:

Apr 23, 2012 5:34:32 AM

A QlikView application (QVW) file may be corrupted due to: 

  • File write operation to network disk has been interrupted by network failure
  • Power failure, leading to incomplete file write operation
  • QlikView process ended during file write operation
  • Hardware error, where disk storage has broken or has corrupt sector

Most common symptoms that the file can not be opened, with a "Failed to load" message, or that the QlikView application suddenly behaves in an unexpected way.

Resolution

The issue may be possible to recover by either opening the QlikView application without data or by trying to rescue the file by rebuilding its structure. 

Open Reload application without data in desktop client

  1. Open the QlikView Desktop client.
  2. Go to Help > Show Start Page
  3. On the start page go to Recent Documents
  4. Locate the QlikView document that should be opened without data
    1. If the QlikView document can be found in the Recent Document list, right click on the document and select "Open <document> Without Data"

      Open file without data.png

    2. If the QlikView document can not be found in the Recent Document list, go to next section "Open Reload application without data from command prompt"
  5. The document is opened without data
  6. If the document is opened without data Save the document with a new name, and continue work from this new copy of the file
Open Reload application without data from command prompt
 
  1. Open a Windows Command Prompt
  2. Launch QlikView Desktop client with the /nodata switch;
    C:\Program Files\QlikView\qv.exe /nodata C:\QlikVew\SourceDocs\qvd_generator.qvw
  3. Save the document with a new name, and continue work from this new copy of the file

Recover application script 
 
  1. Open the QlikView Desktop client.
  2. Chose Help->About QlikView from the menu bar.
  3. Position the mouse pointer on top of the QlikView logo on the left down corner.
  4. Right -Click on the logo to open the Settings box .
  5. Scroll down the list and choose ScriptRescue 
  6. Type 1 on the value textbox.
  7. Click the set button.
  8. Select another variable on the list and then the ScriptRescue again and check that the value is still set to 1.

    script rescue 01.png

  9. Close the QlikView desktop client.
  10. Open the QlikView document with the QlikView Desktop client. If the process succeeds a file will be generated containing only the script.
  11. Save the document with a new name
 

Note:

  • It is advised to backup your QlikView documents.
  • It is good practice to work with multiple copies of the document to be able to revert back to an earlier one if needed.
  • Before any recovery process, backup the document
Labels (2)
Contributors
Version history
Last update:
‎2023-11-30 03:45 AM
Updated by: