Free Support Forum - aspose.com

Cast error when saving an aspose file

Hello,

We have a problem saving a Visio file.
The error message is:

System.InvalidCastException: ‘Unable to cast an object of type’ Aspose.Diagram.RelMoveTo ‘to type’ Aspose.Diagram.MoveTo ‘.’

I have attached the file concerned to this request.

Thank you.BUG00017.zip (410.9 KB)

@julien.mevel.isilog

In which file format you are saving the Diagram? Would you please share the information so that we can test and address the issue accordingly.

I want to save the file in HTML format

@julien.mevel.isilog

We were able to reproduce the issue in our environment while using Aspose.Diagram for .NET 20.6 and logged it as DIAGRAMNET-51868* in our issue tracking system. We will further look into its details and keep you posted with the status of its rectification. Please be patient and spare us some time.

We are sorry for the incovnenience.