Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Reload failed

We have the strangest thing on our QlikView server. After a certain timeframe (mostly days) all of our reload and distribute tasks fail with the following message (generated by QlikView Distribution Service v10.0.9061):

 

10-10-2011 15:05:07 Error The sourcedocument failed to open.. Exception=System.Runtime.InteropServices.COMException (0x80004005): Error HRESULT E_FAIL has been returned from a call to a COM component. at QlikView.ApplicationClass.SetUserPreferences(IUserPreferences _Preferences) at QVBWrapper.Document.Load(ILogBucket i_LogBucket)

10-10-2011 15:05:07 Error The document failed to open.

10-10-2011 15:05:07 Error Document could not be opened

10-10-2011 15:05:07 Error Reload failed because the document could not be opened successfully. DocumentState=CouldNotOpenDocument

10-10-2011 15:05:07 Error Reload failed. Distribution skipped.

10-10-2011 15:05:07 Error The task "Reload & Distribute My app" failed. ErrorCount=5

It seems to start without any clear reason. To solve it we tried to restart each individual QlikView service, but this had no success. We have tried to stop all the QlikView services and then restart them one by one, but this also did not solve the issue. The tasks keep on failing in their reload. The only thing that resolves the issue is rebooting the server completely.

After the reboot everything works like normal and the tasks work again. But after some time, the error occurs again.

I have looked into the Event Viewer and the only thing that I can find is the following error message:

Request failed (Alternate get): System.Net.HttpListenerException: An operation was attempted on a nonexistent network connection
   at System.Net.HttpResponseStream.Dispose(Boolean disposing)
   at System.IO.Stream.Close()
   at System.Net.HttpResponseStream.ComputeLeftToWrite()
   at System.Net.HttpResponseStream.Write(Byte[] buffer, Int32 offset, Int32 size)
   at QMS.BackstageWebServer.RespondFileContent(String filename, HttpListenerResponse response, HttpListenerContext context, Boolean isDocumentAdmin)
   at QMS.BackstageWebServer.HandleAlternateGet(HttpListenerContext context, Boolean isDocumentAdmin)

For more information, see Help and Support Center at http://go.microsoft.com/fwlink/events.asphttp://go.microsoft.com/fwlink/events.asp.

This seems to occur right before all the reload error messages. The message is generated by the QlikView Management Service.

The files that are reloaded are stored on a local disk of the server. When trying to do the reload on the server itself, it works like a charm. But letting when the tasks execute, they fail.

Because the restarting of the QlikView services do not seem to have any effect it seems like there is a dependency to something else, but I can't figure out what that could be.

Does anybody have a clue?

13 Replies
Not applicable
Author

We have not been able to resolve the issue yet...

orital81
Partner - Creator III
Partner - Creator III

Hi, There was a discussion about that, here is the fix that should solve the problem http://community.qlik.com/thread/47735

orital81
Partner - Creator III
Partner - Creator III

Hi, There was a discussion about that, here is the fix that should solve the problem http://community.qlik.com/thread/47735

JoaquinLazaro
Partner - Specialist II
Partner - Specialist II

Good Morning:

It is a bug (ID 50354) and it was corrected on SR2.

Please upgrade to QV 11 SR2 and everything work fine, including antivirus.