Hi there,
I'm having some trouble opening a specific .DOCX word document. When called WordDocument.Open we receive the following error (stack trace included),
System.ArgumentException: An item with the same key has already been added.
at System.Collections.Generic.Dictionary`2.Insert(TKey key, TValue value, Boolean add)
at Syncfusion.DocIO.DLS.Convertors.Word2010Parser.ParseBookmarkStart(XmlReader reader, IWParagraph paragraph)
at Syncfusion.DocIO.DLS.Convertors.Word2010Parser.ParseParagraph(XmlReader reader, IWParagraph paragraph)
at Syncfusion.DocIO.DLS.Convertors.Word2010Parser.ParseBody(XmlReader reader, IEntity entity)
at Syncfusion.DocIO.DLS.Convertors.Word2010Parser.ParseDocument(Stream stream)
at Syncfusion.DocIO.DLS.Convertors.Word2010Parser.ParseDocument(Package package)
at Syncfusion.DocIO.DLS.Convertors.Word2010Parser.ReadDocument(ZipArchive zipArchive, Package package, WordDocument document)
at Syncfusion.DocIO.DLS.DocxReader.Read(WordDocument doc)
at Syncfusion.DocIO.DLS.DocxReader.Read(String documentPath, WordDocument doc)
at Syncfusion.DocIO.DLS.WordDocument.Open(String fileName, FormatType formatType, String password)
I'm calling the basic open method (single string param for the file location). Any light you could shed on this would be greatly received,
Kind Regards
Andy