Skip to main content
Announcements
Have questions about Qlik Connect? Join us live on April 10th, at 11 AM ET: SIGN UP NOW
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Error: The sourcedocument failed to reload.. Exception=System.Runtime.InteropServices.COMException (0x80004005): Error HRESULT E_FAIL has been returned from a call to a COM component.

Hello guys,

I get the following error in QlikView 9.0:

Error: The sourcedocument failed to reload.. Exception=System.Runtime.InteropServices.COMException (0x80004005): Error HRESULT E_FAIL has been returned from a call to a COM component.

Error: at QlikView.Doc.DoReload(Int32 _Mode, Boolean _Partial, Boolean _Debug)

Error: at QVBWrapper.Document.Reload(ILogBucket i_LogBucket, Boolean i_MonitorQVBCPUUsage, Boolean i_Partial, Boolean i_ReadDocumentLog)

My document reloads fine manually and I have the log from the Server/Publisher reload and it says that it has finished, so the error must be coming right after that, when it tries to save the QVW file, because my QVW file stays as it was before the reload.

Does anyone have any idea what might be the reason?



Greetings,
Iassen

42 Replies
Not applicable
Author

Thank you for your help joaquinlr. It does look like we have been provided with QV 11.2 instead of SR2. I have contacted our Qlikview partner asking for the SR2 version.

I'm glad we took that snapshot backup now!

Emmanuelle__Bustos
Partner - Specialist
Partner - Specialist

Hey Guys

we have the same issue using QV 11 SR2 11.0.11440 due to an intermittent issues that caused the Distribution Service to fail. Now every workbook reload is giving this error:

Error: The sourcedocument failed to reload.. Exception=System.Runtime.InteropServices.COMException (0x80004005): Error HRESULT E_FAIL has been returned from a call to a COM component.

(2013-02-28 08:22:25) Error:    at QlikView.Doc.DoReload(Int32 _Mode, Boolean _Partial, Boolean _Debug)

(2013-02-28 08:22:25) Error:    at QVBWrapper.Document.Reload(ILogBucket i_LogBucket, Boolean i_MonitorQVBCPUUsage, Boolean i_Partial, Boolean i_ReadDocumentLog)

(2013-02-28 08:22:30) Information: Closing the document.

(2013-02-28 08:22:33) Error: Could not close the SourceDocument. Exception=System.Runtime.InteropServices.COMException (0x80004005): Error HRESULT E_FAIL has been returned from a call to a COM component.

(2013-02-28 08:22:33) Error:    at QlikView.Doc.CloseDoc()

(2013-02-28 08:22:33) Error:    at QVBWrapper.Document.NiceCloseThread(ILogBucket i_LogBucket)

(2013-02-28 08:22:33) Information: Closed the QlikView Engine successfully. ProcessID=1040

(2013-02-28 08:22:39) Error: The task "analisis.qvw" failed. Exception:

We are running on Win 2008 R2.

Somebody has already a solution for this.

Not applicable
Author

Hi, any luck with this one?  I'm having the same issue.  Very random, but appears to be happening with increasing frequency.  Odd that this issue seems to have dragged on for years with some people thinking the issue has been solved with a version upgrad and others finding an upgrade causes the problem to increase.  I wouldn't want to risk upgrading at the moment and find that every reload fails.

Thanks

Not applicable
Author

Hi, any luck with this one?  I'm having the same issue.  Very random, but appears to be happening with increasing frequency.  Odd that this issue seems to have dragged on for years with some people thinking the issue has been solved with a version upgrad and others finding an upgrade causes the problem to increase.  I wouldn't want to risk upgrading at the moment and find that every reload fails.

Thanks

Bill_Britt
Former Employee
Former Employee

There are a couple of things that can cause this issue. One is setting your reload engines to more that 9. Microsoft only supports 10 out of the box. To do more you need to increase the Heap settings. 

Read more on http://blogs.msdn.com/ntdebugging/archive/2007/07/05/desktop-heap-part-2.aspx

Read more about Desktop Heap on:

http://blogs.msdn.com/ntdebugging/archive/2007/01/04/desktop-heap-overview.aspx

Bill - Principal Technical Support Engineer at Qlik
To help users find verified answers, please don't forget to use the "Accept as Solution" button on any posts that helped you resolve your problem or question.
Not applicable
Author

Is that a refrence to the settings referred to by rothtd?

http://community.qlik.com/message/264420#264420

There are two engines.  Do they need to add up to 10 or less or is it that they each can be 10 with the default windows heap settings you referenced?

Thanks,

Arturo

Bill_Britt
Former Employee
Former Employee

HI,

You set this to the number of processor you have. If you go over 10 you have to change the Heap settings

Bill

Bill - Principal Technical Support Engineer at Qlik
To help users find verified answers, please don't forget to use the "Accept as Solution" button on any posts that helped you resolve your problem or question.
Qvmaster2019
Creator
Creator

This happened to us too. When I removed the document from accesspoint and reloaded that job, it worked out just fine.

Not applicable
Author

I have the same problem.

Somebody resolved this problem?

Anybody can help me?

Regard´s.

orital81
Partner - Creator III
Partner - Creator III

Hi Paulo

Which Antivirus do you have?

If it's Trendmicro then see this post:

Random Comexceptions (0x80004005) after upgrade to QVS 11