We have a had specific errors on two specific quick fields sessions (when run through agent) for 2+ years. Until now we have only see them a couple of times a year. In the last week, we have seen it more than a dozen times. This began in LF 9 and now we are on Quick Fields 10.3.0.81 and 10.0 for QF Agent.
I am unable to determine what is causing these errors. First error is when the session runs for an hour and terminates itself. The Results section of the session shows it only ran for less than a minute. But the log shows that it ran for an hour, became inactive, and terminated. In the screen shot it show that there were not even any documents waiting to be processed.
The second issue tends to create bigger problems. The session analysis shows that is is unable to cast COM object and RPC server is unavailable. I have included the full errors log below. The issue that this one sometimes creates is that it does not pull all the documents (or even all the pages from a single document) and so the document is not recycled and it keeps pulling the same document over and over. We are using the Laserfiche Capture Engine to pull document previously scanning into the repository via Laserfiche Scanning.
<Errors>
<Error Time="08/26/2019 13:55:10" Type="InvalidCastException" Message="Unable to cast COM object of type 'System.__ComObject' to interface type 'BPINTERFACES81Lib.IBPEngineEx'. This operation failed because the QueryInterface call on the COM component for the interface with IID '{5168B92F-51B0-46CF-9094-30BFCA8F77ED}' failed due to the following error: The RPC server is unavailable. (Exception from HRESULT: 0x800706BA).">
<HelpLink />
<Trace> at System.StubHelpers.StubHelpers.GetCOMIPFromRCW(Object objSrc, IntPtr pCPCMD, IntPtr& ppTarget, Boolean& pfNeedsRelease)
at BPINTERFACES81Lib.IBPEngineEx.set_Properties(String Name, Object pVal)
at Laserfiche.BatchProcessor.ComponentModel.EngineProxy.set_Item(String propertyName, Object value)
at Laserfiche.QuickFields.Processes.Proxies.CaptureEngineProxy.ResetQueue()
at Laserfiche.QuickFields.Runtime.QFSessionProcessor.ProcessingThread_QueueEmpty(Object sender, EventArgs e)
at Laserfiche.BatchProcessor.Runtime.ProcessingThread.ProcessItemsThread(Object state)</Trace>
</Error>
<Error Time="08/26/2019 13:55:10" Type="COMException" Message="The RPC server is unavailable. (Exception from HRESULT: 0x800706BA)">
<HelpLink />
<ErrorCode>-2147023174</ErrorCode>
<Trace> at System.Runtime.InteropServices.ComTypes.IConnectionPoint.Unadvise(Int32 dwCookie)
at Laserfiche.BatchProcessor.ComponentModel.EngineAdapter.DisconnectEngine()</Trace>
</Error>
</Errors>
Nothing shows up in the event logs when these errors happen. Any help in where to look to resolve it would be much appreciated.
Thanks.
Jennifer