Thanks for your response Shengyao Que. In looking at the post, it seems like we have the same/similar error going on here. I seem to get the error anytime the pages get over a couple hundred. If the page count gets to 700/800, then I get a similar error but not all of the pages are processed. It will process everything up to that 700/800 point correctly, but nothing after that. The file stays in the same place and the next time it runs, it will duplicate the first 700/800 pages and again act almost like a timeout for anything after that.
The interesting thing is if I run the Quick Fields session manually inside the software, by just hitting the "Start Scanning" button. It runs without issue even when the page totals are over a 1000. This error only seems to happen when QF Agent starts a session via a set schedule. I'll paste in the error log and also just a screenshot of the Events tab. If you need anything else let me know.
Error Details:
<Errors>
<Error Time="04/01/2023 02:34:17" 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="04/01/2023 02:34:28" 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>
Thanks so much for looking into this.
Scott