Aspose.Diagram.DiagramException while newing up the diagram

Hello!


I have an visio file (.vsd) that has atlease 10 pages with various shapes in each.When i try to open the file using Diagram diagram = new Diagram(“temp.vsd”); i get an error saying "Error in element VisioDocument in \VisioDocument. Index was out of range. Must be non-negative and less than the size of the collection."
Does it mean there is some shape/element that is not readable or something?
Please help me figure this out!
I’m also attaching a screenshot of the error.
Thanks in advance.

Hi Swetha,


Thank you for contacting support. Please provide us your source Visio diagram in this forum thread. We’ll investigate and reply you accordingly. You can make a zip of the problematic diagram and attach to your reply. We’re looking forward to help you.

Added VisioDiagram.Zip which has the visio file that is causing the error. The same template file works fine if I keep just one page (any one page).

Hi Swetha,


Thank you for providing problematic Visio diagram. We have tested against the latest build of Aspose.Diagram for 5.6.0 and could not reproduce the error message said. Please download the latest version of Aspose.Diagram for .NET 5.6.0 and let us know your feedback.