Skip to main content
Announcements
Have questions about Qlik Connect? Join us live on April 10th, at 11 AM ET: SIGN UP NOW

QlikView Server starts with error Error DOC loading: LoadDocument caught exception -2

No ratings
cancel
Showing results for 
Search instead for 
Did you mean: 
Bastien_Laugiero

QlikView Server starts with error Error DOC loading: LoadDocument caught exception -2

Last Update:

Nov 3, 2020 3:49:11 AM

Updated By:

Sonja_Bauernfeind

Created date:

Sep 14, 2018 9:11:36 AM

If you experience QlikView Server service crashes you should look into the QlikView Server Event logs.
If you see the below entries then it might be that you have a corrupted application crashing the service every time it would try to load it into memory

20180911T073355.000+0200    20180911T073415.000+0200    1    300    Error    Restart: Server aborted trying to recover by restart. Reason for restart: Internal inconsistency, type CPV, detected.
20180911T073355.000+0200    20180911T073418.000+0200    1    300    Error    ServerDocumentEntry: DoLoad (TSmarterPtrBase<CServerDocumentEntry>): QArchiveException(cause=1) (ToThrow = CServerDocumentManager::FILE_CORRUPT)
20180911T073355.000+0200    20180911T073418.000+0200    2    500    Warning    Document Load: The document Path_to_application\Application.qvw failed to load.
20180911T073355.000+0200    20180911T073418.000+0200    1    300    Error    DOC loading: Exception while loading document Path_to_application\Application.qvw.
20180911T073355.000+0200    20180911T073418.000+0200    1    300    Error    DOC loading: LoadDocument caught exception -2
20180911T073355.000+0200    20180911T073418.000+0200    1    300    Error    Core dump: Core dump result = 1
20180911T073355.000+0200    20180911T073435.000+0200    4    700    Information    CNTService: The service was stopped.


Environment:

QlikView any version

 

Resolution:


In such a case, you can first try to move this application away from the QlikView User Document folder so that the QlikView Server service won't try to load it. 

If it works you can then investigate the corrupted application using How to handle corrupt objects in QVW or corrupt QVW.

Labels (1)
Contributors
Version history
Last update:
‎2020-11-03 03:49 AM
Updated by: