Free Support Forum - aspose.com

Item has already been added. Key in dictionary: 'f2db563d-6a59-4cec-e6ce-233d2f9c7d3e' Key being added: 'f2db563d-6a59-4cec-e6ce-233d2f9c7d3e'

The attached document is generating the error below (MailMerge.zip contains the MailMerge class referenced in the errror):

Item has already been added. Key in dictionary: 'f2db563d-6a59-4cec-e6ce-233d2f9c7d3e' Key being added: 'f2db563d-6a59-4cec-e6ce-233d2f9c7d3e'

at System.Collections.Hashtable.Insert(Object key, Object nvalue, Boolean add)

at System.Collections.Hashtable.Add(Object key, Object value)

at ?.?.?(Byte[] ?, ? ?) at ?.?.?(Int32 ?, Object ?)

at ?.?.?(ShapeBase ?, ? ?, ? ?, Boolean ?)

at ?.?.?(ShapeBase ?, ? ?)

at ?.?.?(ShapeBase ?, BinaryWriter ?)

at ?.?.?(ShapeBase ?, BinaryWriter ?)

at ?.?.?(ShapeBase ?)

at ?.?.?(Shape ?)

at ?.?.?(ShapeBase ?)

at ?.?.?(ShapeBase ?)

at ?.?.?(Shape ?)

at ?.?.VisitShapeStart(Shape shape)

at Aspose.Words.Drawing.Shape.Accept(DocumentVisitor visitor)

at Aspose.Words.CompositeNode.?(DocumentVisitor ?)

at Aspose.Words.Paragraph.Accept(DocumentVisitor visitor)

at Aspose.Words.CompositeNode.?(DocumentVisitor ?)

at Aspose.Words.Tables.Cell.Accept(DocumentVisitor visitor)

at Aspose.Words.CompositeNode.?(DocumentVisitor ?)

at Aspose.Words.Tables.Row.Accept(DocumentVisitor visitor)

at Aspose.Words.CompositeNode.?(DocumentVisitor ?)

at Aspose.Words.Tables.Table.Accept(DocumentVisitor visitor)

at Aspose.Words.CompositeNode.?(DocumentVisitor ?)

at Aspose.Words.Body.Accept(DocumentVisitor visitor)

at ?.?.?(Section ?)

at ?.?.?()

at ?.?.?(? ?)

at Aspose.Words.Document.?(Stream ?, String ?, SaveFormat ?)

at Aspose.Words.Document.Save(String fileName, SaveFormat fileFormat)

at Aspose.Words.Document.Save(String fileName)

at KCMS.DAL.MailMerge.MakeASingleFile(Object FileNumberOrReferralId, DataSet& dsMerge, String rootUncKey, FileInfo templateFileInfo, String dateTimeSuffix, String separateDocID, String documentCategory)

at KCMS.DAL.MailMerge.CreateCaseDocsFromEvent(String TemplateFile, String FileNumber, Decimal EventSeqNo, DateTime EventDate, String DocketCode, DateTime DocketDate, Boolean IncludeCodefendants, String documentCategory, String witnesses, Int64 ProgramSequenceNumber)

at Core_EventEntry.AddCaseEvent()

at Core_EventEntry.btnAddEvent_Click(Object sender, EventArgs e)

The document has many check box objects. I think it was converted from a form of some sort. Any help you can give is greatly appreciated.

Hello

<?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" />

Thank you for reporting this problem to us. I managed to reproduce the problem on my side. Your request has been linked to the appropriate issue. You will be notified as soon as it is fixed.

It seems the reason of the problem is EMBED image field. As a workaround you can try refactoring your document to avoid using EMBED image field. Please see the attached screenshot.

Best regards,

The issues you have found earlier (filed as WORDSNET-3765) have been fixed in this .NET update and in this Java update.


This message was posted using Notification2Forum from Downloads module by aspose.notifier.