Convert Word DOCX with Sunburst Chart to PDF using C# .NET | Avoid Unexpected Chart Type Exception

Hi, I am now running into a different issue saving some DOCX documents into PDF - the exception “System.ArgumentException: Unexpected chart type.”

See this small DOCX file to reproduce the error:
https://www.dropbox.com/s/allpaw4z4uhfzs5/b8.docx?dl=0

Is there a different way to open this file to support saving as PDF?

thx!

@jay_bp,

For the sake of correction, we have logged this problem in our issue tracking system with ID WORDSNET-21299. We will further look into the details of this problem and will keep you updated on the status of correction. We apologize for your inconvenience.

The issues you have found earlier (filed as WORDSNET-21299) have been fixed in this Aspose.Words for .NET 21.1 update and this Aspose.Words for Java 21.1 update.

Hi, this release did fix the original problem, but I think it introduced a different one. The attached one line document now throws an exception. There is a malformed URL in the word doc (mailto:Patrick.Lefebvre@analysisgroup.com)b) , but instead of ignoring the error, the conversion throws an exception and the document is not converted. Can the conversion process ignore malformed URLs in the document? Even better would be to convert the document, but return an error code rather than failing the entire conversion process.
Thanks!
Dropbox - File Deleted - Simplify your life

@jay_bp,

After an initial test with the licensed latest (21.1) version of Aspose.Words for .NET, we were unable to reproduce any exception on our end. We used the following simple C# code to convert your DOCX to PDF format on our end:

Please make sure that you have successfully upgraded to the latest version of Aspose.Words for .NET. And also, please make sure that you had provided the correct m12.docx document you are actually getting this problem with.