System.Collections.Generic.KeyNotFoundException when converting sfdt to docx

I am getting a KeyNotFoundException when I try to convert sfdt string to docx, but not all the time.

This is the code I used:

Stream document = WordDocument.Save(sftdString, FormatType.Docx);

sfdtString is in attachment.

SfdtString comes directly from self-hosted vuejs document editor. Opening sfdt file with demo or my own document editor works perfectly (https://ej2.syncfusion.com/demos/#/material/document-editor/default.html) only the server-side conversion fails.

Attachment: error.sfdt.txt_b864bd6b.zip

3 Replies

KB Kurthis Banu Abdul Majeeth Syncfusion Team January 7, 2021 03:31 AM UTC

Hi Guillaume ANDRES 


We couldn't reproduce the reported issue so can you please share the reproducing steps or video for reproducing reported issue that will helpful for us to proceed further and provide solution at earliest. 



Regards, 
Kurthis Banu A. 





GA Guillaume ANDRES January 7, 2021 01:58 PM UTC

Hi Kurthis,

thank you for your answer. I started from a fresh project and now it's working!

Regards,
Guillaume ANDRES


SM Suriya Murugan Syncfusion Team January 8, 2021 07:06 AM UTC

Hi Guillaume, 

Thanks for your update. 

please let us know if you require any further assistance on this.  

Regards, 

Suriya M.  


Loader.
Up arrow icon