How to Address Errors with Replication Due to Deleted Documents
Who is this article for?
All Ideagen Quality Management On-Premise Admins with Replication permissions.Ideagen Quality Management site accessis needed.
Customers may encounter issues where replication is not completing.
To make troubleshooting this issue easier to learn, this article is split into three sections so that you can either walk through the steps in sequence or you can jump to the section relevant to what you are finding:
1. Issue Experienced
This section will explain what occurs when the customer is experiencing the issue.
The customer will have noticed they are not seeing the replication files expected at the output location. This is occurring because a document has been deleted but is still being referenced in teh replication files.
11/28/2018 4:31:52 PM
Exception message: Exception occurred executing task Replication ID: 70 (70).
Exception message: Exception has been thrown by the target of an invocation.
Exception stack trace:
at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
at Ideagen Quality Management.Core.SystemObjects.SystemAction.Execute(String arguments)
at Ideagen Quality Management.Core.SystemObjects.ScheduledTask.ExecuteAction()
at Ideagen Quality Management.Core.SystemObjects.ScheduledTask.ExecuteTask()
Exception message: Document 82445 does not exist.
Exception stack trace:
at Ideagen Quality Management.Core.Documents.Document.Init(Int32 lDocID)
at Ideagen Quality Management.Core.Documents.Document..ctor(Int32 lDocID)
at Ideagen Quality Management.Tools.Replications.HTMLImageScan.ScanForImages(String FilePath, String RemoteDirectory)
at Ideagen Quality Management.Tools.Replications.Replicator.AddDocNode(Document doc, Int32 parentid, Int32 displayorder, String header, String footer)
at Ideagen Quality Management.Tools.Replications.Replication.RecurseNodes(Int32 parentNodeId, Replication replication)
at Ideagen Quality Management.Tools.Replications.Replication.RecurseNodes(Int32 parentNodeId, Replication replication)
at Ideagen Quality Management.Tools.Replications.Replication.RecurseNodes(Int32 parentNodeId, Replication replication)
at Ideagen Quality Management.Tools.Replications.Replication.RecurseNodes(Int32 parentNodeId, Replication replication)
at Ideagen Quality Management.Tools.Replications.Replication.RecurseNodes(Int32 parentNodeId, Replication replication)
at Ideagen Quality Management.Tools.Replications.Replication.Run(String replicationIdString)
11/28/2018 4:33:10 PM
Exception message: Replication Error: Unable to add header, footer, or convert links for DocID: 28667
2. Resolution
This section will provide the resolution for the error where replication is unable to complete due to a deleted document.
- Open Notepad++ (or a similar text editor) and search through the documents in the replication directory to find the broken link to the document.
- Remove this reference and rerun the replication via Scheduled Tasks.
3. Further Reading
This section will provide important links to further troubleshooting and resources.
- Aha! Defect - 1806