1 Reply Latest reply: Jun 11, 2014 5:15 AM by Tresesco B RSS

    Inputfield reload error

    Gabriele Boccassini

      Hi all,

      I've a qlikview document that use inputfield.

       

      inputfield data_in;

      tab1:

      Load

      a,

      b,

      c,

      data,

      data_in;

      from .....(qvd);

       

      Note that "data_in" is a copy of the field "data" (copied in a previous qvw layer)

       

      Sometimes the reload fails...but there is no reasons...
      The document log have no errors, but the task log:

       

      6/4/2014 17:44:46.0048590    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.

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

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

      6/4/2014 17:44:46.1140555    Information    Closing the document.

      6/4/2014 17:44:46.7692345    Information    Closed the QlikView Engine successfully. ProcessID=7180

      6/4/2014 17:44:46.7692345    Error    The task "Reload and Distribute of qvw\Test_file.qvw" failed. Exception:

      QDSMain.Exceptions.DistributionFailedException: Distribute failed with errors to follow. ---> QDSMain.Exceptions.ReloadFailedException: Reload failed ---> QDSMain.Exceptions.LogBucketErrorException: 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.

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

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

         at QDSMain.ReloadTask.VerifyConditions(TaskResult taskResult)

         at QDSMain.ReloadTask.Reload(String fileName, TaskResult taskResult, String sectionAccessUserName, String sectionAccessPassword, eReloadOptions reloadOption, String variableName, String variableValue, Boolean moniterCpuUsage)

         --- End of inner exception stack trace ---

         at QDSMain.ReloadTask.Reload(String fileName, TaskResult taskResult, String sectionAccessUserName, String sectionAccessPassword, eReloadOptions reloadOption, String variableName, String variableValue, Boolean moniterCpuUsage)

         at QDSMain.DistributeTask.Execute(TaskResult currentTaskResult)

         --- End of inner exception stack trace ---

         at QDSMain.DistributeTask.Execute(TaskResult currentTaskResult)

         at QDSMain.Task.AbstractTask.TaskExecution(ILogBucket logBucket, TaskResult taskResult)

      6/4/2014 17:44:46.7692345    Information    Task Execute Duration=00:00:08.0181430

      6/4/2014 17:44:46.7692345    Information    Sending Alert mail

      6/4/2014 17:44:46.7848340    Information    TaskResult.status=Finished

      6/4/2014 17:44:46.7848340    Information    Notifying all triggers of new state:FinishedWithErrors

      6/4/2014 17:44:46.7848340    Information    Notifying all triggers of new state:FinishedWithErrors - completed

      6/4/2014 17:44:46.7848340    Information    Saving Task Result

       

       

      I've found a workaround:

      1) Comment input field instructions

      2) Reload

      3) Uncomment input field instructions

      4) Reload

       

      There is a solution or a reason for this error?