ABBYY processing error: "Cannot find parent for edit session xxx in method"

Created by Support Team, Modified on Thu, 16 Mar, 2023 at 3:54 PM by Jeremy Burgess

Symptoms

Processing server/logs report an error similar to the following.


Processing tasks fail and may loop continuously. This will prevent a group of documents progressing through the workflow.

Cause

Loss of a session can leave 'orphan' tasks. This may be due to processing station crash amongst other factors.

Resolution

  1. Log into Admin & Monitoring console.
  2. View 'sessions' and identify any related to the batch in question. Remove these sessions.
  3. Open SQL management studio
    1. Inspect dbo.Task for any entries corresponding to session ID xxx (235713 in our example screenshot).
      SELECT * FROM dbo.Task WHERE EditSessionId = xxx;
      Delete any affected rows.
      DELETE FROM dbo.Task WHERE EditSessionId = xxxx;
    2. Inspect dbo.SessionTask for any entries corresponding to session ID xxx (235713 in our example screenshot).
      SELECT * FROM dbo.SessionTask WHERE SessionId = xxx;
      Delete any affected rows.
      DELETE FROM dbo.SessionTask WHERE SessionId = xxxx;
    3. Look for any remaining tasks related to the affected batch. First, find the batch ID
      SELECT Id, [Name], CreationDate FROM dbo.Batch WHERE [Name] LIKE '%the batch name (or part of it)%';
      then remove any related tasks
      DELETE FROM dbo.Task WHERE BatchId = <result from above>;

If this procedure does not resolve the issue then raise a support ticket.

Was this article helpful?

That’s Great!

Thank you for your feedback

Sorry! We couldn't be helpful

Thank you for your feedback

Let us know how can we improve this article!

Select at least one of the reasons
CAPTCHA verification is required.

Feedback sent

We appreciate your effort and will try to fix the article